Template:Icon: Difference between revisions

From Subnautica Wiki
mNo edit summary
(Added picture and poster icons)
 
(27 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{#switch:{{{1|{{PAGENAME}}}}}
{{#switch:{{{1|{{#replace:{{PAGENAME}}| (Below Zero)|}}}}}


|Resources=
|Resources=
{{IconCreate
{{IconCreate
|icon=Resources
|icon=Resources
|width={{{width|92}}}
|width={{{width|92}}}y
|bg = category
|bg = category
}}
}}
Line 113: Line 113:
{{IconCreate
{{IconCreate
|icon=Alien Containment
|icon=Alien Containment
|width={{{width|128}}}
}}

|Antennae Plant=
{{IconCreate
|icon=Antennae Plant
|width={{{width|128}}}
|bg=plant
}}

|Antennae Seed=
{{IconCreate
|icon=Antennae Seed
|width={{{width|128}}}
|bg=plant
}}

|Antennae Fruit=
{{IconCreate
|icon=Antennae Fruit
|bg=1x2 plant
|width={{{width|128}}}
|height={{{height|256}}}
}}

|Antidote=
{{IconCreate
|icon=Antidote
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 383: Line 411:
|icon=Bulkhead
|icon=Bulkhead
|width={{{width|128}}}
|width={{{width|128}}}
}}

|Bullseye Shroom=
{{IconCreate
|icon=Bullseye Shroom
|width={{{width|128}}}
|bg=plant
}}

|Bullseye Shroom Chunk=
{{IconCreate
|icon=Bullseye Shroom Chunk
|width={{{width|128}}}
|bg=plant
}}
}}


Line 389: Line 431:
|icon=Camera Drone
|icon=Camera Drone
|bg=2x2
|bg=2x2
|width={{{width|128}}}
}}

|Cave Bush Seed=
{{IconCreate
|icon=Cave Bush Seed
|bg=2x2 plant
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 583: Line 632:
|width={{{width|128}}}
|width={{{width|128}}}
|bg=plant
|bg=plant
}}

|Default Poster=
{{IconCreate
|icon=Default Poster
|width={{{width|128}}}
}}
}}


Line 754: Line 809:
}}
}}


|Flower Spore=
|Flowering Spore=
{{IconCreate
{{IconCreate
|icon=Flower Spore
|icon=Flowering Spore
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 799: Line 854:
}}
}}


