Difference between revisions of "Template:Nav/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Added available options; switched to list with links to all templates)
Line 1: Line 1:
 
<hr style="margin: 1em 0em; clear: both;" />
 
<hr style="margin: 1em 0em; clear: both;" />
===Navbox Usage===  
+
=== Usage ===  
 
Nav boxes are used for linking related things together, by having a handy box at the '''bottom''' of the page.
 
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:
 
Here's how to use them properly:
  
<pre>
+
<pre>{{nav|category|optional style}}</pre>
{{nav|style type|optional style}}
 
style types: none, ai, animal, plant, weapon, order, zone, structure, floor, building, security, furniture
 
optional: none, wide
 
</pre>
 
  
===Examples===
+
The category options are:
<pre>
+
<pre>ai, animal, body parts, clothing, factions, floor, food, furniture, joy, main, materials, mechanoid, misc, order, plant, power, production, security, ship, stats, status levels, structure, temperature, utility, weapons, zone</pre>
{{nav|animal}}
+
 
</pre>
+
The only optional style available is
 +
<pre>wide</pre>
 +
 
 +
=== Examples ===
 +
<pre>{{nav|animal}}</pre>
 
{{nav|animal}}
 
{{nav|animal}}
  
<pre>
+
<pre>{{nav|plant|wide}}</pre>
 
{{nav|plant|wide}}
 
{{nav|plant|wide}}
</pre>
 
{{nav|plant|wide}}
 
 
{| 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>'''
 
|- style="background: #e7e7e7;"
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[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;" nowrap |[[Template:Nav/animals|Animals]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/body parts|Body Parts]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/Clothing|Clothing]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/disease|Diseases]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/drugs|Drugs]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/floor|Floors]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/Food|Food]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/materials|Materials]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/guides|Guides]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/joy|Recreation]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/mechanoids|Mechanoids]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/plants|Plants]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/weapons|Weapons]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/orders|Orders]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/zones|Zones]]
 
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/structure|Structures]]
 
  
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/security|Security]]
+
=== Links to the templates ===
|             style="padding:0.25em 0.9em; width:100%" |[[Template:Nav/furniture|Furniture]]
+
* [[Template:Nav|Architect]] (main)
|}
+
* [[Template:Nav/ai|AI Storytellers]] (ai)
 +
* [[Template:Nav/animals|Animals]]
 +
* [[Template:Nav/body parts|Body Parts]]
 +
* [[Template:Nav/Clothing|Clothing]]
 +
* [[Template:Nav/disease|Diseases]]
 +
* [[Template:Nav/drugs|Drugs]]
 +
* [[Template:Nav/factions|Factions]]
 +
* [[Template:Nav/floor|Floors]]
 +
* [[Template:Nav/Food|Food]]
 +
* [[Template:Nav/furniture|Furniture]]
 +
* [[Template:Nav/guides|Guides]]
 +
* [[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/joy|Recreation]] (joy)
 +
* [[Template:Nav/security|Security]]
 +
* [[Template:Nav/ship|Ship]]
 +
* [[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]]
  
 
[[Category:Navigation templates]]
 
[[Category:Navigation templates]]

Revision as of 15:31, 22 April 2022


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