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

Revision as of 18:08, 7 March 2014