Template:Icon: Difference between revisions

From Subnautica Wiki
No edit summary
No edit summary
Line 255: Line 255:
{{IconCreate
{{IconCreate
|icon=Disinfected Water
|icon=Disinfected Water
|width={{{width|128}}}
}}

|Enameled Glass=
{{IconCreate
|icon=Enameled Glass
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 470: Line 476:
{{IconCreate
{{IconCreate
|icon=Pathfinder Tool
|icon=Pathfinder Tool
|width={{{width|128}}}
}}

|Prawn Suit=
{{IconCreate
|icon=Prawn Suit
|width={{{width|128}}}
}}

|Prawn Suit Depth Module MK1=
{{IconCreate
|icon=Prawn Suit Depth Module MK1
|width={{{width|128}}}
}}

|Prawn Suit Depth Module MK2=
{{IconCreate
|icon=Prawn Suit Depth Module MK2
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 537: Line 561:
|icon=Cured Spinner Fish
|icon=Cured Spinner Fish
|width={{{width|128}}}
|width={{{width|128}}}
}}

|Standard O₂ Tank=
{{IconCreate
|icon=Standard O₂ Tank
|bg=2x3
|width={{{width|128}}}
|height={{{height|192}}}
}}
}}



Revision as of 05:42, 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