Difference between revisions of "Template:N"

From GTAMods Wiki
Jump to navigation Jump to search
(added VC-navi ref)
(Added GTA III navi)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1|}}}}}|vc={{VC-navi}}|sa={{SA-navi}}|4={{GTA4-navi}}|iv={{GTA4-navi}}|gta4={{GTA4-navi}}}}{{#switch: {{lc:{{{2|}}}}}|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|}}}}}|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}}}}{{#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:
  
 
* <nowiki>{{N|SA}}</nowiki>
 
* <nowiki>{{N|SA}}</nowiki>
Line 5: Line 5:
 
* <nowiki>{{N|4|SA}}</nowiki>
 
* <nowiki>{{N|4|SA}}</nowiki>
 
* <nowiki>{{N|vc|sa}}</nowiki>
 
* <nowiki>{{N|vc|sa}}</nowiki>
 +
* <nowiki>{{N|III|vc|sa}}</nowiki>
  
 
It displays the usual navigation templates, but it is shorter than writing each of them.
 
It displays the usual navigation templates, but it is shorter than writing each of them.
Line 12: Line 13:
 
* [[Template:SA-navi]] &ndash; GTA SA navigation box
 
* [[Template:SA-navi]] &ndash; GTA SA navigation box
 
* [[Template:VC-navi]] &ndash; GTA VC navigation box
 
* [[Template:VC-navi]] &ndash; GTA VC navigation box
 +
* [[Template:3-navi]] &ndash; GTA III navigation box
 
</noinclude>
 
</noinclude>

Revision as of 16:32, 14 September 2011

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

  • {{N|SA}}
  • {{N|IV}}
  • {{N|4|SA}}
  • {{N|vc|sa}}
  • {{N|III|vc|sa}}

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

See also