Difference between revisions of "Template:Nav"

From RimWorld Wiki
Jump to navigation Jump to search
(Removed Decoration.)
(Removed TNT template, remnant from translation system.)
Line 3: Line 3:
 
<div class="box"><div class="heading">{{#switch:{{lc:{{{1}}}}} | ai = [[AI Storytellers]] | animal = [[Animals]] | plant = [[Plants]] | weapon = [[Weapons]] | clothing = [[Apparel]] | [[Architect]]}}</div>
 
<div class="box"><div class="heading">{{#switch:{{lc:{{{1}}}}} | ai = [[AI Storytellers]] | animal = [[Animals]] | plant = [[Plants]] | weapon = [[Weapons]] | clothing = [[Apparel]] | [[Architect]]}}</div>
 
<div class="wrapper">{{#switch:{{lc:{{{1|}}}}} |<!--  
 
<div class="wrapper">{{#switch:{{lc:{{{1|}}}}} |<!--  
--> ai            = <dl>{{TNT|nav/ai}}</dl>{{nav/sep}}|<!--  
+
--> ai            = <dl>{{nav/ai}}</dl>{{nav/sep}}|<!--  
--> animal    = <dl>{{TNT|nav/animals}}</dl>{{nav/sep}}|<!--  
+
--> animal    = <dl>{{nav/animals}}</dl>{{nav/sep}}|<!--  
--> plant        = <dl>{{TNT|nav/plants}}</dl>{{nav/sep}}|<!--  
+
--> plant        = <dl>{{nav/plants}}</dl>{{nav/sep}}|<!--  
--> weapon    = <dl>{{TNT|nav/weapons}}</dl>{{nav/sep}}|<!--
+
--> weapon    = <dl>{{nav/weapons}}</dl>{{nav/sep}}|<!--
--> order        = <dl>{{TNT|nav/orders}}</dl>{{nav/sep}}|<!--  
+
--> order        = <dl>{{nav/orders}}</dl>{{nav/sep}}|<!--  
--> zone        = <dl>{{TNT|nav/zones}}</dl>{{nav/sep}}|<!--
+
--> zone        = <dl>{{nav/zones}}</dl>{{nav/sep}}|<!--
--> structure  = <dl>{{TNT|nav/structure}}</dl>{{nav/sep}}|<!--
+
--> structure  = <dl>{{nav/structure}}</dl>{{nav/sep}}|<!--
--> production  = <dl>{{TNT|nav/production}}</dl>{{nav/sep}}|<!--
+
--> production  = <dl>{{nav/production}}</dl>{{nav/sep}}|<!--
--> furniture    = <dl>{{TNT|nav/furniture}}</dl>{{nav/sep}}|<!--
+
--> furniture    = <dl>{{nav/furniture}}</dl>{{nav/sep}}|<!--
--> power    = <dl>{{TNT|nav/power}}</dl>{{nav/sep}}|<!--
+
--> power    = <dl>{{nav/power}}</dl>{{nav/sep}}|<!--
--> security    = <dl>{{TNT|nav/security}}</dl>{{nav/sep}}|<!--
+
--> security    = <dl>{{nav/security}}</dl>{{nav/sep}}|<!--
--> misc    = <dl>{{TNT|nav/misc}}</dl>{{nav/sep}}|<!--
+
--> misc    = <dl>{{nav/misc}}</dl>{{nav/sep}}|<!--
--> floor        = <dl>{{TNT|nav/floor}}</dl>{{nav/sep}}|<!--
+
--> floor        = <dl>{{nav/floor}}</dl>{{nav/sep}}|<!--
--> joy        = <dl>{{TNT|nav/joy}}</dl>{{nav/sep}}|<!--
+
--> joy        = <dl>{{nav/joy}}</dl>{{nav/sep}}|<!--
--> ship  = <dl>{{TNT|nav/ship}}</dl>{{nav/sep}}|<!--
+
--> ship  = <dl>{{nav/ship}}</dl>{{nav/sep}}|<!--
--> temperature    = <dl>{{TNT|nav/temperature}}</dl>{{nav/sep}}|<!--
+
--> temperature    = <dl>{{nav/temperature}}</dl>{{nav/sep}}|<!--
--> clothing= <dl>{{TNT|nav/Clothing}}</dl>{{nav/sep}}|<!--
+
--> clothing= <dl>{{nav/Clothing}}</dl>{{nav/sep}}|<!--
  
--><dl>{{TNT|nav/orders}}{{TNT|nav/zones}}{{TNT|nav/structure}}{{TNT|nav/production}}{{TNT|nav/furniture}}{{TNT|nav/power}}{{TNT|nav/security}}{{TNT|nav/misc}}{{TNT|nav/floor}}{{TNT|nav/joy}}{{TNT|nav/ship}}{{TNT|nav/temperature}}</dl>{{nav/sep}}}}</div></div></div>
+
--><dl>{{nav/orders}}{{nav/zones}}{{nav/structure}}{{nav/production}}{{nav/furniture}}{{nav/power}}{{nav/security}}{{nav/misc}}{{nav/floor}}{{nav/joy}}{{nav/ship}}{{nav/temperature}}</dl>{{nav/sep}}}}</div></div></div>
 
<noinclude>{{nav/doc}}</noinclude>
 
<noinclude>{{nav/doc}}</noinclude>

Revision as of 05:10, 5 January 2018



Usage

Nav boxes are used for linking related things together, by having a handy box at the bottom of the page.

Here's how to use them properly:

{{nav|category|optional style}}

The category options are:

ai, animal, body parts, clothing, factions, floor, food, furniture, joy, main, materials, mechanoid, misc, order, plant, power, production, psycasts, security, ship, stats, status levels, structure, temperature, utility, weapons, zone

The only optional style available is

wide

Examples

{{nav|animal}}


{{nav|plant|wide}}


Links to the templates

Other navigation templates

Note that although looking similar Template:Nav/disease, Template:Nav/drugs, Template:Nav/guides and Template:Nav/questitems must be used with:

{{Nav/disease}}
{{Nav/drugs}}
{{Nav/guides}}
{{Nav/questitems}}