Difference between revisions of "Template:Icon"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<span {{#if:{{{1|}}}|style="white-space:nowrap;" <nowiki />}}title="{{#if:{{{1|}}}|{{{1|}}} <nowiki />}}
+
<span style="white-space:nowrap;" title="{{#if:{{{1|}}}|{{#switch:{{{1}}}|metal = Metal"> [[File:Metal Icon.png|16px|alt=Metal|top]]|food = Food">|silver = Silver">|uran = ">|med = ">|shell = ">|missle = ">|}} }} {{#if:{{{2|}}}|{{{2|}}}}}
{{#if:{{{1|}}}|{{#switch:{{{1}}}|<!--
+
</span>
--> metal = {{#ifeq:{{{2|2}}}|1||s}}">[[File:Metal Icon.png{{!}}16px{{!}}alt=Metal{{!}}top]]|<!--
 
--> food = c_14 |<!--
 
--> siver = c_06 |<!--
 
--> uran = c_11 |<!--
 
--> med = c_02 |<!--
 
--> shell = c_25 |<!--
 
--> missle = c_10 |<!--
 
-->}}}}
 
{{#if:{{{|}}}|{{{1|}}} <nowiki />}}</span>
 
 
</includeonly>
 
</includeonly>
 
{{icon|metal|4}}
 
{{icon|metal|4}}

Revision as of 19:32, 25 February 2014


16px 4

Template loop detected: Template:Icon