Template:Localized mw message/doc: Difference between revisions
Template page
More actions
m prefs |
Set the `useTemplateData` parameter of {{TemplateBox}} to `TNT` (use c:Data:Templatedata/int.tab) |
||
| Line 1: | Line 1: | ||
{{TemplateBox | {{TemplateBox/sandbox | ||
|name=localized mw message | |||
|name= | |||
|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=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 | ||
|i18n-method=- | |i18n-method=- | ||
|i18n-desc= | |i18n-desc= | ||
| print = line | |||
| useTemplateData=TNT:int | |||
| | |||
| | |||
}}<includeonly> | }}<includeonly> | ||
[[Category:Navigational templates for the translate extension|* {{PAGENAME}}]]</includeonly> | [[Category:Navigational templates for the translate extension|* {{PAGENAME}}]]</includeonly> | ||