Template:Icon: Difference between revisions

From Subnautica Wiki
No edit summary
No edit summary
Line 193: Line 193:
|icon=Chic Plant Pot
|icon=Chic Plant Pot
|width={{{width|128}}}
|width={{{width|128}}}
}}

|Chinese Potato Plant=
{{IconCreate
|icon=Chinese Potato Plant
|width={{{width|128}}}
|bg=2x2 green
}}

|Chinese Potato=
{{IconCreate
|icon=Chinese Potato
|width={{{width|128}}}
|bg=2x2 green
}}
}}


Line 285: Line 299:
{{IconCreate
{{IconCreate
|icon=Crashfish Egg
|icon=Crashfish Egg
|width={{{width|128}}}
}}

|Creepvine=
{{IconCreate
|icon=Creepvine
|bg=2x2 plant
|width={{{width|128}}}
|width={{{width|128}}}
}}
}}
Line 475: Line 496:
{{IconCreate
{{IconCreate
|icon=Gel Sack
|icon=Gel Sack
|bg=plant
|width={{{width|128}}}
}}

|Gel Sack Spores=
{{IconCreate
|icon=Gel Sack Spores
|bg=plant
|bg=plant
|width={{{width|128}}}
|width={{{width|128}}}
Line 733: Line 761:
|icon=Magnetite
|icon=Magnetite
|width={{{width|128}}}
|width={{{width|128}}}
}}

|Marblemelon Plant=
{{IconCreate
|icon=Marblemelon Plant
|width={{{width|128}}}
|bg=2x2 green
}}

|Marblemelon Seeds=
{{IconCreate
|icon=Marblemelon Seeds
|width={{{width|128}}}
|bg=green
}}
}}


Line 1,042: Line 1,084:
|icon=Red Tablet
|icon=Red Tablet
|width={{{width|128}}}
|width={{{width|128}}}
}}

|Redwort Seed=
{{IconCreate
|icon=Redwort Seed
|width={{{width|128}}}
|bg=2x2 plant
}}
}}


Line 1,319: Line 1,368:
|icon=Spotlight
|icon=Spotlight
|width={{{width|128}}}
|width={{{width|128}}}
}}

|Spotted Dockleaf Seed=
{{IconCreate
|icon=Spotted Dockleaf Seed
|width={{{width|128}}}
|bg=2x2 plant
}}
}}



Revision as of 04:48, 25 September 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