Template:Int/doc: Difference between revisions
[[mw:]]>Shirayuki m (Protected "Template:Int/doc": Excessive vandalism ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
ManfredoDo (talk | contribs) m (1 revision imported: Template documentation pages) |
(No difference)
|
Latest revision as of 18:05, 12 November 2022
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}}
→ ⧼notification-link-text-expand-notice-count⧽ - {{int|notification-link-text-expand-notice-count|2}}
→ ⧼notification-link-text-expand-notice-count⧽ - {{int|notification-link-text-expand-notice-count|5}}
→ ⧼notification-link-text-expand-notice-count⧽
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 |