Template:IntL/doc
This is a documentation subpage for Template:IntL. 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, and failsback to the interface language when none is set. Not to be confused with the {{int:}} magic word, which uses the user interface language instead, or {{int}} which failsback to English. The {{int:}} magic word works at all wikis. This template works only at a few. If you plan to write your message here but copy it to a lot of other wikis, you should avoid using this template.
Examples
edit{{intL|vector-view-history}}
View history
{{intL|Notification-link-text-expand-notice-count|1}}
View 1 notice
{{intL|Notification-link-text-expand-notice-count|2}}
View 2 notices
{{intL|Notification-link-text-expand-notice-count|5}}
View 5 notices
{{intL|vector-view-history|lang=de}}
Versionsgeschichte
Templatedata
editThis 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
| String | required |
Value | 2 | Value of an included parameter (counter, message...)
| Unknown | 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 |
See also
edit- Meta:Common messages/Built-in messages - List of commonly used messages available via this template.
- Meta:Common messages
- Template:Int
- Template:Country
- Template:DateT
- Template:Int string
- Template:Lg