Difference between revisions of "Template:Main"

From Team Fortress Wiki
Jump to: navigation, search
m
({{lang}}: add it, pl, pt)
Line 1: Line 1:
:''Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
+
:''{{lang
 +
  | en = Main article{{#if:{{{2|}}}|s}}
 +
  | it = Articoli princip{{#if:{{{2|}}}|ali|ale}}
 +
  | pl = {{#if:{{{2|}}}|Osobne artykuły|Osobny artykuł}}
 +
  | pt = Artigo principal{{#if:{{{2|}}}|s}}
 +
  }}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
 
  |{{#if:{{{3|}}}|, | and }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
 
  |{{#if:{{{3|}}}|, | and }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
 
  |{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
 
  |{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
Line 8: Line 13:
 
  |{{#if:{{{9|}}}|, |, and }}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
 
  |{{#if:{{{9|}}}|, |, and }}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
 
  |{{#if:{{{10|}}}|, |, and }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
 
  |{{#if:{{{10|}}}|, |, and }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
  |, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}<noinclude>
+
  |, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]][[Category:ERROR]]&#125;&#125;)}}<noinclude>
{{template doc}}
+
{{translation switching|it, pl, pt}}
[[Category:Formatting templates]]
 
  
 +
== Usage ==
 +
* {{tlx|main|Soldier}} generates:
 +
{{main|Soldier}}
 +
* For full documentation see [[wikipedia:Template:Main/doc]].
 +
* See also: {{tl|see also}}, {{tl|hatnote}}
 +
 +
[[Category:Formatting templates|Main]]
 
</noinclude>
 
</noinclude>

Revision as of 11:39, 8 August 2010

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

Usage

  • {{main|Soldier}} generates:
Main article: Soldier