Difference between revisions of "Icon"
From Unofficial Stationeers Wiki
Line 1: | Line 1: | ||
− | <div class="stationeers-icon" style="display: inline-block;margin: 5px;position: relative;padding: 3px;width: 32px;height: 32px;border: 1px solid #4B4543;background-color:#{{{color|929292}}};">{{#ifexist: File:{{ConvertName|{{{1}}}}}.png | [[File:{{ConvertName|{{{1}}}}}.png{{!}}32px{{!}}link={{{3|{{{1}}}{{If language suffix}}}}}]] | [[File:Placeholder icon.png{{!}}link=]] <includeonly><div style="display:none;">[[File:{{ConvertName|{{{1}}}}}.png{{!}}32px]]</div></includeonly>}}<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><noinclude>{{doc}} | + | <div class="stationeers-icon" style="display: inline-block;margin: 5px;position: relative;padding: 3px;width: 32px;height: 32px;border: 1px solid #4B4543;background-color:#{{{color|929292}}};">{{#ifexist: File:{{ConvertName|{{{1}}}}}.png | [[File:{{ConvertName|{{{1}}}}}.png{{!}}32px{{!}}link={{{3|{{{1}}}{{If language suffix}}}}}]] | [[File:Placeholder icon.png{{!}}link=]] <includeonly><div style="display:none;">[[File:{{ConvertName|{{{1}}}}}.png{{!}}32px]]</div></includeonly>}}<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><noinclude>{{doc}}</noinclude> |
− | </noinclude> |
Revision as of 11:54, 13 January 2018
Examples
{{icon}}
{{icon|Iron|1}}
{{icon|drill|1}}
{{icon|drill}}
{{icon|time|500}}
{{icon|energy|1000}}
{{icon|oxygen}}
The above documentation is transcluded from Template:Icon/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |