Template:Icon: Difference between revisions
Pollakover 2 (talk | contribs) No edit summary |
SlyAceZeta (talk | contribs) (adding case for (Below Zero) names) |
||
Line 1: | Line 1: | ||
{{#switch:{{{1|{{PAGENAME}}}}} |
{{#switch:{{{1|{{#replace:{{PAGENAME}}| (Below Zero)|}}}}} |
||
|Resources= |
|Resources= |
Revision as of 06:50, 2 August 2021
Template used for pre-created icons using the {{IconCreate}} template.
Usage
Input:
{{IconCreate|icon=Flashlight|bg=normal|width=60|height=60}}
Output:
- 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
- none = No Background
- normal = 1x1 blue (Default)
- 1x2 = 1x2 blue
- 2x2 = 2x2 blue
- 3x3 = 3x3 blue
- 3x2 = 3x2 blue
- 2x3 = 2x3 blue
- 4x4 = 4x4 blue
- plant = 1x1 deep blue (aquatic plant)
- 1x2 plant = 1x2 deep blue (aquatic plant)
- 2x2 plant = 2x2 deep blue (aquatic plant)
- green = 1x1 green (land plant)
- 1x2 green = 1x2 green (land plant)
- 2x2 green = 2x2 green (land plant)
- purple = 1x1 purple (prawn arm)