Difference between revisions of "Template:N"

From GTAMods Wiki
Jump to navigation Jump to search
m
(added V navi)
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}}}}{{#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}}}}{{#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}}}}{{#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}}}}</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}}}}</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>
 
* <nowiki>{{N|IV}}</nowiki>
 
* <nowiki>{{N|IV}}</nowiki>
 +
* <nowiki>{{N|5}}</nowiki>
 
* <nowiki>{{N|4|SA}}</nowiki>
 
* <nowiki>{{N|4|SA}}</nowiki>
 
* <nowiki>{{N|vc|sa}}</nowiki>
 
* <nowiki>{{N|vc|sa}}</nowiki>
Line 10: Line 11:
  
 
== See also ==
 
== See also ==
 +
* [[Template:GTA5-navi]] &ndash; GTA V navigation box
 
* [[Template:GTA4-navi]] &ndash; GTA IV navigation box
 
* [[Template:GTA4-navi]] &ndash; GTA IV navigation box
 
* [[Template:SA-navi]] &ndash; GTA SA navigation box
 
* [[Template:SA-navi]] &ndash; GTA SA navigation box

Revision as of 19:11, 18 August 2014

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