Actions

Template

Difference between revisions of "Icon"

From Unofficial Stationeers Wiki

(adding logic processors icons)
m (Add Documentation)
Line 1: Line 1:
 +
<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:{{lc:{{{1|}}}}}
Line 163: Line 164:
 
<div class="{{{icon-text-class|stationeers-icon-text}}}" style="position: absolute;bottom: 0;right: 3px;color: #fff;font-size: larger;font-weight: bold;text-shadow: 0px 1px 1px #000,0px -1px 1px #000,1px 0px 1px #000,-1px 0px 1px #000;pointer-events: none;">{{{2|}}}</div>
 
<div class="{{{icon-text-class|stationeers-icon-text}}}" style="position: absolute;bottom: 0;right: 3px;color: #fff;font-size: larger;font-weight: bold;text-shadow: 0px 1px 1px #000,0px -1px 1px #000,1px 0px 1px #000,-1px 0px 1px #000;pointer-events: none;">{{{2|}}}</div>
 
</div>
 
</div>
 +
</includeonly>
 +
{{Documentation|content=
 +
 +
<nowiki>{{icon}}</nowiki>
 +
{{icon}}
 +
 +
<nowiki>{{icon|Iron|1}}</nowiki>
 +
{{icon|Iron|1}}
 +
 +
<nowiki>{{icon|drill|1}}</nowiki>
 +
{{icon|drill|1}}
 +
 +
<nowiki>{{icon|drill}}</nowiki>
 +
{{icon|drill}}
 +
 +
<nowiki>{{icon|time|500}}</nowiki>
 +
{{icon|time|500}}
 +
 +
<nowiki>{{icon|energy|1000}}</nowiki>
 +
{{icon|energy|1000}}
 +
}}

Revision as of 20:12, 11 November 2020

Template documentation

{{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