Template:Icon: Difference between revisions

From Subnautica Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{#switch:{{{1|{{PAGENAME}}}}}
{{#switch:{{{1|{{PAGENAME}}}}}

|Advanced Wiring Kit=
{{IconCreate
|icon=Advanced Wiring Kit
|width={{{width|128}}}
}}

|Aerogel=
{{IconCreate
|icon=Aerogel
|width={{{width|128}}}
}}

|Air Bladder=
{{IconCreate
|icon=Air Bladder
|width={{{width|128}}}
}}

|Alien Containmenet=
{{IconCreate
|icon=Alien Containment
|width={{{width|128}}}
}}

|Aquarium=
{{IconCreate
|icon=Aquarium
|width={{{width|128}}}
}}

|Arctic Peeper=
{{IconCreate
|icon=Arctic Peeper
|width={{{width|128}}}
}}

|Arrow Ray=
{{IconCreate
|icon=Arrow Ray
|width={{{width|128}}}
}}

|Bar Table=
{{IconCreate
|icon=Bar Table
|width={{{width|128}}}
}}

|Base-attached Air Pump=
{{IconCreate
|icon=Base-attached Air Pump
|width={{{width|128}}}
}}

|Basic Double Bed=
{{IconCreate
|icon=Basic Double Bed
|width={{{width|128}}}
}}

|Battery=
{{IconCreate
|icon=Battery
|width={{{width|128}}}
}}

|Battery Charger=
{{IconCreate
|icon=Battery Charger
|width={{{width|128}}}
}}

|Bench=
{{IconCreate
|icon=Bench
|width={{{width|128}}}
}}

|Benzene=
{{IconCreate
|icon=Benzene
|width={{{width|128}}}
}}

|Bioreactor=
{{IconCreate
|icon=Bioreactor
|width={{{width|128}}}
}}

|Bioscanner=
{{IconCreate
|icon=Bioscanner
|width={{{width|128}}}
}}

|Bladderfish=
{{IconCreate
|icon=Bladderfish
|width={{{width|128}}}
}}

|Bleach=
{{IconCreate
|icon=Bleach
|width={{{width|128}}}
}}

|Bulkhead=
{{IconCreate
|icon=Bulkhead
|width={{{width|128}}}
}}

|Coffee Americano=
{{IconCreate
|icon=Coffee Americano
|width={{{width|128}}}
}}

|Coffee Vending Machine=
{{IconCreate
|icon=Coffee Vending Machine
|width={{{width|128}}}
}}

|Cold Suit=
{{IconCreate
|icon=Cold Suit
|bg=2x2
|width={{{width|128}}}
}}

|Cold Suit Gloves=
{{IconCreate
|icon=Cold Suit Gloves
|bg=2x2
|width={{{width|128}}}
}}

|Cold Suit Helmet=
{{IconCreate
|icon=Cold Suit Helmet
|bg=2x2
|width={{{width|128}}}
}}


|Control Room=
|Control Room=
Line 10: Line 157:
{{IconCreate
{{IconCreate
|icon=Feather Fish
|icon=Feather Fish
|width={{{width|128}}}
}}
}}


Line 15: Line 163:
{{IconCreate
{{IconCreate
|icon=Cooked Feather Fish
|icon=Cooked Feather Fish
|width={{{width|128}}}
}}
}}


Line 20: Line 169:
{{IconCreate
{{IconCreate
|icon=Cured Feather Fish
|icon=Cured Feather Fish
|width={{{width|128}}}
}}
}}


Line 25: Line 175:
{{IconCreate
{{IconCreate
|icon=Feather Fish (Red)
|icon=Feather Fish (Red)
|width={{{width|128}}}
}}
}}


Line 30: Line 181:
{{IconCreate
{{IconCreate
|icon=Cooked Feather Fish (Red)
|icon=Cooked Feather Fish (Red)
|width={{{width|128}}}
}}
}}


Line 35: Line 187:
{{IconCreate
{{IconCreate
|icon=Cured Feather Fish (Red)
|icon=Cured Feather Fish (Red)
|width={{{width|128}}}
}}

|Foundation=
{{IconCreate
|icon=Foundation
|width={{{width|128}}}
}}

|Habitat Builder=
{{IconCreate
|icon=Habitat Builder
|width={{{width|128}}}
}}

|Hatch=
{{IconCreate
|icon=Hatch
|width={{{width|128}}}
}}
}}


Line 41: Line 212:
|icon=Heat Fruit
|icon=Heat Fruit
|bg=1x2 green
|bg=1x2 green
|width=128
|width={{{width|128}}}
|height=256
|height={{{height|256}}}
}}

|I Compartment=
{{IconCreate
|icon=I Compartment
|width={{{width|128}}}
}}

|I Glass Compartment=
{{IconCreate
|icon=I Glass Compartment
|width={{{width|128}}}
}}
}}


Line 48: Line 231:
{{IconCreate
{{IconCreate
|icon=Jukebox
|icon=Jukebox
|width={{{width|128}}}
}}
}}


