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}}}| animal = c_08 | plant = c_14 | weapon = c_06 | area = c_11 | structure = c_02 | building = c_25 | security = c_10 | furniture = c_01 | }}}} {{#if:{{{2|}}}|{{{2}}}}}"><div class="box"><div class="heading">[[Architect|Architect]]</div>
+
<div class="nav {{#if:{{{1|}}}|{{#switch:{{{1}}}| arc = | 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="heading">[[Architect|Architect]]</div>
<div class="wrapper">{{#if:{{{type|}}}|{{#switch:{{{type}}} | arc = {{nav/orders}}{{nav/zones}}{{nav/structure}}{{nav/buildings}}{{nav/security}}{{nav/furniture}} | orders = {{nav/orders}} | zones = {{nav/zones}} | structure = {{nav/structure}} | buildings = {{nav/buildings}} | security = {{nav/security}} | furniture = {{nav/furniture}} }} }}
+
<div class="wrapper">{{#switch:{{{1}}}| arc = {{nav/orders}}{{nav/zones}}{{nav/structure}}{{nav/buildings}}{{nav/security}}{{nav/furniture}} | order = {{nav/orders}} | zone = {{nav/zones}} | structure = {{nav/structure}} | building = {{nav/buildings}} | security = {{nav/security}} | furniture = {{nav/furniture}} }}
 
<br style="clear: both; height: 0px;" />
 
<br style="clear: both; height: 0px;" />
 
</div></div></div>
 
</div></div></div>
  
 
[[Category:Architect]]
 
[[Category:Architect]]
<noinclude>[[Category:Navigation templates|{{PAGENAME}}]]
+
<noinclude>
==TEST==
+
{{nav|arc|}}
{{nav|area|
+
----
type=arc}}
+
{{nav|orders|}}
 +
----
 +
{{nav|zone|}}
 +
----
 +
{{nav|structure|}}
 +
----
 +
{{nav|building|}}
 +
----
 +
{{nav|orders|}}
 +
----
 +
{{nav|security|}}
 +
----
  
</noinclude>
+
 
 +
[[Category:Navigation templates|{{PAGENAME}}]]</noinclude>

Revision as of 16:25, 7 March 2014