Template:Int
⧼{{{1}}}⧽
| 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
[edit]{{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
[edit]Localized Interface Message
Renders a MediaWiki interface message in the page language.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Language | lang | The language to show the message in. Note that {{TRANSLATIONLANGUAGE}} is only valid inside translate tags.
| String | suggested |
| Interface message name | 1 | The name of the MediaWiki interface message (without the “MediaWiki:” namespace prefix). | String | required |
| Missing value default | missing | The value to return when the MediaWiki interface message does not exist.
| Content | suggested |
| Replacement 1 | 2 | The replacement string for “$1”. | Content | optional |
| Replacement 2 | 3 | The replacement string for “$2”. | Content | optional |
| Replacement 3 | 4 | The replacement string for “$3”. | Content | optional |
| Replacement 4 | 5 | The replacement string for “$4”. | Content | optional |
| Replacement 5 | 6 | The replacement string for “$5”. | Content | optional |
| Replacement 6 | 7 | The replacement string for “$6”. | Content | optional |
| Replacement 7 | 8 | The replacement string for “$7”. | Content | optional |
| Replacement 8 | 9 | The replacement string for “$8”. | Content | optional |
| Replacement 9 | 10 | The replacement string for “$9”. | Content | optional |
| The above documentation is transcluded from Template:Int/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |