Template:Int/doc: Difference between revisions
Template page
More actions
Merge from Template:Localized mw message/doc |
Merge description from Template:Localized mw message/doc |
||
| Line 6: | Line 6: | ||
{{Lua|Module:Int}} | {{Lua|Module:Int}} | ||
| desc-en = | | desc-en = | ||
Shows a MediaWiki message in the same language of the page (identified by the subpage name) within a translated page, or the language specified using the {{para|lang}} parameter; if the resource in the specified language does not exist (translation missing), it will look for a single fallback in English or with the default UI language. Otherwise it will return a default string. | |||
Not to be confused with {{magic word|code=1|nowrap=1|int|XXX}}, which always shows the message in the language chosen by the user in their [[Special:Preferences#mw-prefsection-personal|preferences]]. | |||
| namespace = all | | namespace = all | ||
| Line 13: | Line 16: | ||
| relieson = | | relieson = | ||
* [[Module:Int]] | * [[Module:Int]] | ||
* | * {{magic word|mono=1|nowrap=1|int|*/lang}} builtin parser function | ||
* pages in "Mediawiki:*/lang" for messages translated and imported from Translatewiki.net (some resources are located in MediaWiki itself in PHP plugins, and don't need to be imported) | * pages in "Mediawiki:*/lang" for messages translated and imported from Translatewiki.net (some resources are located in MediaWiki itself in PHP plugins, and don't need to be imported) | ||