Actions

Template

Difference between revisions of "Icon"

From Unofficial Stationeers Wiki

(adding missing icons)
(use proper fallback)
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
<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
 
  | energy = Energy.png{{!}}link=Power
 
  | energy = Energy.png{{!}}link=Power
 
<!-- Ores -->
 
<!-- Ores -->
 +
|cobalt ore  |Ore (Cobalt)  |Cobalt Ore  |ItemCobaltOre = ItemCobaltOre.png{{!}}link=Ore (Cobalt)
 
  |iron ore  |Ore (Iron)  |Iron Ore  |ItemIronOre = ItemIronOre.png{{!}}link=Ore (Iron)
 
  |iron ore  |Ore (Iron)  |Iron Ore  |ItemIronOre = ItemIronOre.png{{!}}link=Ore (Iron)
 
  |gold ore  |Ore (Gold)  |Gold Ore  |ItemGoldOre = ItemGoldOre.png{{!}}link=Ore (Gold)
 
  |gold ore  |Ore (Gold)  |Gold Ore  |ItemGoldOre = ItemGoldOre.png{{!}}link=Ore (Gold)
Line 12: Line 14:
 
  |nickel ore|Ore (Nickel)|Nickel Ore|ItemNickelOre = ItemNickelOre.png{{!}}link=Ore (Nickel)
 
  |nickel ore|Ore (Nickel)|Nickel Ore|ItemNickelOre = ItemNickelOre.png{{!}}link=Ore (Nickel)
 
  |silicon ore|Ore (Silicon)|Silicon Ore|ItemSiliconOre = ItemSiliconOre.png{{!}}link=Ore (Silicon)
 
  |silicon ore|Ore (Silicon)|Silicon Ore|ItemSiliconOre = ItemSiliconOre.png{{!}}link=Ore (Silicon)
|steel ore |Ore (Steel) |Steel Ore  |ItemSteelOre = ItemSteelOre.png{{!}}link=Steel
 
 
  |coal ore  |Ore (Coal)  |Coal Ore  |ItemCoalOre|carbon|Carbon = ItemCoalOre.png{{!}}link=Coal
 
  |coal ore  |Ore (Coal)  |Coal Ore  |ItemCoalOre|carbon|Carbon = ItemCoalOre.png{{!}}link=Coal
 
  |uranium ore|ItemUranium = ItemUraniumOre.png{{!}}link=Uranium
 
  |uranium ore|ItemUranium = ItemUraniumOre.png{{!}}link=Uranium
Line 20: 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 31: Line 33:
 
  |silicon |Silicon |Ingot (Silicon) |Silicon Ingot |ItemSiliconIngot = ItemSiliconIngot.png{{!}}link=Ingot (Silicon)
 
  |silicon |Silicon |Ingot (Silicon) |Silicon Ingot |ItemSiliconIngot = ItemSiliconIngot.png{{!}}link=Ingot (Silicon)
 
  |electrum|Electrum|Ingot (Electrum)|Electrum Ingot|ItemElectrumIngot = ItemElectrumIngot.png{{!}}link=Ingot (Electrum)
 
  |electrum|Electrum|Ingot (Electrum)|Electrum Ingot|ItemElectrumIngot = ItemElectrumIngot.png{{!}}link=Ingot (Electrum)
 +
