Template:Icon: Difference between revisions

From Subnautica Wiki
No edit summary
No edit summary
Line 328: Line 328:
|icon=Fins
|icon=Fins
|bg=2x2
|bg=2x2
|width={{{width|128}}}
}}

|Fire Extinguisher=
{{IconCreate
|icon=Fire Extinguisher
|width={{{width|128}}}
}}

|First Aid Kit=
{{IconCreate
|icon=First Aid Kit
|width={{{width|128}}}
}}

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

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

|Flashlight Helmet=
{{IconCreate
|icon=Flashlight Helmet
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 334: Line 364:
{{IconCreate
{{IconCreate
|icon=Foundation
|icon=Foundation
|width={{{width|128}}}
}}

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

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

|Grav Trap=
{{IconCreate
|icon=Grav Trap
|bg=2x2
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 583: Line 632:
{{IconCreate
{{IconCreate
|icon=Reinforcement
|icon=Reinforcement
|width={{{width|128}}}
}}

|Ribbon Plant=
{{IconCreate
|icon=Ribbon Plant
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 663: Line 718:
{{IconCreate
{{IconCreate
|icon=T Compartment
|icon=T Compartment
|width={{{width|128}}}
}}

|Thermoblade=
{{IconCreate
|icon=Thermoblade
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 675: Line 736:
{{IconCreate
{{IconCreate
|icon=Cured Triops
|icon=Cured Triops
|width={{{width|128}}}
}}

|Ultra High Capacity Tank=
{{IconCreate
|icon=Ultra High Capacity Tank
|bg=3x3
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}

Revision as of 18:36, 13 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