Difference between revisions of "Template:N"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}|sa={{SA-navi}}|4={{GTA4-navi}}|iv={{GTA4-navi}}|gta4={{GTA4-navi}}}}{{#switch: {{lc:{{{2|}}}}}|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|}}}}}|sa={{SA-navi}}|4={{GTA4-navi}}|iv={{GTA4-navi}}|gta4={{GTA4-navi}}}}{{#switch: {{lc:{{{2|}}}}}|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:
  
* <nowiki>{{NavBox|SA}}</nowiki>
+
* <nowiki>{{N|SA}}</nowiki>
* <nowiki>{{NavBox|IV}}</nowiki>
+
* <nowiki>{{N|IV}}</nowiki>
* <nowiki>{{NavBox|SA|IV}}</nowiki>
+
* <nowiki>{{N|4|SA}}</nowiki>
  
 
It displays the usual nav box templates, but it is shorter than writing each of them.
 
It displays the usual nav box templates, but it is shorter than writing each of them.
  
==See also==
+
== See also ==
 
* [[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
 
</noinclude>
 
</noinclude>

Revision as of 18:43, 19 March 2009

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

  • {{N|SA}}
  • {{N|IV}}
  • {{N|4|SA}}

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

See also