|constantan|Constantan|Ingot (Constantan|Constantan Ingot|ItemConstantanIngot = ItemConstantanIngot.png{{!}}link=Ingot (Constantan)
 +
|astroloy|Astroloy|Ingot (Astroloy|Astroloy Ingot|ItemAstroloyIngot = ItemAstroloyIngot.png{{!}}link=Ingot (Astroloy)
 +
|hastelloy|Hastelloy|Ingot (Hastelloy|Hastelloy Ingot|ItemHastelloyIngot = ItemHastelloyIngot.png{{!}}link=Ingot (Hastelloy)
 +
|inconel|Inconel|Ingot (Inconel|Inconel Ingot|ItemInconelIngot = ItemInconelIngot.png{{!}}link=Ingot (Inconel)
 +
|stellite|Stellite|Ingot (Stellite|Stellite Ingot|ItemStelliteIngot = ItemStelliteIngot.png{{!}}link=Ingot (Stellite)
 +
|waspaloy|Waspaloy|Ingot (Waspaloy|Waspaloy Ingot|ItemWaspaloyIngot = ItemWaspaloyIngot.png{{!}}link=Ingot (Waspaloy)
 
  <!-- Atmospherics -->
 
  <!-- Atmospherics -->
 
  | active vent = ItemActiveVent.png{{!}}link=Active Vent
 
  | active vent = ItemActiveVent.png{{!}}link=Active Vent
Line 60: Line 68:
 
  <!-- Electronics -->
 
  <!-- Electronics -->
 
  | battery charger = ItemBatteryCharger.png{{!}}link=Battery Charger
 
  | battery charger = ItemBatteryCharger.png{{!}}link=Battery Charger
  | cable coil = ItemCableCoil.png{{!}}link=Cable Coil
+
| battery cell small = ItemBatteryCell.png{{!}}link=Battery Cell
  | console = ItemConsole.png{{!}}link=Console
+
| battery cell large = ItemBatteryCellLarge.png{{!}}link=Battery Cell
 +
| cable analyzer = ItemCableAnalyser.png{{!}}link=Kit_(Cable_Analyzer)
 +
| beacon = ItemKitBeacon.png{{!}}link=Kit (Beacon)
 +
  | cable coil = ItemCableCoil.png{{!}}link=Cables
 +
| cable coil heavy = ItemCableCoilHeavy.png{{!}}link=Cables
 +
| cable fuses = ItemCableFuse.png{{!}}link=Kit (Cable Fuses)
 +
  | cartridge= ItemCartridge.png{{!}}link=Cartridge
 
  | circuits = ItemCircuits.png{{!}}link=Circuits
 
  | circuits = ItemCircuits.png{{!}}link=Circuits
 
  | circuitboard = Circuitboard.png{{!}}link=Circuitboard
 
  | circuitboard = Circuitboard.png{{!}}link=Circuitboard
Line 71: Line 85:
 
  | circuitboard (power control) = Circuitboard.png{{!}}link=Circuitboard (Power Control)
 
  | circuitboard (power control) = Circuitboard.png{{!}}link=Circuitboard (Power Control)
 
  | circuitboard (solar control) = Circuitboard.png{{!}}link=Circuitboard (Solar Control)
 
  | circuitboard (solar control) = Circuitboard.png{{!}}link=Circuitboard (Solar Control)
  | cartridge= ItemCartridge.png{{!}}link=Cartridge
+
  | console = ItemConsole.png{{!}}link=Console
 
  | data disk = ItemDataDisk.png{{!}}link=Data Disk
 
  | data disk = ItemDataDisk.png{{!}}link=Data Disk
 +
| flashing light = ItemFlashingLight.png{{!}}link=Flashing Light
 +
| handheld tablet = ItemTablet.png{{!}}link=Handheld Tablet
 +
| gas generator = ItemKitGasGenerator.png{{!}}link=Kit (Gas Generator)
 
  | gpr = DynamicGPR.png{{!}}link=Ground Penetrating Radar
 
  | gpr = DynamicGPR.png{{!}}link=Ground Penetrating Radar
 +
| hydroponic station = ItemHydroponicStation.png{{!}}link=Hydroponic Station
 +
| logic io= ItemKitLogicInputOutput.png{{!}}link=Kit (Logic I/O)
 +
| logic memory= ItemKitLogicMemory.png{{!}}link=Kit (Logic Memory)
 +
| logic processor= ItemKitLogicProcessor.png{{!}}link=Kit (Logic Processor)
 +
| logic switch= ItemKitLogicSwitch.png{{!}}link=Kit (Logic Switch)
 
  | motherboards = ItemMotherboards.png{{!}}link=Motherboards
 
  | motherboards = ItemMotherboards.png{{!}}link=Motherboards
 +
| portable generator = DynamicGenerator.png{{!}}link=Portable Generator
 
  | portable light = DynamicLight.png{{!}}link=Portable Light
 
  | portable light = DynamicLight.png{{!}}link=Portable Light
  | power control = ItemAreaPowerControl.png{{!}}link=Power Control
+
| portable solar panel = PortableSolarPanel.png{{!}}link=Portable Solar Panel
  | sensors = ItemSensors.png{{!}}link=Sensors
+
  | power control = ItemAreaPowerControl.png{{!}}link=Power_Controller
 +
| security printer = ItemKitSecurityPrinter.png{{!}}link=Kit (Security Printer)
 +
  | sensors = ItemSensorKit.png{{!}}link=Sensors
 
  | stationary battery = ItemKitBattery.png{{!}}link=Stationary_Battery
 
  | stationary battery = ItemKitBattery.png{{!}}link=Stationary_Battery
 +
| transformer = ItemKitTransformer.png{{!}}link=Transformer
 +
| transformer small = ItemKitTransformerSmall.png{{!}}link=Transformer
 +
| 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 88: 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 96: Line 124:
 
  | recycler = ItemKitRecycler.png{{!}}link=Recycler
 
  | recycler = ItemKitRecycler.png{{!}}link=Recycler
 
  | sleeper = ItemSleeper.png{{!}}link=Sleeper
 
  | sleeper = ItemSleeper.png{{!}}link=Sleeper
  | solar panels = ItemSolarPanels.png{{!}}link=Solar Panels
+
  | solar panel = ItemKitSolarPanel.png{{!}}link=Solar Panel
  | solid fuel generator = ItemSolidFuelGenerator.png{{!}}link=Solid Fuel Generator
+
  | solid fuel generator = ItemKitSolidGenerator.png{{!}}link=Solid Fuel Generator
 
  | stacker = ItemKitStacker.png{{!}}link=Stacker
 
  | stacker = ItemKitStacker.png{{!}}link=Stacker
 
  | tool manufactory = ItemKitToolManufactory.png{{!}}link=Tool Manufactory
 
  | tool manufactory = ItemKitToolManufactory.png{{!}}link=Tool Manufactory
Line 139: 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>
 +
</includeonly>
 +
<noinclude>{{Documentation}}</noinclude>

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