Difference between revisions of "Template:Nav/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(→‎Usage: Do NOT change back to using TNTN. For future reference.)
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<hr style="margin: 1em 0em; clear: both;" />
 
<hr style="margin: 1em 0em; clear: both;" />
===Usage===  
+
=== Usage ===  
<pre>{{nav|style type|optional style}}
+
Nav boxes are used for linking related things together, by having a handy box at the '''bottom''' of the page.
  
style types: none, ai, animal, plant, weapon, order, zone, structure, floor, building, security, furniture
+
Here's how to use them properly:
optional: none, wide
+
 
 +
<pre>{{nav|category|optional style}}</pre>
 +
 
 +
The category options are:
 +
<pre>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</pre>
 +
 
 +
The only optional style available is
 +
<pre>wide</pre>
 +
 
 +
=== Examples ===
 +
<pre>{{nav|animal}}</pre>
 +
{{nav|animal}}
 +
 
 +
<pre>{{nav|plant|wide}}</pre>
 +
{{nav|plant|wide}}
 +
 
 +
=== Links to the templates ===
 +
{| width="100%"
 +
|
 +
* [[Template:Nav|Architect]] (main)
 +
* [[Template:Nav/ai|AI Storytellers]] (ai)
 +
* [[Template:Nav/animals|Animals]]
 +
* [[Template:Nav/biotech|Biotech]]
 +
* [[Template:Nav/body parts|Body Parts]]
 +
* [[Template:Nav/Clothing|Clothing]]
 +
* [[Template:Nav/factions|Factions]]
 +
* [[Template:Nav/floor|Floors]]
 +
* [[Template:Nav/Food|Food]]
 +
* [[Template:Nav/furniture|Furniture]]
 +
|
 +
* [[Template:Nav/ideology|Ideology]]
 +
* [[Template:Nav/materials|Materials]]
 +
* [[Template:Nav/mechanoids|Mechanoids]]
 +
* [[Template:Nav/misc|Misc]]
 +
* [[Template:Nav/orders|Orders]]
 +
* [[Template:Nav/plants|Plants]]
 +
* [[Template:Nav/power|Power]]
 +
* [[Template:Nav/production|Production]]
 +
* [[Template:Nav/psycasts|Psycasts]]
 +
* [[Template:Nav/joy|Recreation]] (joy)
 +
* [[Template:Nav/security|Security]]
 +
|
 +
* [[Template:Nav/ship|Ship]]
 +
* [[Template:Nav/special|Special]]
 +
* [[Template:Nav/stats|Stats]]
 +
* [[Template:Nav/status levels|Status levels]]
 +
* [[Template:Nav/structure|Structures]]
 +
* [[Template:Nav/temperature|Temperature]]
 +
* [[Template:Nav/Utility|Utility]]
 +
* [[Template:Nav/weapons|Weapons]] (weapon)
 +
* [[Template:Nav/zones|Zones]]
 +
|}
 +
 
 +
=== 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:
 +
 
 +
<pre>
 +
{{Nav/disease}}
 +
{{Nav/drugs}}
 +
{{Nav/guides}}
 +
{{Nav/questitems}}
 
</pre>
 
</pre>
{| class="nmbox" style="border:1px solid #aaa; border-collapse:collapse; clear:both; font-size:85%; margin: 10px auto;"
+
 
|+ style="background: #666;  font-size:110%; padding: .5em;" | '''<span style="color:#fff">Templates</span>'''
+
<noinclude>[[Category:Template documentation]]</noinclude>
|- style="background: #e7e7e7;"
+
<includeonly>[[Category:Navigation templates]]</includeonly>
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav|Main]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/ai|AI Storytellers]]  
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/animals|Animals]]
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/plants|Plants]]
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/weapons|Weapons]]
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/orders|Orders]]
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/zones|Zones]]
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/structure|Structures]]
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/floor|Floors]]
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/buildings|Buildings]]
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/security|Security]]
 
|              style="padding:0.25em 0.9em; width:100%" |[[Template:Nav/furniture|Furniture]]
 
|}
 
<languages/>
 
[[Category:Navigation templates]]
 

Revision as of 08:15, 30 March 2024


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