Difference between revisions of "Template:N"

From GTAMods Wiki
Jump to navigation Jump to search
m (Template:NavBox moved to Template:N: if this is only a shortcut, why not use an as short name as its even possible? ;))
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1|}}}}}|sa={{SA-navi}}|iv={{GTA4-navi}}|gta4={{GTA4-navi}}}}{{#switch: {{lc:{{{2|}}}}}|sa={{SA-navi}}|iv={{GTA4-navi}}|gta4={{GTA4-navi}}}}</includeonly><noinclude>A default template for the navi boxes. It does not support auto collapse. 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>{{NavBox|SA}}</nowiki>

Revision as of 08:49, 19 March 2009

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

  • {{NavBox|SA}}
  • {{NavBox|IV}}
  • {{NavBox|SA|IV}}

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

See also