Actions

Template

Difference between revisions of "Icon"

From Unofficial Stationeers Wiki

(Add gases and liquids)
(try to fix wrong expansion)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<div class="stationeers-icon" style="display: inline-block;margin-left: 5px;margin-right: 5px;position: relative;padding: 1px;width: 32px;height: 32px;background-color:{{{color|}}};">
 
<div class="stationeers-icon" style="display: inline-block;margin-left: 5px;margin-right: 5px;position: relative;padding: 1px;width: 32px;height: 32px;background-color:{{{color|}}};">
[[File:{{#switch:{{lc:{{{1|}}}}}
+
[[File:{{#switch:{{{1|}}}
 
<!-- Meta -->
 
<!-- Meta -->
 
  | time = Time.png{{!}}link={{!}}{{{2|}}} ticks at 2 ticks per second
 
  | time = Time.png{{!}}link={{!}}{{{2|}}} ticks at 2 ticks per second

Revision as of 06:04, 1 May 2024

Template documentation[view] [edit] [history] [purge]

Examples

{{icon}}

Placeholder icon.png


{{icon|Iron|1}}

ItemIronIngot.png

1


{{icon|drill|1}}

ItemDrill.png

1


{{icon|drill}}

ItemDrill.png


{{icon|time|500}}

500 ticks at 2 ticks per second

500


{{icon|energy|1000}}

Energy.png

1000


{{icon|oxygen}}

Icon-oxygen.png