Template:Icon: Difference between revisions

From Subnautica Wiki
No edit summary
mNo edit summary
Line 562: Line 562:
{{IconCreate
{{IconCreate
|icon=Data Chip
|icon=Data Chip
|width={{{width|128}}}
}}

|Deep Arctic Resource=
{{IconCreate
|icon=Deep Arctic Resource
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 911: Line 917:
{{IconCreate
{{IconCreate
|icon=Cured Hoopfish
|icon=Cured Hoopfish
|width={{{width|128}}}
}}

|Hoverzone Resource 1=
{{IconCreate
|icon=Hover Zone Resource 1
|width={{{width|128}}}
}}

|Hoverzone Resource 2=
{{IconCreate
|icon=Hover Zone Resource 2
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}

Revision as of 17:21, 30 September 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