Difference between revisions of "Template:Nav"

From RimWorld Wiki
Jump to navigation Jump to search
(Typo fix.)
Line 4: Line 4:
 
<div class="wrapper">{{#switch:{{lc:{{{1|}}}}} |<!--  
 
<div class="wrapper">{{#switch:{{lc:{{{1|}}}}} |<!--  
 
--> ai          = <dl>{{nav/ai}}</dl>{{nav/sep}}|<!--  
 
--> ai          = <dl>{{nav/ai}}</dl>{{nav/sep}}|<!--  
--> factions    = <dl>{{nav/factioms}}</dl>{{nav/sep}}|<!--  
+
--> factions    = <dl>{{nav/factions}}</dl>{{nav/sep}}|<!--  
 
--> animal      = <dl>{{nav/animals}}</dl>{{nav/sep}}|<!--  
 
--> animal      = <dl>{{nav/animals}}</dl>{{nav/sep}}|<!--  
 
--> plant        = <dl>{{nav/plants}}</dl>{{nav/sep}}|<!--  
 
--> plant        = <dl>{{nav/plants}}</dl>{{nav/sep}}|<!--  

Revision as of 14:22, 15 March 2021



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