Difference between revisions of "Template:N"

From GTAMods Wiki
Jump to navigation Jump to search
(five params possible)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1|}}}}}|3={{3-navi}}|vc={{VC-navi}}|sa={{SA-navi}}|4={{GTA4-navi}}|iv={{GTA4-navi}}|gta4={{GTA4-navi}}|5={{GTA5-navi}}|v={{GTA5-navi}}|gta5={{GTA5-navi}}}}{{#switch: {{lc:{{{2|}}}}}|3={{3-navi|state=autocollapse}}|vc={{VC-navi|state=autocollapse}}|sa={{SA-navi|state=autocollapse}}|4={{GTA4-navi|state=autocollapse}}|iv={{GTA4-navi|state=autocollapse}}|gta4={{GTA4-navi|state=autocollapse}}|5={{GTA5-navi|state=autocollapse}}|v={{GTA5-navi|state=autocollapse}}|gta5={{GTA5-navi|state=autocollapse}}}}{{#switch: {{lc:{{{3|}}}}}|3={{3-navi|state=autocollapse}}|vc={{VC-navi|state=autocollapse}}|sa={{SA-navi|state=autocollapse}}|4={{GTA4-navi|state=autocollapse}}|iv={{GTA4-navi|state=autocollapse}}|gta4={{GTA4-navi|state=autocollapse}}|5={{GTA5-navi|state=autocollapse}}|v={{GTA5-navi|state=autocollapse}}|gta5={{GTA5-navi|state=autocollapse}}}}{{#switch: {{lc:{{{4|}}}}}|3={{3-navi|state=autocollapse}}|vc={{VC-navi|state=autocollapse}}|sa={{SA-navi|state=autocollapse}}|4={{GTA4-navi|state=autocollapse}}|iv={{GTA4-navi|state=autocollapse}}|gta4={{GTA4-navi|state=autocollapse}}|5={{GTA5-navi|state=autocollapse}}|v={{GTA5-navi|state=autocollapse}}|gta5={{GTA5-navi|state=autocollapse}}}}{{#switch: {{lc:{{{5|}}}}}|3={{3-navi}}|vc={{VC-navi}}|sa={{SA-navi}}|4={{GTA4-navi}}|iv={{GTA4-navi}}|gta4={{GTA4-navi}}|5={{GTA5-navi}}|v={{GTA5-navi}}|gta5={{GTA5-navi}}}}</includeonly><noinclude>A default template for the navi boxes. It collapses the second navibox if there is one. Examples:
+
<includeonly>{{#switch: {{lc:{{{1|}}}}}|3={{3-navi}}|vc={{VC-navi}}|sa={{SA-navi}}|4={{GTA4-navi}}|iv={{GTA4-navi}}|gta4={{GTA4-navi}}|5={{GTA5-navi}}|v={{GTA5-navi}}|gta5={{GTA5-navi}}}}{{#switch: {{lc:{{{2|}}}}}|3={{3-navi|state=autocollapse}}|vc={{VC-navi|state=autocollapse}}|sa={{SA-navi|state=autocollapse}}|4={{GTA4-navi|state=autocollapse}}|iv={{GTA4-navi|state=autocollapse}}|gta4={{GTA4-navi|state=autocollapse}}|5={{GTA5-navi|state=autocollapse}}|v={{GTA5-navi|state=autocollapse}}|gta5={{GTA5-navi|state=autocollapse}}}}{{#switch: {{lc:{{{3|}}}}}|3={{3-navi|state=autocollapse}}|vc={{VC-navi|state=autocollapse}}|sa={{SA-navi|state=autocollapse}}|4={{GTA4-navi|state=autocollapse}}|iv={{GTA4-navi|state=autocollapse}}|gta4={{GTA4-navi|state=autocollapse}}|5={{GTA5-navi|state=autocollapse}}|v={{GTA5-navi|state=autocollapse}}|gta5={{GTA5-navi|state=autocollapse}}}}{{#switch: {{lc:{{{4|}}}}}|3={{3-navi|state=autocollapse}}|vc={{VC-navi|state=autocollapse}}|sa={{SA-navi|state=autocollapse}}|4={{GTA4-navi|state=autocollapse}}|iv={{GTA4-navi|state=autocollapse}}|gta4={{GTA4-navi|state=autocollapse}}|5={{GTA5-navi|state=autocollapse}}|v={{GTA5-navi|state=autocollapse}}|gta5={{GTA5-navi|state=autocollapse}}}}{{#switch: {{lc:{{{5|}}}}}|3={{3-navi|state=autocollapse}}|vc={{VC-navi|state=autocollapse}}|sa={{SA-navi|state=autocollapse}}|4={{GTA4-navi|state=autocollapse}}|iv={{GTA4-navi|state=autocollapse}}|gta4={{GTA4-navi|state=autocollapse}}|5={{GTA5-navi|state=autocollapse}}|v={{GTA5-navi|state=autocollapse}}|gta5={{GTA5-navi|state=autocollapse}}}}</includeonly><noinclude>A default template for the navi boxes. It collapses the second navibox if there is one. Examples:
  
 
* <nowiki>{{N|SA}}</nowiki>
 
* <nowiki>{{N|SA}}</nowiki>

Revision as of 12:49, 1 January 2015

A default template for the navi boxes. It collapses the second navibox if there is one. Examples:

  • {{N|SA}}
  • {{N|IV}}
  • {{N|5}}
  • {{N|4|SA}}
  • {{N|vc|sa}}
  • {{N|3|vc|sa}}

It displays the usual navigation templates, but it is shorter than writing each of them.

See also