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 = c07 | 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|AI Storytellers]] | animal = [[Animals|Animals]] | plant = [[Plants|Plants]] | weapon = [[Weapons|Weapons]] | [[Architect|Architect]]}}</div>
+
<div class="heading">{{#switch:{{{1}}} | ai = [[AI Storytellers|<translate>AI Storytellers</translate>]] | animal = [[Animals|<translate>Animals</translate>]] | plant = [[Plants|<translate>Plants</translate>]] | weapon = [[Weapons|<translate>Weapons</translate>]] | [[Architect|<translate>Architect</translate>]]}}</div>
 
<div class="wrapper">{{#switch:{{{1}}} |<!--  
 
<div class="wrapper">{{#switch:{{{1}}} |<!--  
--> ai            = {{nav/ai}}                    |<!--  
+
--> ai            = {{TNT|nav/ai}}                    |<!--  
 
--> animal    = {{nav/animals}}          |<!--  
 
--> animal    = {{nav/animals}}          |<!--  
 
--> plant        = {{nav/weapons}}        |<!--  
 
--> plant        = {{nav/weapons}}        |<!--  
Line 17: Line 17:
 
<br style="clear: both; height: 0px;" /></div></div></div>
 
<br style="clear: both; height: 0px;" /></div></div></div>
  
<noinclude>[[Category:Navigation templates]]</noinclude>
+
<noinclude>[[Category:Navigation templates]]
 +
{{nav|ai}}
 +
</noinclude>

Revision as of 17:23, 7 March 2014