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:{{{type|}}} | {{#switch:{{{type|}}} | 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:{{{1|}}}|{{{1}}}}}">
+
<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:{{{type|}}} | ai = [[AI Storytellers|<translate><!--T:1-->
+
<div class="heading">{{TNT|{{#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>
AI Storytellers</translate>]] | animal = [[Animals|<translate><!--T:2-->
+
<div class="wrapper">{{#switch:{{{1|}}} |<!--  
Animals</translate>]] | plant = [[Plants|<translate><!--T:3-->
 
Plants</translate>]] | weapon = [[Weapons|<translate><!--T:4-->
 
Weapons</translate>]] | [[Architect|<translate><!--T:5-->
 
Architect</translate>]]}}</div>
 
<div class="wrapper">{{#switch:{{{type|}}} |<!--  
 
 
--> ai            = {{nav/ai}}                    |<!--  
 
--> ai            = {{nav/ai}}                    |<!--  
 
--> animal    = {{TNT|nav/animals}}          |<!--  
 
--> animal    = {{TNT|nav/animals}}          |<!--  

Revision as of 18:21, 7 March 2014