Template:Icon: Difference between revisions

From Subnautica Wiki
No edit summary
No edit summary
Line 114: Line 114:
|icon=Alien Containment
|icon=Alien Containment
|width={{{width|128}}}
|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}}}
}}
}}


Line 1,224: Line 1,246:
|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}}}
}}
}}



Revision as of 10:16, 9 October 2020

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