Template:Int/doc: Difference between revisions
Template page
More actions
→Template parameters: Rename the parameters: `2` → `missing` (with alias) – conflicts with {{localized mw message}} (Q86596927) |
Merge from Template:Localized mw message/doc |
||
| Line 1: | Line 1: | ||
{{TemplateBox | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
| name = Int | {{TemplateBox/sandbox | ||
| name = int | |||
| mbox = | |||
{{tsh|localized mw message}} | |||
{{Lua|Module:Int}} | |||
| desc-en = This is a wrapper for searching MediaWiki translations in MediaWiki:*/lang, to be used instead of <nowiki>{{int:Name/lang}}</nowiki>, allowing to look for a language; 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 | | desc-en = This is a wrapper for searching MediaWiki translations in MediaWiki:*/lang, to be used instead of <nowiki>{{int:Name/lang}}</nowiki>, allowing to look for a language; 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 | ||
| namespace = all | |||
| usergroup = all | |||
| relieson = | | relieson = | ||
* [[Module:Int]] | |||
* <tt><nowiki>[[int:*/lang]]</nowiki></tt> builtin parser function | * <tt><nowiki>[[int:*/lang]]</nowiki></tt> 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) | ||
| | | i18n-method = - | ||
| i18n-desc = | |||
| print = line | | print = line | ||
| useTemplateData = | | useTemplateData = TNT | ||
| 1 = lang | |||
| 2 = 1 | |||
}} | }} | ||
<includeonly>{{Sandbox other|| | |||
<!-- Categories below this line; interwikis at Wikidata --> | |||
[[Category:Navigational templates for the translate extension|* {{PAGENAME}}]] | |||
}}</includeonly> | |||