Difference between revisions of "Template:Nav/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m
 
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<hr style="margin: 1em 0em; clear: both;" />
 
<hr style="margin: 1em 0em; clear: both;" />
{| class="nmbox" style="border:1px solid #aaa; border-collapse:collapse; clear:both; font-size:85%; margin: 0 auto;"
+
=== Usage ===
|+ style="background: #666;  font-size:110%; padding: .5em;" | '''<span style="color:#fff">Templates</span>'''
+
Nav boxes are used for linking related things together, by having a handy box at the '''bottom''' of the page.
|- style="background: #e7e7e7;"
+
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav|Main]]
+
Here's how to use them properly:
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/ai|AI Storytellers]]  
+
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/animals|Animals]]
+
<pre>{{nav|category|optional style}}</pre>
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/plants|Plants]]
+
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/weapons|Weapons]]
+
The category options are:
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/orders|Orders]]
+
<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>
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/zones|Zones]]
+
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/structure|Structures]]
+
The only optional style available is
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/floor|Floors]]
+
<pre>wide</pre>
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/buildings|Buildings]]
+
 
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/security|Security]]
+
=== Examples ===
|              style="padding:0.25em 0.9em;" |[[Template:Nav/furniture|Furniture]]
+
<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/anomaly|Anomaly]]
 +
* [[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]]
 
|}
 
|}
===Usage===
 
<pre>{{{{TNTN|nav}}| style type | optional style}}
 
  
style types: none, ai, animal, plant, weapon, order, zone, structure, floor, building, security, furniture
+
=== Other navigation templates ===
optional: none, wide
+
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>
<languages/>
+
 
[[Category:Navigation templates]]
+
<noinclude>[[Category:Template documentation]]</noinclude>
 +
<includeonly>[[Category:Navigation templates]]</includeonly>

Latest revision as of 20:06, 28 April 2024


Usage[edit]

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[edit]

{{nav|animal}}


{{nav|plant|wide}}


Links to the templates[edit]

Other navigation templates[edit]

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