Difference between revisions of "Template:N"

From GTAMods Wiki
Jump to navigation Jump to search
(Updated for LCS)
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|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 all naviboxes except the first one. Examples:
+
<includeonly>{{#switch: {{lc:{{{1|}}}}}|3={{3-navi}}|vc={{VC-navi}}|sa={{SA-navi}}|lcs={{LCS-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}}|lcs={{LCS-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}}|lcs={{LCS-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}}|lcs={{LCS-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}}|lcs={{LCS-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 all naviboxes except the first one. Examples:
  
 
* <nowiki>{{N|SA}}</nowiki>
 
* <nowiki>{{N|SA}}</nowiki>
Line 13: Line 13:
 
* [[Template:GTA5-navi]] &ndash; GTA V navigation box
 
* [[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:LCS-navi]]  &ndash; GTA LCS navigation box
 
* [[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
 
* [[Template:3-navi]] &ndash; GTA III navigation box
 
</noinclude>
 
</noinclude>

Revision as of 23:20, 11 January 2019

A default template for the navi boxes. It collapses all naviboxes except the first 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