Template:Int/doc
Appearance
This is a documentation subpage for Template:Int. It contains usage information, categories and other content that is not part of the original Template page. |
Uses Lua: |
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
i18n string | 1 | The i18n string, found using qqx.
| Line | required |
Parameters | 2 | Value of an included parameter (counter, message...)
| String | optional |
Language | lang | Language to use in the message. Should be used only in exceptional cases, as the template automatically guesses the language to use when used on translated pages.
| Line | optional |