Difference between revisions of "Template:Main"

From Team Fortress Wiki
Jump to: navigation, search
m (punctuation)
m (mc)
(5 intermediate revisions by 5 users not shown)
Line 5: Line 5:
 
   | de = Hauptartikel:
 
   | de = Hauptartikel:
 
   | en = Main article{{#if:{{{2|}}}|s}}:
 
   | en = Main article{{#if:{{{2|}}}|s}}:
   | es = Artículo principal{{#if:{{{2|}}}|es}}:
+
   | es = {{#if:{{{2|}}}|Artículos principales|Artículo principal}}:
 
   | fi = Pääartikkeli{{#if:{{{2|}}}|t}}:
 
   | fi = Pääartikkeli{{#if:{{{2|}}}|t}}:
 
   | fr = {{#if:{{{2|}}}|Articles principaux|Article principal}} :
 
   | fr = {{#if:{{{2|}}}|Articles principaux|Article principal}} :
Line 13: Line 13:
 
   | ko = 본문:
 
   | ko = 본문:
 
   | nl = Hoofdartikel:
 
   | nl = Hoofdartikel:
   | no = Hovedartikkel{{#if:{{{2|}}}|no}}:
+
   | no ={{#if:{{{2|}}}|Hovedartikler|Hovedartikkel}}:
 
   | pl = {{#if:{{{2|}}}|Osobne artykuły|Osobny artykuł}}:
 
   | pl = {{#if:{{{2|}}}|Osobne artykuły|Osobny artykuł}}:
 
   | pt = Artigo principal{{#if:{{{2|}}}|s}}:
 
   | pt = Artigo principal{{#if:{{{2|}}}|s}}:
Line 21: Line 21:
 
   | sv = Huvudartik{{#if:{{{2|}}}|lar|el}}:
 
   | sv = Huvudartik{{#if:{{{2|}}}|lar|el}}:
 
   | tr = Ana madde{{#if:{{{2|}}}|ler}}:
 
   | tr = Ana madde{{#if:{{{2|}}}|ler}}:
   | zh-hans = 主条目:
+
   | zh-hans = 主条目:
 
   | zh-hant = 主條目:
 
   | zh-hant = 主條目:
 
   }} [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
 
   }} [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
Line 32: Line 32:
 
  |{{#if:{{{9|}}}|, |, }}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
 
  |{{#if:{{{9|}}}|, |, }}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
 
  |{{#if:{{{10|}}}|, |, }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
 
  |{{#if:{{{10|}}}|, |, }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
  |,&#32;[[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|&#32;<span class="error">ERROR {{tl|main}}: too many articles linked.[[Category:ERROR Template:Main]]</span>}}
+
  |{{#if:{{{11|}}}|,&#32;|,&#32;}}[[{{{10}}}|{{{20|{{{10}}}}}}]]}}{{#if:{{{11|}}}
 +
|,&#32;[[{{{11}}}|{{{l11|{{{11}}}}}}]]}}''{{#if:{{{12| }}}|&#32;<span class="error">ERROR {{tl|main}}: too many articles linked.[[Category:ERROR Template:Main]]</span>}}
 
}}<noinclude>
 
}}<noinclude>
{{translation switching|ar, cs, da, de, es, fi, fr, hu, it, ko, no, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
+
{{translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
 
+
{{Wikipedia doc}}
 +
{{Doc begin}}
 
== Usage ==
 
== Usage ==
 
* {{tlx|main|Soldier}} generates:
 
* {{tlx|main|Soldier}} generates:
Line 41: Line 43:
 
* For alternate title use this: <code><nowiki>{{main|Article|l1=Alternate title}}</nowiki></code>.
 
* For alternate title use this: <code><nowiki>{{main|Article|l1=Alternate title}}</nowiki></code>.
 
** To use this for translations: <code><nowiki>{{main|Article/</nowiki>''lang''<nowiki>|l1=</nowiki>''Translated title''<nowiki>}}</nowiki></code>.
 
** To use this for translations: <code><nowiki>{{main|Article/</nowiki>''lang''<nowiki>|l1=</nowiki>''Translated title''<nowiki>}}</nowiki></code>.
* For full documentation see [[wikipedia:Template:Main/doc]].
 
  
 
{{Hatnote templates list}}
 
{{Hatnote templates list}}

Revision as of 16:18, 8 November 2021

Main article: [[{{{1}}}|{{{1}}}]]

Documentation for Main

Usage

  • {{main|Soldier}} generates:
Main article: Soldier
  • For alternate title use this: {{main|Article|l1=Alternate title}}.
    • To use this for translations: {{main|Article/lang|l1=Translated title}}.

See also