Actions

Template

Difference between revisions of "Icon"

From Unofficial Stationeers Wiki

(use proper fallback)
 
(48 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<div class="stationeers-icon" style="display: inline-block;margin: 5px;position: relative;padding: 3px;width: 32px;height: 32px;border: 1px solid #4B4543;background-color:#{{{color|929292}}};">{{#ifexist: File:{{ConvertName|{{{1}}}}}.png | [[File:{{ConvertName|{{{1}}}}}.png{{!}}32px{{!}}link={{{3|{{{1}}}{{If language suffix}}}}}]] | [[File:Placeholder icon.png{{!}}link=]] <includeonly><div style="display:none;">[[File:{{ConvertName|{{{1}}}}}.png{{!}}32px]]</div></includeonly>}}<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><noinclude>{{doc}}</noinclude>
+
<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|}}};">
 +
[[File:{{#switch:{{{1|}}}
 +
<!-- Meta -->
 +
| time = Time.png{{!}}link={{!}}{{{2|}}} ticks at 2 ticks per second
 +
| energy = Energy.png{{!}}link=Power
 +
<!-- 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)
 +
|gold ore  |Ore (Gold)  |Gold Ore  |ItemGoldOre = ItemGoldOre.png{{!}}link=Ore (Gold)
 +
|copper ore|Ore (Copper)|Copper Ore|ItemCopperOre = ItemCopperOre.png{{!}}link=Ore (Copper)
 +
|silver ore|Ore (Silver)|Silver Ore|ItemSilverOre = ItemSilverOre.png{{!}}link=Ore (Silver)
 +
|lead ore  |Ore (Lead)  |Lead Ore  |ItemLeadOre = ItemLeadOre.png{{!}}link=Ore (Lead)
 +
|nickel ore|Ore (Nickel)|Nickel Ore|ItemNickelOre = ItemNickelOre.png{{!}}link=Ore (Nickel)
 +
|silicon ore|Ore (Silicon)|Silicon Ore|ItemSiliconOre = ItemSiliconOre.png{{!}}link=Ore (Silicon)
 +
|coal ore  |Ore (Coal)  |Coal Ore  |ItemCoalOre|carbon|Carbon = ItemCoalOre.png{{!}}link=Coal
 +
|uranium ore|ItemUranium = ItemUraniumOre.png{{!}}link=Uranium
 +
<!-- Ice -->
 +
| oxite = ItemOxiteOre.png{{!}}link=Ice (Oxite)
 +
| volatile = ItemVolatileOre.png{{!}}link=Ice (Volatile)
 +
| water = ItemWaterOre.png{{!}}link=Ice (Water)
 +
<!-- 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)
 +
|gold  |Gold  |Ingot (Gold)  |Gold Ingot  |ItemGoldIngot = ItemGoldIngot.png{{!}}link=Ingot (Gold)
 +
|copper|Copper|Ingot (Copper)|Copper Ingot|ItemCopperIngot = ItemCopperIngot.png{{!}}link=Ingot (Copper)
 +
|silver|Silver|Ingot (Silver)|Silver Ingot|ItemSilverIngot = ItemSilverIngot.png{{!}}link=Ingot (Silver)
 +
|lead  |Lead  |Ingot (Lead)  |Lead Ingot  |ItemLeadIngot = ItemLeadIngot.png{{!}}link=Ingot (Lead)
 +
|nickel|Nickel|Ingot (Nickel)|Nickel Ingot|ItemNickelIngot = ItemNickelIngot.png{{!}}link=Ingot (Nickel)
 +
|steel |Steel |Ingot (Steel) |Steel Ingot |ItemSteelIngot = ItemSteelIngot.png{{!}}link=Ingot (Steel)
 +
|invar |Invar |Ingot (Invar) |Invar Ingot |ItemInvarIngot = ItemInvarIngot.png{{!}}link=Ingot (Invar)
 +
|solder|Solder|Ingot (Solder)|Solder Ingot|ItemSolderIngot = ItemSolderIngot.png{{!}}link=Ingot (Solder)
 +
|silicon |Silicon |Ingot (Silicon) |Silicon Ingot |ItemSiliconIngot = ItemSiliconIngot.png{{!}}link=Ingot (Silicon)
 +
|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 -->
 +
| active vent = ItemActiveVent.png{{!}}link=Active Vent
 +
| passive vent = ItemPassiveVent.png{{!}}link=Pssive Vent
 +
| gas sensor = ItemGasSensor.png{{!}}link=Gas Sensor
 +
| pipes = ItemPipeStraight.png{{!}}link=Pipe
 +
| pipe analyzer = ItemPipeAnalyzer.png{{!}}link=Pipe Analyzer
 +
| pipe digital valve = ItemPipeDigitalValve.png{{!}}link=Pipe Digital Valve
 +
| pipe gas mixer = ItemPipeGasMixer.png{{!}}link=Pipe Gas Mixer
 +
| pipe valve = ItemPipeValve.png{{!}}link=Pipe Valve
 +
| pipe volume pump = ItemPipeVolumePump.png{{!}}link=Pipe Volume Pump
 +
| pressure regulator = ItemPressureRegulator.png{{!}}link=Pressure Regulator
 +
<!-- Tools -->
 +
| angle grinder = ItemAngleGrinder.png{{!}}link=Angle Grinder
 +
| cable cutters = ItemCableCutters.png{{!}}link=Cable Cutters
 +
| crowbar = ItemCrowbar.png{{!}}link=Crowbar
 +
| drill = ItemDrill.png{{!}}link=Drill
 +
| duct tape = ItemDuctTape.png{{!}}link=Duct Tape
 +
| tablet = ItemTablet.png{{!}}link=Tablet
 +
| labeller = ItemLabeller.png{{!}}link=Labeller
 +
| lightsword = ItemLightsword.png{{!}}link=Lightsword
 +
| mining drill = ItemMiningDrill.png{{!}}link= Mining Drill
 +
| road flare = ItemRoadFlare.png{{!}}link=Road Flare
 +
| screwdriver = ItemScrewdriver.png{{!}}link=Screwdriver
 +
| spray can = ItemSprayCan.png{{!}}link=Spray Can
 +
| welder = ItemWelder.png{{!}}link=Welder
 +
| wrench = ItemWrench.png{{!}}link=Wrench
 +
| book = ItemBook.png{{!}}link=Book
 +
<!-- Electronics -->
 +
| battery charger = ItemBatteryCharger.png{{!}}link=Battery Charger
 +
| battery cell small = ItemBatteryCell.png{{!}}link=Battery Cell
 +
| 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
 +
| circuitboard = Circuitboard.png{{!}}link=Circuitboard
 +
| circuitboard (air control) = Circuitboard.png{{!}}link=Circuitboard (Air Control)
 +
| circuitboard (airlock control) = Circuitboard.png{{!}}link=Circuitboard (Airlock Control)
 +
| circuitboard (door control) = Circuitboard.png{{!}}link=Circuitboard (Door Control)
 +
| circuitboard (gas control) = Circuitboard.png{{!}}link=Circuitboard (Gas Control)
 +
| circuitboard (mode control) = Circuitboard.png{{!}}link=Circuitboard (Mode Control)
 +
| circuitboard (power control) = Circuitboard.png{{!}}link=Circuitboard (Power Control)
 +
| circuitboard (solar control) = Circuitboard.png{{!}}link=Circuitboard (Solar Control)
 +
| console = ItemConsole.png{{!}}link=Console
 +
| 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
 +
| 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
 +
| portable generator = DynamicGenerator.png{{!}}link=Portable Generator
 +
| portable light = DynamicLight.png{{!}}link=Portable Light
 +
| portable solar panel = PortableSolarPanel.png{{!}}link=Portable Solar Panel
 +
| 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
 +
| transformer = ItemKitTransformer.png{{!}}link=Transformer
 +
| transformer small = ItemKitTransformerSmall.png{{!}}link=Transformer
 +
| vending machine = ItemKitVendingMachine.png{{!}}link=Vending Machine
 +
<!-- Machines -->
 +
| arc furnace = StructureArcFurnace.png{{!}}link=Arc Furnace
 +
| autolathe = ItemKitAutolathe.png{{!}}link=Autolathe
 +
| centrifuge = ItemKitCentrifuge.png{{!}}link=Centrifuge
 +
| computer = ItemKitComputer.png{{!}}link=Computer
 +
| console = ItemKitConsole.png{{!}}link=Console
 +
| cryotube = ItemKitCryotube.png{{!}}link=Cryotube
 +
| electronics printer = ItemKitElectronicsPrinter.png{{!}}link=Electronics Printer
 +
| fabricator = ItemKitFabricator.png{{!}}link=Fabricator
 +
| furnace = Furnace.jpg{{!}}link=Furnace
 +
| gyroscope = ItemKitGyroscope.png{{!}}link=Gyroscope
 +
| hydraulic pipe bender = ItemKitHydraulicPipeBender.png{{!}}link=Hydraulic Pipe Bender
 +
| microwave = ItemKitMicrowave.png{{!}}link=Microwave
 +
| pipe radiator = ItemKitPipeRadiator.png{{!}}link=Pipe Radiator
 +
| reagent processor = ItemReagentProcessor.png{{!}}link=Reagent Processor
 +
| recycler = ItemKitRecycler.png{{!}}link=Recycler
 +
| sleeper = ItemSleeper.png{{!}}link=Sleeper
 +
| solar panel = ItemKitSolarPanel.png{{!}}link=Solar Panel
 +
| solid fuel generator = ItemKitSolidGenerator.png{{!}}link=Solid Fuel Generator
 +
| stacker = ItemKitStacker.png{{!}}link=Stacker
 +
| tool manufactory = ItemKitToolManufactory.png{{!}}link=Tool Manufactory
 +
| wall cooler = ItemWallCooler.png{{!}}link=Wall Cooler
 +
| wall heater = ItemWallHeater.png{{!}}link=Wall Heater
 +
| chemistry station = ItemChemistryStation.png{{!}}link=Chemistry Station
 +
| reagent processor = ItemReagentProcessor.png{{!}}link=Reagent Processor
 +
<!-- Buildables -->
 +
| locker = ItemKitLocker.png{{!}}link=Locker
 +
| airlock = ItemKitAirlock.png{{!}}link=Airlock
 +
| chutes = ItemKitChute.png{{!}}link=Chutes
 +
| iron walls = ItemKitWallIron.png{{!}}link=Iron Walls
 +
| iron frames = ItemIronFrames.png{{!}}link=Iron Frames
 +
| composite walls = ItemCompositeWalls.png{{!}}link=Composite Walls
 +
| composite windows = ItemCompositeWindows.png{{!}}link=Composite Windows
 +
| composite doors = ItemCompositeDoors.png{{!}}link=Composite Doors
 +
| glass doors = ItemGlassDoors.png{{!}}link=Glass Doors
 +
| blast doors = ItemBlastDoors.png{{!}}link=Blast Doors
 +
| kit door = ItemKitDoor.png{{!}}link=Kit (Door)
 +
| kit cladding = ItemKitCompositeCladding.png{{!}}link=Kit_(Cladding))
 +
| kit container mount = ItemKitCrateMount.png{{!}}link=Kit (Container Mount)
 +
| kit crate = ItemKitCrate.png{{!}}link=Kit (Crate)
 +
| steel walls = ItemSteelWalls.png{{!}}link=Steel Walls
 +
| steel frames = ItemSteelFrames.png{{!}}link=Steel Frames
 +
| iron sheets = ItemSteelSheets.png{{!}}link=Iron Sheets
 +
| steel sheets = ItemSteelSheets.png{{!}}link=Steel_Sheets
 +
| glass sheets = ItemGlassSheets.png{{!}}link=Glass Sheets
 +
| stairs = ItemKitStairs.png{{!}}link=Stairs
 +
| floor grating = ItemCompositeFloorGrating.png{{!}}link=Floor Grating
 +
| bench = ItemBench.png{{!}}link=Bench
 +
| chair = ItemChair.png{{!}}link=Chair
 +
| control chair = ItemControlChair.png{{!}}link=Control Chair
 +
| igniter = ItemIgniter.png{{!}}link=Igniter
 +
| rtg = ItemRTG.png{{!}}link=RTG
 +
| scanner = ItemScanner.png{{!}}link=Scanner
 +
| sign = ItemKitSign.png{{!}}link=Sign
 +
| security camera = ItemSecurityCamera.png{{!}}link=Security Camera
 +
| sleeper = ItemSleeper.png{{!}}link=Sleeper
 +
| stellar anchor = ItemStellarAnchor.png{{!}}link=Stellar Anchor
 +
| suit storage = ItemSuitStorage.png{{!}}link=Suit Storage
 +
| torpedo tube = ItemTorpedoTube.png{{!}}link=Torpedo Tube
 +
| wall light = ItemWallLight.png{{!}}link=Kit (Lights)
 +
<!-- 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}}}]]
 +
<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>
 +
</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