Difference between revisions of "Template:Main"

From Team Fortress Wiki
Jump to: navigation, search
m
 
(2 intermediate revisions by 2 users not shown)
Line 15: Line 15:
 
   | no ={{#if:{{{2|}}}|Hovedartikler|Hovedartikkel}}:
 
   | 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 = {{#if:{{{2|}}}|Artigos principais|Artigo principal}}:
 
   | pt-br = {{#if:{{{2|}}}|Artigos principais|Artigo principal}}:
 
   | pt-br = {{#if:{{{2|}}}|Artigos principais|Artigo principal}}:
 
   | ro = {{#if:{{{2|}}}|Articole principale|Articol principal}}:
 
   | ro = {{#if:{{{2|}}}|Articole principale|Articol principal}}:
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|}}}
  |{{#if:{{{11|}}}|, |, }}[[{{{10}}}|{{{20|{{{10}}}}}}]]}}{{#if:{{{11|}}}
+
  |{{#if:{{{11|}}}|, |, }}[[{{{10}}}|{{{l10|{{{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>}}
 
  |,&#32;[[{{{11}}}|{{{l11|{{{11}}}}}}]]}}''{{#if:{{{12| }}}|&#32;<span class="error">ERROR {{tl|main}}: too many articles linked.[[Category:ERROR Template:Main]]</span>}}
 
|style={{{style|}}}}}<noinclude>
 
|style={{{style|}}}}}<noinclude>
Line 38: Line 38:
 
{{Wikipedia doc}}
 
{{Wikipedia doc}}
 
{{Doc begin}}
 
{{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:

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