Template:Icon/doc: Difference between revisions
(Created page with "Template used for pre-created icons using the <nowiki>{{IconCreate}}</nowiki> template. ==Backgrounds== * none = No Background * normal = 1x1 blue (Default) * 1x2 = 1x2 blue ...") |
No edit summary |
||
Line 1: | Line 1: | ||
Template used for pre-created icons using the <nowiki>{{IconCreate}}</nowiki> template. |
Template used for pre-created icons using the <nowiki>{{IconCreate}}</nowiki> template. |
||
==Usage== |
|||
Input: |
|||
<pre><nowiki>{{IconCreate|icon=Flashlight|bg=normal|width=60|height=60}}</nowiki></pre> |
|||
Output: |
|||
{{IconCreate|icon=Flashlight|bg=normal|width=60|height=60}} |
|||
* 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== |
==Backgrounds== |
Revision as of 04:41, 12 July 2019
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)
- 2x2 plant = 2x2 deep blue (aquatic plant)
- green = 1x1 green (land plant)
- 1x2 green = 1x2 green (land plant)
- 2x2 green = 2x2 green (land plant)