Difference between revisions of "Template:Interface message"

m (1 revision imported)
m (Text replacement - "</>" to "")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<languages/>
 
<languages/>
</noinclude>{{#switch:<translate></translate>
+
</noinclude>{{#switch:
 
| =
 
| =
 
{{mbox
 
{{mbox
 
  | type =  
 
  | type =  
  | image = [[File:OOjs UI icon pageSettings.svg|40px|<translate><!--T:6--> System message</translate>|link=]]
+
  | image = [[File:OOjs UI icon pageSettings.svg|40px| System message|link=]]
  | text = <translate><!--T:2--> This page documents a [[<tvar|system>Special:MyLanguage/Help:System message</>|system message]], a wiki page that defines part of the [[<tvar|interface>Special:MyLanguage/Manual:Interface</>|MediaWiki interface]].</translate>
+
  | text = This page documents a [[<tvar|system>Special:MyLanguage/Help:System message|system message]], a wiki page that defines part of the [[<tvar|interface>Special:MyLanguage/Manual:Interface|MediaWiki interface]].
<includeonly><translate>
+
<includeonly>
<!--T:3-->
+
 
See also the [[<tvar|qqq>translatewiki:MediaWiki:{{IfNotTranslation|{{SUBPAGENAME}}|{{#titleparts:{{FULLPAGENAME}}|1|-2}}}}/qqq</>|default documentation]].</translate></includeonly>}}<includeonly>{{#ifeq:{{{templatemode}}}|nocats||[[Category:{{{1|Interface messages}}}{{#translation:}}|{{IfNotTranslation|{{SUBPAGENAME}}|{{#titleparts:{{FULLPAGENAME}}|1|-2}}}}]]}}</includeonly>
+
See also the [[<tvar|qqq>translatewiki:MediaWiki:{{IfNotTranslation|{{SUBPAGENAME}}|{{#titleparts:{{FULLPAGENAME}}|1|-2}}}}/qqq|default documentation]].</includeonly>}}<includeonly>{{#ifeq:{{{templatemode}}}|nocats||[[Category:{{{1|Interface messages}}}{{#translation:}}|{{IfNotTranslation|{{SUBPAGENAME}}|{{#titleparts:{{FULLPAGENAME}}|1|-2}}}}]]}}</includeonly>
 
| #default=
 
| #default=
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Interface message|noshift=1}}
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Interface message|noshift=1}}
Line 15: Line 15:
 
{{Documentation|content=
 
{{Documentation|content=
  
*<code><nowiki>|</nowiki>templatemode=yes</code> - <translate><!--T:4--> doesn't categorize</translate>
+
*<code><nowiki>|</nowiki>templatemode=yes</code> - doesn't categorize
*<code><nowiki>|</nowiki>1=X</code> - <translate><!--T:5--> categorizes in Category:X instead of <tvar|cat>{{ll|Category:Interface messages}}</></translate>
+
*<code><nowiki>|</nowiki>1=X</code> - categorizes in Category:X instead of <tvar|cat>{{ll|Category:Interface messages}}
  
 
}}
 
}}
 
[[Category:Info templates{{#translation:}}|{{PAGENAME}}]]
 
[[Category:Info templates{{#translation:}}|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:06, 21 December 2019


Template documentation
  • |templatemode=yes - doesn't categorize
  • |1=X - categorizes in Category:X instead of <tvar