Template:Icon: Difference between revisions

From Subnautica Wiki
No edit summary
No edit summary
Line 4: Line 4:
{{IconCreate
{{IconCreate
|icon=Resources
|icon=Resources
|width={{{width|128}}}
|width={{{width|92}}}
|bg = category
|bg = category
}}
}}
Line 11: Line 11:
{{IconCreate
{{IconCreate
|icon=Basic Materials
|icon=Basic Materials
|width={{{width|128}}}
|width={{{width|92}}}
|bg = category
|bg = category
}}
}}
Line 18: Line 18:
{{IconCreate
{{IconCreate
|icon=Advanced Materials
|icon=Advanced Materials
|width={{{width|128}}}
|width={{{width|92}}}
|bg = category
|bg = category
}}
}}
Line 25: Line 25:
{{IconCreate
{{IconCreate
|icon=Electronics
|icon=Electronics
|width={{{width|128}}}
|width={{{width|92}}}
|bg = category
|bg = category
}}
}}
Line 32: Line 32:
{{IconCreate
{{IconCreate
|icon=Sustenance
|icon=Sustenance
|width={{{width|128}}}
|width={{{width|92}}}
|bg = category
|bg = category
}}
}}
Line 39: Line 39:
{{IconCreate
{{IconCreate
|icon=Cooked Food
|icon=Cooked Food
|width={{{width|128}}}
|width={{{width|92}}}
|bg = category
|bg = category
}}
}}
Line 46: Line 46:
{{IconCreate
{{IconCreate
|icon=Cured Food
|icon=Cured Food
|width={{{width|128}}}
|width={{{width|92}}}
|bg = category
|bg = category
}}
}}
Line 53: Line 53:
{{IconCreate
{{IconCreate
|icon=Water
|icon=Water
|width={{{width|128}}}
|width={{{width|92}}}
|bg = category
|bg = category
}}
}}
Line 60: Line 60:
{{IconCreate
{{IconCreate
|icon=Personal
|icon=Personal
|width={{{width|128}}}
|width={{{width|92}}}
|bg = category
|bg = category
}}
}}
Line 67: Line 67:
{{IconCreate
{{IconCreate
|icon=Equipment
|icon=Equipment
|width={{{width|128}}}
|width={{{width|92}}}
|bg = category
|bg = category
}}
}}
Line 74: Line 74:
{{IconCreate
{{IconCreate
|icon=Tools
|icon=Tools
|width={{{width|128}}}
|width={{{width|92}}}
|bg = category
|bg = category
}}
}}
Line 81: Line 81:
{{IconCreate
{{IconCreate
|icon=Deployables
|icon=Deployables
|width={{{width|128}}}
|width={{{width|92}}}
|bg = category
|bg = category
}}
}}
Line 88: Line 88:
{{IconCreate
{{IconCreate
|icon=Upgrades
|icon=Upgrades
|width={{{width|128}}}
|width={{{width|92}}}
|bg = category
|bg = category
}}
}}

Revision as of 13:30, 30 August 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