The wiki has moved!

Visit the new wiki at stationeers-wiki.com The old wiki here at legacy.stationeers-wiki.com will sunset eventually.

Edits made after the 7th of March 6PM EST were NOT carried over to the new server as previously announced right here in this box.

 Actions

Template

Difference between revisions of "Icon"

From Unofficial Stationeers Wiki

(allow custom link on fallback)
(Add hydrogen/hcl to template (no images added))
 
(One intermediate revision 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                     = Icon-gas.png{{!}}link=Gas
+
  |gas               |Gas                                 = Icon-gas.png{{!}}link=Gas
  |oxygen         |Oxygen         |O2  |o2 = Icon-oxygen.png{{!}}link=Oxygen
+
  |oxygen           |Oxygen           |O2  |o2         = Icon-oxygen.png{{!}}link=Oxygen
  |nitrogen       |Nitrogen       |N  |n  = Icon-nitrogen.png{{!}}link=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 |N2O |n2o = Icon-nitrousoxide.png{{!}}link=Nitrous Oxide
+
  |nitrous oxide     |Nitrous Oxide     |N2O |n2o         = Icon-nitrousoxide.png{{!}}link=Nitrous Oxide
  |pollutant     |Pollutant     |X  |x   = Icon-pollutant.png{{!}}link=Pollutant
+
  |pollutant         |Pollutant         |X  |x           = Icon-pollutant.png{{!}}link=Pollutant
  |volatiles     |Volatiles     |H2  |h2 = Icon-volatiles.png{{!}}link=Volatiles
+
  |volatiles         |Volatiles         |H2  |h2         = Icon-volatiles.png{{!}}link=Volatiles
  |water         |Water         |H2O |h2o = Icon-water.png{{!}}link=Water
+
  |water             |Water             |H2O |h2o         = Icon-water.png{{!}}link=Water
 
+
|hydrogen          |Hydrogen          |H2  |h2          = Icon-hydrogen.png{{!}}link=Hydrogen
  | #default = {{#ifexist: File:{{1|}}.png | File:{{1|}}.png| Placeholder icon.png }} {{!}}link={{#if: {{{2|}}} | {{{2|}}} | {{ #ifexist: {{{1|}}} | {{{1|}}} }} }}
+
|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 04:22, 28 February 2026

Template documentation[view] [edit] [history] [purge]

Examples

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


{{icon|oxygen}}

Icon-oxygen.png