Actions

Template

Difference between revisions of "Icon"

From Unofficial Stationeers Wiki

(Add superalloys)
(use proper fallback)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>
+
<includeonly>
 
<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:{{{1|}}}
 
<!-- Meta -->
 
<!-- Meta -->
 
  | time = Time.png{{!}}link={{!}}{{{2|}}} ticks at 2 ticks per second
 
  | time = Time.png{{!}}link={{!}}{{{2|}}} ticks at 2 ticks per second
Line 21: Line 21:
 
  | water = ItemWaterOre.png{{!}}link=Ice (Water)
 
  | water = ItemWaterOre.png{{!}}link=Ice (Water)
 
  <!-- Metals -->
 
  <!-- Metals -->
 +
|cobalt  |Cobalt  |Ingot (Cobalt)  |Cobalt Ingot  |ItemCobaltIngot = ItemCobaltIngot.png{{!}}link=Ingot (Cobalt)
 
  |iron  |Iron  |Ingot (Iron)  |Iron Ingot  |ItemIronIngot = ItemIronIngot.png{{!}}link=Ingot (Iron)
 
  |iron  |Iron  |Ingot (Iron)  |Iron Ingot  |ItemIronIngot = ItemIronIngot.png{{!}}link=Ingot (Iron)
 
  |gold  |Gold  |Ingot (Gold)  |Gold Ingot  |ItemGoldIngot = ItemGoldIngot.png{{!}}link=Ingot (Gold)
 
  |gold  |Gold  |Ingot (Gold)  |Gold Ingot  |ItemGoldIngot = ItemGoldIngot.png{{!}}link=Ingot (Gold)
Line 107: Line 108:
 
  | vending machine = ItemKitVendingMachine.png{{!}}link=Vending Machine
 
  | vending machine = ItemKitVendingMachine.png{{!}}link=Vending Machine
 
  <!-- Machines -->
 
  <!-- Machines -->
  | arc furnace = ItemKitArcFurnace.png{{!}}link=Arc Furnace
+
  | arc furnace = StructureArcFurnace.png{{!}}link=Arc Furnace
 
  | autolathe = ItemKitAutolathe.png{{!}}link=Autolathe
 
  | autolathe = ItemKitAutolathe.png{{!}}link=Autolathe
 
  | centrifuge = ItemKitCentrifuge.png{{!}}link=Centrifuge
 
  | centrifuge = ItemKitCentrifuge.png{{!}}link=Centrifuge
Line 115: Line 116:
 
  | electronics printer = ItemKitElectronicsPrinter.png{{!}}link=Electronics Printer
 
  | electronics printer = ItemKitElectronicsPrinter.png{{!}}link=Electronics Printer
 
  | fabricator = ItemKitFabricator.png{{!}}link=Fabricator
 
  | fabricator = ItemKitFabricator.png{{!}}link=Fabricator
  | furnace = ItemKitFurnace.png{{!}}link=Furnace
+
  | furnace = Furnace.jpg{{!}}link=Furnace
 
  | gyroscope = ItemKitGyroscope.png{{!}}link=Gyroscope
 
  | gyroscope = ItemKitGyroscope.png{{!}}link=Gyroscope
 
  | hydraulic pipe bender = ItemKitHydraulicPipeBender.png{{!}}link=Hydraulic Pipe Bender
 
  | hydraulic pipe bender = ItemKitHydraulicPipeBender.png{{!}}link=Hydraulic Pipe Bender
Line 166: Line 167:
 
  | torpedo tube = ItemTorpedoTube.png{{!}}link=Torpedo Tube
 
  | torpedo tube = ItemTorpedoTube.png{{!}}link=Torpedo Tube
 
  | wall light = ItemWallLight.png{{!}}link=Kit (Lights)
 
  | wall light = ItemWallLight.png{{!}}link=Kit (Lights)
  | #default = Placeholder icon.png{{!}}link={{{1|}}}
+
<!-- Gases & Liquids -->
 +
|gas            |Gas                      = Icon-gas.png{{!}}link=Gas
 +
|oxygen        |Oxygen        |O2  |o2  = Icon-oxygen.png{{!}}link=Oxygen
 +
|nitrogen      |Nitrogen      |N  |n  = Icon-nitrogen.png{{!}}link=Nitrogen
 +
|carbon dioxide |Carbon Dioxide |CO2 |co2 = Icon-carbondioxide.png{{!}}link=Carbon Dioxide
 +
|nitrous oxide  |Nitrous Oxide  |N2O |n2o = Icon-nitrousoxide.png{{!}}link=Nitrous Oxide
 +
|pollutant      |Pollutant      |X  |x  = Icon-pollutant.png{{!}}link=Pollutant
 +
|volatiles      |Volatiles      |H2  |h2  = Icon-volatiles.png{{!}}link=Volatiles
 +
|water          |Water          |H2O |h2o = Icon-water.png{{!}}link=Water
 +
 
 +
  | #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>
 
</div>
 
</div>
</onlyinclude>
+
</includeonly>
{{Documentation|content=
+
<noinclude>{{Documentation}}</noinclude>
 
 
<nowiki>{{icon}}</nowiki>
 
{{icon}}
 
 
 
<nowiki>{{icon|Iron|1}}</nowiki>
 
{{icon|Iron|1}}
 
 
 
<nowiki>{{icon|drill|1}}</nowiki>
 
{{icon|drill|1}}
 
 
 
<nowiki>{{icon|drill}}</nowiki>
 
{{icon|drill}}
 
 
 
<nowiki>{{icon|time|500}}</nowiki>
 
{{icon|time|500}}
 
 
 
<nowiki>{{icon|energy|1000}}</nowiki>
 
{{icon|energy|1000}}
 
}}
 

Latest revision as of 06:13, 1 May 2024

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

Examples[edit]

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