Difference between revisions of "Template:Nav/doc"

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

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