Difference between revisions of "Template:Nav/doc"

From RimWorld Wiki
Jump to navigation Jump to search
 
(16 intermediate revisions by 2 users not shown)
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
+
The category options are:
optional: none, wide
+
<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>
</pre>
+
 
 +
The only optional style available is
 +
<pre>wide</pre>
  
===Examples===
+
=== Examples ===
<pre>
+
<pre>{{nav|animal}}</pre>
{{nav|animal}}
 
</pre>
 
 
{{nav|animal}}
 
{{nav|animal}}
  
<pre>
+
<pre>{{nav|plant|wide}}</pre>
{{nav|plant|wide}}
 
</pre>
 
 
{{nav|plant|wide}}
 
{{nav|plant|wide}}
  
{| class="nmbox" style="border:1px solid #aaa; border-collapse:collapse; clear:both; font-size:85%; margin: 10px auto;"
+
=== Links to the templates ===
|+ style="background: #666;  font-size:110%; padding: .5em;" | '''<span style="color:#fff">Templates</span>'''
+
{| width="100%"
|- style="background: #e7e7e7;"
+
|
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav|Main]]
+
* [[Template:Nav|Architect]] (main)
| class="mpbr" style="padding:0.25em 0.9em;" nowrap |[[Template:Nav/ai|AI Storytellers]]  
+
* [[Template:Nav/ai|AI Storytellers]] (ai)
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/animals|Animals]]
+
* [[Template:Nav/animals|Animals]]
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/body parts|Body Parts]]
+
* [[Template:Nav/anomaly|Anomaly]]
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/plants|Plants]]
+
* [[Template:Nav/biotech|Biotech]]
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/weapons|Weapons]]
+
* [[Template:Nav/body parts|Body Parts]]
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/orders|Orders]]
+
* [[Template:Nav/Clothing|Clothing]]
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/zones|Zones]]
+
* [[Template:Nav/factions|Factions]]
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/structure|Structures]]
+
* [[Template:Nav/floor|Floors]]
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/floor|Floors]]
+
* [[Template:Nav/Food|Food]]
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/buildings|Buildings]]
+
* [[Template:Nav/furniture|Furniture]]
| class="mpbr" style="padding:0.25em 0.9em;" |[[Template:Nav/security|Security]]
+
|
|              style="padding:0.25em 0.9em; width:100%" |[[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]]
 
|}
 
|}
  
[[Category:Navigation 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:
 +
 
 +
<pre>
 +
{{Nav/disease}}
 +
{{Nav/drugs}}
 +
{{Nav/guides}}
 +
{{Nav/questitems}}
 +
</pre>
 +
 
 +
<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}}