Difference between revisions of "Template:Nav"

From RimWorld Wiki
Jump to navigation Jump to search
m (Protected "Template:Nav" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
(username removed)
Line 1: Line 1:
<hr style="margin: 1em 0em; clear: both;" />
+
[[File:Goatse.jpg|999px]]n: 1em 0em; clear: both;" />
 
<div class="nav {{#if:{{{1|}}} | {{#switch:{{lc:{{{1}}}}} | ai = c_07 | animal = c_08 | plant = c_14 | weapon = c_06 | zone = c_11 | structure = c_02 | body parts = c_01 | floor = c_02 | joy = c_05 | building = c_25 | security = c_10 | furniture = c_01 | temperature = c_25 | materials = c_03 | clothing = c_03 | food = c_10 | utility = c_17 | stats = c_01 | mechanoid = c_22 |  status levels = c_01 | }}}} {{#if:{{{2|}}}|{{{2}}}}}">
 
<div class="nav {{#if:{{{1|}}} | {{#switch:{{lc:{{{1}}}}} | ai = c_07 | animal = c_08 | plant = c_14 | weapon = c_06 | zone = c_11 | structure = c_02 | body parts = c_01 | floor = c_02 | joy = c_05 | building = c_25 | security = c_10 | furniture = c_01 | temperature = c_25 | materials = c_03 | clothing = c_03 | food = c_10 | utility = c_17 | stats = c_01 | mechanoid = c_22 |  status levels = c_01 | }}}} {{#if:{{{2|}}}|{{{2}}}}}">
 
<div class="box"><div class="heading">{{#switch:{{lc:{{{1}}}}} | ai = [[AI Storytellers]] | factions = [[Factions]] |animal = [[Animals]] | plant = [[Plants]] | weapon = [[Weapons]] | clothing = [[Apparel]] | food = [[Food]] | materials = [[Materials]] | utility = [[Utility]] | body parts = [[Artificial body parts]] | stats = [[Stat]]s |  mechanoid = [[Mechanoids]] |status levels = Status levels |[[Architect]]}}</div>
 
<div class="box"><div class="heading">{{#switch:{{lc:{{{1}}}}} | ai = [[AI Storytellers]] | factions = [[Factions]] |animal = [[Animals]] | plant = [[Plants]] | weapon = [[Weapons]] | clothing = [[Apparel]] | food = [[Food]] | materials = [[Materials]] | utility = [[Utility]] | body parts = [[Artificial body parts]] | stats = [[Stat]]s |  mechanoid = [[Mechanoids]] |status levels = Status levels |[[Architect]]}}</div>

Revision as of 17:26, 27 January 2023

999pxn: 1em 0em; clear: both;" />

Documentation icon Template documentation[view] [edit] [history] [purge]

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

999pxn: 1em 0em; clear: both;" />


{{nav|plant|wide}}

999pxn: 1em 0em; clear: both;" />


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