Line 53: Line 237:
{{IconCreate
{{IconCreate
|icon=Jukebox Speaker
|icon=Jukebox Speaker
|width={{{width|128}}}
}}

|L Compartment=
{{IconCreate
|icon=L Compartment
|width={{{width|128}}}
}}

|L Glass Compartment=
{{IconCreate
|icon=L Glass Compartment
|width={{{width|128}}}
}}

|Ladder=
{{IconCreate
|icon=Ladder
|width={{{width|128}}}
}}

|Large Filtered Water=
{{IconCreate
|icon=Large Filtered Water
|width={{{width|128}}}
}}
}}


Line 58: Line 267:
{{IconCreate
{{IconCreate
|icon=Large Room
|icon=Large Room
|width={{{width|128}}}
}}
}}


Line 63: Line 273:
{{IconCreate
{{IconCreate
|icon=Large Room Glass Dome
|icon=Large Room Glass Dome
|width={{{width|128}}}
}}
}}


Line 68: Line 279:
{{IconCreate
{{IconCreate
|icon=Large Room Partition
|icon=Large Room Partition
|width={{{width|128}}}
}}
}}


Line 73: Line 285:
{{IconCreate
{{IconCreate
|icon=Large Room Partition Door
|icon=Large Room Partition Door
|width={{{width|128}}}
}}
}}


Line 78: Line 291:
{{IconCreate
{{IconCreate
|icon=Mineral Detector
|icon=Mineral Detector
|width={{{width|128}}}
}}

|Moonpool=
{{IconCreate
|icon=Moonpool
|width={{{width|128}}}
}}

|Multipurpose Room=
{{IconCreate
|icon=Multipurpose Room
|width={{{width|128}}}
}}
}}


Line 83: Line 309:
{{IconCreate
{{IconCreate
|icon=Multipurpose Room Glass Dome
|icon=Multipurpose Room Glass Dome
|width={{{width|128}}}
}}

|Nuclear Reactor=
{{IconCreate
|icon=Nuclear Reactor
|width={{{width|128}}}
}}

|Observatory=
{{IconCreate
|icon=Observatory
|width={{{width|128}}}
}}

|Quilted Double Bed=
{{IconCreate
|icon=Quilted Double Bed
|width={{{width|128}}}
}}
}}


Line 88: Line 333:
{{IconCreate
{{IconCreate
|icon=Red Tablet
|icon=Red Tablet
|width={{{width|128}}}
}}

|Reinforcement=
{{IconCreate
|icon=Reinforcement
|width={{{width|128}}}
}}

|Ruby=
{{IconCreate
|icon=Ruby
|width={{{width|128}}}
}}

|Scanner Room=
{{IconCreate
|icon=Scanner Room
|width={{{width|128}}}
}}

|Single Bed=
{{IconCreate
|icon=Single Bed
|width={{{width|128}}}
}}
}}


Line 93: Line 363:
{{IconCreate
{{IconCreate
|icon=Snow Stalker Fur
|icon=Snow Stalker Fur
|width={{{width|128}}}
}}

|Synthetic Fibers=
{{IconCreate
|icon=Synthetic Fibers
|width={{{width|128}}}
}}

|T Compartment=
{{IconCreate
|icon=T Compartment
|width={{{width|128}}}
}}
}}


Line 99: Line 382:
|icon=Unknown
|icon=Unknown
|link=Template:Icon
|link=Template:Icon
|width={{{width|128}}}
}}
}}


Line 104: Line 388:
{{IconCreate
{{IconCreate
|icon=Uranium
|icon=Uranium
|width={{{width|128}}}
}}

|Vehicle Upgrade Console=
{{IconCreate
|icon=Vehicle Upgrade Console
|width={{{width|128}}}
}}

|Vertical Connector=
{{IconCreate
|icon=Vertical Connector
|width={{{width|128}}}
}}

|Wall Planter=
{{IconCreate
|icon=Wall Planter
|width={{{width|128}}}
}}

|Wall-Mounted Foundation=
{{IconCreate
|icon=Wall-Mounted Foundation
|width={{{width|128}}}
}}

|Water Filtration Machine=
{{IconCreate
|icon=Water Filtration Machine
|width={{{width|128}}}
}}

|Window=
{{IconCreate
|icon=Window
|width={{{width|128}}}
}}

|X Compartment=
{{IconCreate
|icon=X Compartment
|width={{{width|128}}}
}}
}}



Revision as of 05:18, 12 July 2019

1x1 default bg.png
Unknown Icon.png

Template used for pre-created icons using the {{IconCreate}} template.

Usage

Input:

{{IconCreate|icon=Flashlight|bg=normal|width=60|height=60}}

Output:

1x1 default bg.png
Flashlight Icon.png
  • icon: Desired item icon. Name should be according to exact in-game item name.
  • bg: Background color/size of icon. List of different backgrounds and corresponding template code can be found below. Defaults to normal blue 1x1 background.
  • width/height: Width and height of icon in pixels. Default is generally 128, height is equal to width unless defined specifically.

Backgrounds