Difference between revisions of "Template:Icon"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly><span {{#if:{{{1|}}}|style="white-space:nowrap;" <nowiki />}} title="{{#if:{{{1|}}}| <nowiki />{{#switch:{{{1}}}|<!--
 
<includeonly><span {{#if:{{{1|}}}|style="white-space:nowrap;" <nowiki />}} title="{{#if:{{{1|}}}| <nowiki />{{#switch:{{{1}}}|<!--
--> metal = Metal{{#ifeq:{{{2|1}}}|1||s}}"> [[File:Metal Icon.png|16px|alt=Metal|top]]|<!--
+
--> metal = Metal{{#ifeq:{{{2|1}}}|1||s}}"> [[File:Metal Icon.png|{{#if:{{{3|}}}|{{{3|}}}|16}}px|alt=Metal|top]]|<!--
--> food = Food"> [[File:Food Icon.png|16px|alt=Food|top]]|<!--
+
--> food = Food"> [[File:Food Icon.png|{{#if:{{{3|}}}|{{{3|}}}|16}}px|alt=Food|top]]|<!--
--> silver = Silver"> [[File:Silver Icon.png|16px|alt=Silver|top]]|<!--
+
--> silver = Silver"> [[File:Silver Icon.png|{{#if:{{{3|}}}|{{{3|}}}|16}}px|alt=Silver|top]]|<!--
--> uran = Uranium"> [[File:Uranium Icon.png|16px|alt=Uranium|top]]|<!--
+
--> uran = Uranium"> [[File:Uranium Icon.png|{{#if:{{{3|}}}|{{{3|}}}|16}}px|alt=Uranium|top]]|<!--
--> med = Medikit{{#ifeq:{{{2|1}}}|1||s}}"> [[File:Medicine Icon.png|16px|alt=Silver|top]]|<!--
+
--> med = Medikit{{#ifeq:{{{2|1}}}|1||s}}"> [[File:Medicine Icon.png|{{#if:{{{3|}}}|{{{3|}}}|16}}px|alt=Silver|top]]|<!--
--> shell = Shell{{#ifeq:{{{2|1}}}|1||s}}"> [[File:Shell Icon.png|16px|alt=Silver|top]]|<!--
+
--> shell = Shell{{#ifeq:{{{2|1}}}|1||s}}"> [[File:Shell Icon.png|{{#if:{{{3|}}}|{{{3|}}}|16}}px|alt=Silver|top]]|<!--
--> missle = Missle{{#ifeq:{{{2|1}}}|1||s}}"> [[File:Missle Icon.png|16px|alt=Silver|top]]|<!--
+
--> missle = Missle{{#ifeq:{{{2|1}}}|1||s}}"> [[File:Missle Icon.png|{{#if:{{{3|}}}|{{{3|}}}|16}}px|alt=Silver|top]]|<!--
--> stone = Stone{{#ifeq:{{{2|1}}}|1||s}}"> [[File:Stone Icon.png|16px|alt=Stone|top]]|<!--
+
--> stone = Stone{{#ifeq:{{{2|1}}}|1||s}}"> [[File:Stone Icon.png|{{#if:{{{3|}}}|{{{3|}}}|16}}px|alt=Stone|top]]|<!--
 
--> }}<nowiki />}} {{#if:{{{2|}}}|{{{2|}}}}}</span></includeonly>
 
--> }}<nowiki />}} {{#if:{{{2|}}}|{{{2|}}}}}</span></includeonly>

Revision as of 20:51, 25 February 2014