Difference between revisions of "Template:Main"

From Team Fortress Wiki
Jump to: navigation, search
m (Reverted edits by Fat Kids Derps Again (Talk) to last revision by Seb26)
 
(25 intermediate revisions by 21 users not shown)
Line 1: Line 1:
 
{{hatnote|1={{lang
 
{{hatnote|1={{lang
   | cs = Původní článek{{#if:{{{2|}}}|s}}
+
  | ar = :المقالة الأساسية
   | de = Hauptartikel
+
   | cs = {{#if:{{{2|}}}|Původní články|Původní článek}}:
   | en = Main article{{#if:{{{2|}}}|s}}
+
  | da = {{#if:{{{2|}}}|Hovedartikler|Hovedartikel}}:
   | es = Artículo principal{{#if:{{{2|}}}|es}}
+
   | de = Hauptartikel:
   | fi = Pääartikkeli{{#if:{{{2|}}}|t}}
+
   | en = Main article{{#if:{{{2|}}}|s}}:
   | fr = {{#if:{{{2|}}}|Articles principaux|Article principal}}
+
   | es = {{#if:{{{2|}}}|Artículos principales|Artículo principal}}:
   | ja = もっと詳しく
+
   | fi = Pääartikkeli{{#if:{{{2|}}}|t}}:
   | hu = Részletek a következő szócikk{{#if:{{{2|}}}|ek}}ben
+
   | fr = {{#if:{{{2|}}}|Articles principaux|Article principal}} :
   | it = {{#if:{{{2|}}}|Articoli principali|Articolo principale}}
+
   | ja = もっと詳しく:
   | ko = 본문
+
   | hu = Részletek a következő szócikk{{#if:{{{2|}}}|ek}}ben:
   | nl = Hoofdartikel
+
   | it = {{#if:{{{2|}}}|Articoli principali|Articolo principale}}:
   | no = Hovedartikkel
+
   | ko = 본문:
   | pl = {{#if:{{{2|}}}|Osobne artykuły|Osobny artykuł}}
+
   | nl = Hoofdartikel:
   | pt = Artigo principal{{#if:{{{2|}}}|s}}
+
   | no ={{#if:{{{2|}}}|Hovedartikler|Hovedartikkel}}:
   | pt-br = Artigo principal{{#if:{{{2|}}}|s}}
+
   | pl = {{#if:{{{2|}}}|Osobne artykuły|Osobny artykuł}}:
   | ro = {{#if:{{{2|}}}|Articol principal|Articole principale}}
+
   | pt = {{#if:{{{2|}}}|Artigos principais|Artigo principal}}:
   | ru = {{#if:{{{2|}}}Основные статьи|Основная статья}}
+
   | pt-br = {{#if:{{{2|}}}|Artigos principais|Artigo principal}}:
   | sv = Huvudartik{{#if:{{{2|}}}|lar|el}}
+
   | ro = {{#if:{{{2|}}}|Articole principale|Articol principal}}:
   | zh-hans = 主条目
+
   | ru = {{#if:{{{2|}}}Основные статьи|Основная статья}}:
   | zh-hant = 主條目
+
   | sv = Huvudartik{{#if:{{{2|}}}|lar|el}}:
   }}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
+
  | tr = Ana madde{{#if:{{{2|}}}|ler}}:
 +
   | zh-hans = 主条目:
 +
   | zh-hant = 主條目:
 +
   }} [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
 
  |{{#if:{{{3|}}}|, |, }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
 
  |{{#if:{{{3|}}}|, |, }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
 
  |{{#if:{{{4|}}}|, |, }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
 
  |{{#if:{{{4|}}}|, |, }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
  |{{#if:{{{5|}}}|, |, }}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}}
+
  |{{#if:{{{5|}}}|, |, }}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}}
 
  |{{#if:{{{6|}}}|, |, }}[[{{{5}}}|{{{l5|{{{5}}}}}}]]}}{{#if:{{{6|}}}
 
  |{{#if:{{{6|}}}|, |, }}[[{{{5}}}|{{{l5|{{{5}}}}}}]]}}{{#if:{{{6|}}}
 
  |{{#if:{{{7|}}}|, |, }}[[{{{6}}}|{{{l6|{{{6}}}}}}]]}}{{#if:{{{7|}}}
 
  |{{#if:{{{7|}}}|, |, }}[[{{{6}}}|{{{l6|{{{6}}}}}}]]}}{{#if:{{{7|}}}
Line 29: 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}}}|{{{l10|{{{10}}}}}}]]}}{{#if:{{{11|}}}
}}<noinclude>
+
|,&#32;[[{{{11}}}|{{{l11|{{{11}}}}}}]]}}''{{#if:{{{12| }}}|&#32;<span class="error">ERROR {{tl|main}}: too many articles linked.[[Category:ERROR Template:Main]]</span>}}
{{translation switching|cs, de, es, fi, fr, hu, it, ko, nl, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant}}
+
|style={{{style|}}}}}<noinclude>
 
+
{{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}}
 +
For usage under headers to link to the main article of a subject. Supports 11 articles.
 
== Usage ==
 
== Usage ==
 
* {{tlx|main|Soldier}} generates:
 
* {{tlx|main|Soldier}} generates:
 
{{main|Soldier}}
 
{{main|Soldier}}
 
* 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>.
* For full documentation see [[wikipedia:Template:Main/doc]].
+
** To use this for translations: <code><nowiki>{{main|Article/</nowiki>''lang''<nowiki>|l1=</nowiki>''Translated title''<nowiki>}}</nowiki></code>.
  
 
{{Hatnote templates list}}
 
{{Hatnote templates list}}

Latest revision as of 12:24, 15 July 2024

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

Documentation for Main

For usage under headers to link to the main article of a subject. Supports 11 articles.

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