Template:Icon: Difference between revisions
Template page
More actions
Emilgardis (talk | contribs) try to fix wrong expansion |
Add hydrogen/hcl to template (no images added) |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 168: | Line 168: | ||
| wall light = ItemWallLight.png{{!}}link=Kit (Lights) | | wall light = ItemWallLight.png{{!}}link=Kit (Lights) | ||
<!-- Gases & Liquids --> | <!-- Gases & Liquids --> | ||
|gas | |gas |Gas = Icon-gas.png{{!}}link=Gas | ||
|oxygen | |oxygen |Oxygen |O2 |o2 = Icon-oxygen.png{{!}}link=Oxygen | ||
|nitrogen | |nitrogen |Nitrogen |N |n |N2 |n2 = Icon-nitrogen.png{{!}}link=Nitrogen | ||
|carbon dioxide |Carbon Dioxide |CO2 |co2 = Icon-carbondioxide.png{{!}}link=Carbon Dioxide | |carbon dioxide |Carbon Dioxide |CO2 |co2 = Icon-carbondioxide.png{{!}}link=Carbon Dioxide | ||
|nitrous oxide | |nitrous oxide |Nitrous Oxide |N2O |n2o = Icon-nitrousoxide.png{{!}}link=Nitrous Oxide | ||
|pollutant | |pollutant |Pollutant |X |x = Icon-pollutant.png{{!}}link=Pollutant | ||
|volatiles | |volatiles |Volatiles |H2 |h2 = Icon-volatiles.png{{!}}link=Volatiles | ||
|water | |water |Water |H2O |h2o = Icon-water.png{{!}}link=Water | ||
| #default = Placeholder icon.png{{!}}link={{{1|}}} | |hydrogen |Hydrogen |H2 |h2 = Icon-hydrogen.png{{!}}link=Hydrogen | ||
|hydrochloric_acid |Hydrochloric Acid |HCl |hcl = Icon-hydrochloric-acid.png{{!}}link=Hydrochloric Acid | |||
| #default = {{#ifexist: File:{{1|}}.png | File:{{1|}}.png| Placeholder icon.png }} {{!}}link={{#if: {{{3|}}} | {{{3|}}} | {{ #ifexist: {{{1|}}} | {{{1|}}} }} }} | |||
}}|{{{size|32px}}}]] | }}|{{{size|32px}}}]] | ||
<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> | ||
Latest revision as of 09:22, 28 February 2026
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. |