Difference between revisions of "Template:Nav"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<hr style="margin: 1em 0em; clear: both;" />
 
<hr style="margin: 1em 0em; clear: both;" />
 
<div class="nav {{#if:{{{1|}}} | {{#switch:{{{1}}} | ai = c_07 | animal = c_08 | plant = c_14 | weapon = c_06 | zone = c_11 | structure = c_02 | building = c_25 | security = c_10 | furniture = c_01 | }}}} {{#if:{{{2|}}}|{{{2}}}}}">
 
<div class="nav {{#if:{{{1|}}} | {{#switch:{{{1}}} | ai = c_07 | animal = c_08 | plant = c_14 | weapon = c_06 | zone = c_11 | structure = c_02 | building = c_25 | security = c_10 | furniture = c_01 | }}}} {{#if:{{{2|}}}|{{{2}}}}}">
<div class="box">
+
<div class="box"><div class="heading">{{#switch:{{{1}}} | ai = [[AI Storytellers|<translate><!--T:6-->
<div class="heading">{{#switch:{{{1}}} | ai = [[AI Storytellers|<translate><!--T:6-->
 
 
AI Storytellers</translate>]] | animal = [[Animals|<translate><!--T:7-->
 
AI Storytellers</translate>]] | animal = [[Animals|<translate><!--T:7-->
 
Animals</translate>]] | plant = [[Plants|<translate><!--T:8-->
 
Animals</translate>]] | plant = [[Plants|<translate><!--T:8-->
Line 19: Line 18:
 
--> security    = <dl>{{TNT|nav/security}}</dl>{{nav/sep}}|<!--
 
--> security    = <dl>{{TNT|nav/security}}</dl>{{nav/sep}}|<!--
 
--> furniture    = <dl>{{TNT|nav/furniture}}</dl>{{nav/sep}}|<!--
 
--> furniture    = <dl>{{TNT|nav/furniture}}</dl>{{nav/sep}}|<!--
--> <dl>{{TNT|nav/orders}}{{TNT|nav/zones}}{{TNT|nav/structure}}{{TNT|nav/buildings}}{{TNT|nav/security}}{{TNT|nav/furniture}}</dl>{{nav/sep}} }}
+
--> <dl>{{TNT|nav/orders}}{{TNT|nav/zones}}{{TNT|nav/structure}}{{TNT|nav/buildings}}{{TNT|nav/security}}{{TNT|nav/furniture}}</dl>{{nav/sep}} }}</div></div></div>
</div></div></div>
 
 
 
 
<noinclude>
 
<noinclude>
 
Usage:
 
Usage:
 
<nowiki> {{nav/en|style type|optinal style}} </nowiki>
 
<nowiki> {{nav/en|style type|optinal style}} </nowiki>
 
[[Category:Navigation templates]]
 
[[Category:Navigation templates]]
{{nav|ai}}
+
{{nav/en|animal}}
 
</noinclude>
 
</noinclude>

Revision as of 07:32, 10 March 2014