|Frozen River Plant 02=
|Frost Vase Plant=
{{IconCreate
{{IconCreate
|icon=Frozen River Plant 02
|icon=Frost Vase Plant
|bg=green
|bg=green
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}


|Frozen River Plant 02 Seed=
|Frost Vase Plant Seed=
{{IconCreate
{{IconCreate
|icon=Frozen River Plant 02 Seed
|icon=Frost Vase Plant Seed
|bg=green
|bg=green
|width={{{width|128}}}
}}

|Gas Torpedo=
{{IconCreate
|icon=Gas Torpedo
|bg=normal
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 863: Line 925:
{{IconCreate
{{IconCreate
|icon=Habitat Builder
|icon=Habitat Builder
|width={{{width|128}}}
}}

|Hardy Cave Bush=
{{IconCreate
|icon=Hardy Cave Bush
|bg=2x2 plant
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 878: Line 947:
}}
}}


|Horizontal Frame=
|Heat Fruit=
{{IconCreate
|icon=Horizontal Frame
|width={{{width|128}}}
}}

|Fevered Pepper=
{{IconCreate
{{IconCreate
|icon=Heat Fruit
|icon=Fevered Pepper
|bg=1x2 green
|bg=1x2 green
|width={{{width|128}}}
|width={{{width|128}}}
Line 886: Line 961:
}}
}}


|Heat Fruit Tree=
|Fevered Pepper Tree=
{{IconCreate
{{IconCreate
|icon=Heat Fruit Tree
|icon=Fevered Pepper Tree
|bg=2x2 green
|bg=2x2 green
|width={{{width|128}}}
|width={{{width|128}}}
Line 962: Line 1,037:
}}
}}


|Frost Anemone Heart=
|Ice Fruit=
{{IconCreate
{{IconCreate
|icon=Ice Fruit
|icon=Frost Anemone Heart
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 992: Line 1,067:
}}
}}


|Eye Jelly=
|Jellyfish=
{{IconCreate
{{IconCreate
|icon=Jellyfish
|icon=Eye Jelly
|bg=3x3
|bg=3x3
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}


|Jellyfish Egg=
|Eye Jelly Egg=
{{IconCreate
{{IconCreate
|icon=Jellyfish Egg
|icon=Eye Jelly Egg
|bg=1x2
|bg=1x2
|width={{{width|128}}}
|width={{{width|128}}}
Line 1,112: Line 1,187:
}}
}}


|Leafy Fruit=
|Shrub Nut=
{{IconCreate
{{IconCreate
|icon=Leafy Fruit
|icon=Shrub Nut
|bg=2x2 green
|bg=2x2 green
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}


|Horseshoe Shrub=
|Leafy Fruit Plant=
{{IconCreate
{{IconCreate
|icon=Leafy Fruit Plant
|icon=Horseshoe Shrub
|bg=2x2 green
|bg=2x2 green
|width={{{width|128}}}
|width={{{width|128}}}
Line 1,210: Line 1,285:
|width={{{width|128}}}
|width={{{width|128}}}
|bg=green
|bg=green
}}

|Maroon Plant=
{{IconCreate
|icon=Maroon Plant
|bg=plant
|width={{{width|128}}}
}}

|Maroon Plant Fruit=
{{IconCreate
|icon=Maroon Plant Fruit
|bg=1x2 plant
|width={{{width|128}}}
|height={{{height|256}}}
}}

|Maroon Plant Seed=
{{IconCreate
|icon=Maroon Plant Seed
|bg=plant
|width={{{width|128}}}
}}
}}


Line 1,285: Line 1,338:
}}
}}


|Scaly Maw Anemone=
|Mohawk Plant=
{{IconCreate
{{IconCreate
|icon=Mohawk Plant
|icon=Scaly Maw Anemone
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 1,312: Line 1,365:
{{IconCreate
{{IconCreate
|icon=Nickel Ore
|icon=Nickel Ore
|width={{{width|128}}}
}}

|Necklace=
{{IconCreate
|icon=Necklace
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 1,680: Line 1,739:
}}
}}


|Root Pustule=
|Root Globule=
{{IconCreate
{{IconCreate
|icon=Root Pustule
|icon=Root Globule
|width={{{width|128}}}
|width={{{width|128}}}
|bg=plant
|bg=plant
}}
}}


|Root Pustule Seed=
|Root Globule Seed=
{{IconCreate
{{IconCreate
|icon=Root Pustule Seed
|icon=Root Globule Seed
|width={{{width|128}}}
|width={{{width|128}}}
|bg=plant
|bg=plant
Line 1,927: Line 1,986:
}}
}}


|Preston's Delight=
|Snow Stalker Fruit=
{{IconCreate
{{IconCreate
|icon=Snow Stalker Fruit
|icon=Preston's Delight
|width={{{width|128}}}
|width={{{width|128}}}
|bg=green
|bg=green
}}
}}


|Snow Stalker Fruit Plant=
|Preston's Plant=
{{IconCreate
{{IconCreate
|icon=Snow Stalker Fruit Plant
|icon=Preston's Plant
|width={{{width|128}}}
|width={{{width|128}}}
|bg=green
|bg=green
Line 1,947: Line 2,006:
}}
}}


|Snow Stalker Plant Leaf=
|Preston's Plant Leaf=
{{IconCreate
{{IconCreate
|icon=Snow Stalker Plant Leaf
|icon=Preston's Plant Leaf
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 1,969: Line 2,028:
{{IconCreate
{{IconCreate
|icon=Snowfox Hoverpad
|icon=Snowfox Hoverpad
|width={{{width|128}}}
}}

|Snowfox Ice Worm Attack Reduction Module=
{{IconCreate
|icon=Snowfox Ice Worm Attack Reduction Module
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 2,032: Line 2,097:
}}
}}


|Spiral Chunk=
|Spiral Plant=
{{IconCreate
{{IconCreate
|icon=Spiral Chunk
|icon=Spiral Plant
|width={{{width|128}}}
|width={{{width|128}}}
|bg=plant
|bg=plant
}}
}}


|Spiral Plant=
|Spiral Plant Clipping=
{{IconCreate
{{IconCreate
|icon=Spiral Plant
|icon=Spiral Plant Clipping
|width={{{width|128}}}
|width={{{width|128}}}
|bg=plant
|bg=plant
Line 2,190: Line 2,255:
{{IconCreate
{{IconCreate
|icon=Thermoblade
|icon=Thermoblade
|width={{{width|128}}}
}}

|Test Override Module=
{{IconCreate
|icon=Test Override Module
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 2,355: Line 2,426:
{{IconCreate
{{IconCreate
|icon=Vertical Connector
|icon=Vertical Connector
|width={{{width|128}}}
}}

|Vertical Frame=
{{IconCreate
|icon=Vertical Frame
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 2,444: Line 2,521:
|icon=X Compartment
|icon=X Compartment
|width={{{width|128}}}
|width={{{width|128}}}
}}

|Young Cotton Anemone=
{{IconCreate
|icon=Young Cotton Anemone
|width={{{width|128}}}
|bg=plant
}}

|Young Cotton Anemone Seed=
{{IconCreate
|icon=Young Cotton Anemone Seed
|width={{{width|128}}}
|bg=plant
}}
}}



Latest revision as of 03:36, 24 February 2024

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