Template:Localized mw message/doc: Difference between revisions
Template page
More actions
→top: Add {{Lua|Module:Int}}; →Usage: Include `|1=` in usage example |
→Usage: Include `|lang=` in usage example |
||
| Line 4: | Line 4: | ||
{{Lua|Module:Int}} | {{Lua|Module:Int}} | ||
|desc=Shows a MediaWiki message in the same language of the page (identified by the subpage name) within a translated page. Not to confuse with <code><nowiki>{{int:XXX}}</nowiki></code> which always shows the message in the language chosen by the user in their [[Special:Preferences#mw-prefsection-personal|preferences]]. | | desc-en = Shows a MediaWiki message in the same language of the page (identified by the subpage name) within a translated page. Not to confuse with <code><nowiki>{{int:XXX}}</nowiki></code> which always shows the message in the language chosen by the user in their [[Special:Preferences#mw-prefsection-personal|preferences]]. | ||
|namespace=all | | namespace = all | ||
|usergroup=all | | usergroup = all | ||
| relieson = | | relieson = | ||
* [[Module:Int]] | * [[Module:Int]] | ||
|i18n-method=- | | i18n-method = - | ||
|i18n-desc= | | i18n-desc= | ||
| print = line | | print = line | ||
| useTemplateData=TNT:int | | useTemplateData = TNT:int | ||
| 1 = 1 | |||
| 1 = lang | |||
| 2 = 1 | |||
}}<includeonly> | }}<includeonly> | ||
[[Category:Navigational templates for the translate extension|* {{PAGENAME}}]] | [[Category:Navigational templates for the translate extension|* {{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||