Template:Icon: Difference between revisions

From Subnautica Wiki
No edit summary
No edit summary
Line 520: Line 520:
{{IconCreate
{{IconCreate
|icon=Foundation
|icon=Foundation
|width={{{width|128}}}
}}

|Fridge=
{{IconCreate
|icon=Fridge
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 1,313: Line 1,319:
{{IconCreate
{{IconCreate
|icon=Ship Wreck Salvage
|icon=Ship Wreck Salvage
|width={{{width|128}}}
}}

|Shower=
{{IconCreate
|icon=Shower
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 1,343: Line 1,355:
{{IconCreate
{{IconCreate
|icon=Single Wall Shelf
|icon=Single Wall Shelf
|width={{{width|128}}}
}}

|Sink=
{{IconCreate
|icon=Sink
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 1,356: Line 1,374:
{{IconCreate
{{IconCreate
|icon=Small Sample Flask
|icon=Small Sample Flask
|width={{{width|128}}}
}}

|Small Stove=
{{IconCreate
|icon=Small Stove
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 1,555: Line 1,579:
{{IconCreate
{{IconCreate
|icon=Titanium Ingot
|icon=Titanium Ingot
|width={{{width|128}}}
}}

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

Revision as of 01:45, 29 November 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