Difference between revisions of "Template:Nav"

From RimWorld Wiki
Jump to navigation Jump to search
(Fixed animal nav box formatting by removing "<p class="text-center">..</p>" that was wrapped around the --> animal switch.)
Line 9: Line 9:
 
<div class="wrapper">{{#switch:{{{1|}}} |<!--  
 
<div class="wrapper">{{#switch:{{{1|}}} |<!--  
 
--> ai            = <dl>{{TNT|nav/ai}}</dl>{{nav/sep}}|<!--  
 
--> ai            = <dl>{{TNT|nav/ai}}</dl>{{nav/sep}}|<!--  
--> animal    = <dl><p class="text-center">{{TNT|nav/animals}}</p></dl>|<!--  
+
--> animal    = <dl>{{TNT|nav/animals}}</dl>|<!--  
 
--> plant        = <dl>{{TNT|nav/plants}}</dl>{{nav/sep}}|<!--  
 
--> plant        = <dl>{{TNT|nav/plants}}</dl>{{nav/sep}}|<!--  
 
--> weapon    = <dl>{{TNT|nav/weapons}}</dl>{{nav/sep}}|<!--
 
--> weapon    = <dl>{{TNT|nav/weapons}}</dl>{{nav/sep}}|<!--

Revision as of 20:50, 16 August 2014



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}}