Template:Icon: Difference between revisions
Template page
More actions
JavaSkeptre (talk | contribs) m Add Documentation |
JavaSkeptre (talk | contribs) m Fix |
||
| Line 1: | Line 1: | ||
< | <onlyinclude> | ||
<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 164: | 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> | ||
</ | </onlyinclude> | ||
{{Documentation|content= | {{Documentation|content= | ||
Revision as of 02:13, 12 November 2020
{{icon}}
{{icon|Iron|1}}
{{icon|drill|1}}
{{icon|drill}}
{{icon|time|500}}
{{icon|energy|1000}}
| 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. Subpages of this template. |