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.)
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.
  
 +
Here's how to use them properly:
 +
 +
<pre>
 +
{{nav|style type|optional style}}
 
style types: none, ai, animal, plant, weapon, order, zone, structure, floor, building, security, furniture
 
style types: none, ai, animal, plant, weapon, order, zone, structure, floor, building, security, furniture
 
optional: none, wide
 
optional: none, wide
 
</pre>
 
</pre>
 +
 +
===Examples===
 +
<pre>
 +
{{nav|animal}}
 +
</pre>
 +
{{nav|animal}}
 +
 +
<pre>
 +
{{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;"
 
{| 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: #666;  font-size:110%; padding: .5em;" | '''<span style="color:#fff">Templates</span>'''
Line 22: Line 38:
 
|              style="padding:0.25em 0.9em; width:100%" |[[Template:Nav/furniture|Furniture]]
 
|              style="padding:0.25em 0.9em; width:100%" |[[Template:Nav/furniture|Furniture]]
 
|}
 
|}
<languages/>
+
 
 
[[Category:Navigation templates]]
 
[[Category:Navigation templates]]

Revision as of 19:52, 17 August 2014


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|style type|optional style}}
style types: none, ai, animal, plant, weapon, order, zone, structure, floor, building, security, furniture
optional: none, wide

Examples

{{nav|animal}}


{{nav|plant|wide}}


Templates
Main AI Storytellers Animals Plants Weapons Orders Zones Structures Floors Buildings Security Furniture