Difference between revisions of "Template:Main"

From Grand Theft Wiki
Jump to: navigation, search
(Adding : so this works with images and categories)
(From WP)
 
Line 1: Line 1:
:<div class="noprint">''Main article{{#if:{{{2|}}}|s}}&#58; [[:{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
+
{{Rellink|extraclasses=relarticle mainarticle|{{#ifeq:{{SUBJECTSPACE}}|Category|The main {{#ifeq:{{NAMESPACE:{{{1}}}}}||article|page}}{{#if:{{{2|}}}|s}} for this [[Wikipedia:Categorization|category]] {{#if:{{{2|}}}|are|is}}|Main {{#ifeq:{{NAMESPACE:{{{1}}}}}||article|page}}{{#if:{{{2|}}}|s}}:}} [[{{{1|{{PAGENAME}}}}}|{{{l1|{{{1|{{PAGENAME}}}}}}}}]]{{#if:{{{2| }}}
  |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[:[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
+
|{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
  |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[:{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
+
|{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
  |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[:{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}}
+
|{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}}
  |{{#if:{{{6|}}}|,&#32;|,&#32;and&#32;}}[[:{{{5}}}|{{{l5|{{{5}}}}}}]]}}{{#if:{{{6|}}}
+
|{{#if:{{{6|}}}|,&#32;|,&#32;and&#32;}}[[{{{5}}}|{{{l5|{{{5}}}}}}]]}}{{#if:{{{6|}}}
  |{{#if:{{{7|}}}|,&#32;|,&#32;and&#32;}}[[:{{{6}}}|{{{l6|{{{6}}}}}}]]}}{{#if:{{{7|}}}
+
|{{#if:{{{7|}}}|,&#32;|,&#32;and&#32;}}[[{{{6}}}|{{{l6|{{{6}}}}}}]]}}{{#if:{{{7|}}}
  |{{#if:{{{8|}}}|,&#32;|,&#32;and&#32;}}[[:{{{7}}}|{{{l7|{{{7}}}}}}]]}}{{#if:{{{8|}}}
+
|{{#if:{{{8|}}}|,&#32;|,&#32;and&#32;}}[[{{{7}}}|{{{l7|{{{7}}}}}}]]}}{{#if:{{{8|}}}
  |{{#if:{{{9|}}}|,&#32;|,&#32;and&#32;}}[[:{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
+
|{{#if:{{{9|}}}|,&#32;|,&#32;and&#32;}}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
  |{{#if:{{{10|}}}|,&#32;|,&#32;and&#32;}}[[:{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
+
|{{#if:{{{10|}}}|,&#32;|,&#32;and&#32;}}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
  |, and [[:{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}</div><noinclude>
+
|, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}{{#if:{{{11| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}}}<noinclude>{{doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>
+

Latest revision as of 19:48, 7 October 2012

This template requires documentation to be written.

Please click here to write the instructions for this template.