Difference between revisions of "Icon"
From Unofficial Stationeers Wiki
(Created page with "<div class="stationeers-icon" style="background-color:#{{{color|929292}}};">{{#ifexist: File:{{ConvertName|{{{1}}}}}.png | File:{{ConvertName|{{{1}}}}}.png{{!}}32px{{!}}link...") |
|||
Line 1: | Line 1: | ||
− | <div class="stationeers-icon" style="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}}}">{{{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}}}">{{{2|}}}</div></div><noinclude>{{doc}} |
</noinclude> | </noinclude> |
Revision as of 11:42, 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. |