Template:Int

⧼{{{1}}}⧽

Category:Semi-protected templates#Int
Template documentation
Category:Languages pages Category:Lua-based templates

This template renders a MediaWiki message in the page language. Not to be confused with the {{int:}} magic word , which uses the user interface language instead.

Examples

  • {{int|vector-view-history}}
     View history
  • {{int|vector-view-history|lang=de}}
     Versionsgeschichte
  • {{int|notification-link-text-expand-notice-count|1}}
     View 1 notice
  • {{int|notification-link-text-expand-notice-count|2}}
     View 2 notices
  • {{int|notification-link-text-expand-notice-count|5}}
     View 5 notices

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Localized Interface Message

Category:Templates using TemplateData

Renders a MediaWiki interface message in the page language.

Template parameters

ParameterDescriptionTypeStatus
Languagelang

The language to show the message in. Note that {{TRANSLATIONLANGUAGE}} is only valid inside translate tags.

Default
{{PAGELANGUAGE}}
Auto value
{{TRANSLATIONLANGUAGE}}
Stringsuggested
Interface Message Name1

The name of the MediaWiki interface message (without the “MediaWiki:” namespace prefix)

Stringrequired
Missing Value Defaultmissing

The value to return when the MediaWiki interface message does not exist.

Default
⧼{{{1}}}⧽
Contentsuggested
Replacement 12

The replacement string for “$1”.

Contentoptional
Replacement 23

The replacement string for “$2”.

Contentoptional
Replacement 34

The replacement string for “$3”.

Contentoptional
Replacement 45

The replacement string for “$4”.

Contentoptional
Replacement 56

The replacement string for “$5”.

Contentoptional
Replacement 67

The replacement string for “$6”.

Contentoptional
Replacement 78

The replacement string for “$7”.

Contentoptional
Replacement 89

The replacement string for “$8”.

Contentoptional
Replacement 910

The replacement string for “$9”.

Contentoptional
Edit parameter translations Category:Internationalization templates
Category:Internationalization templates Category:Languages pages Category:Lua-based templates Category:Pages using the JsonConfig extension Category:Semi-protected templates Category:Templates using TemplateData