Template:Icon/doc: Difference between revisions

From Subnautica Wiki
No edit summary
Line 14: Line 14:
==Backgrounds==
==Backgrounds==
* none = No Background
* none = No Background
* normal = 1x1 blue (Default)
* normal = 1x1 blue (Default) [[:File:1x1 default bg.png|link]]
* 1x2 = 1x2 blue
* 1x2 = 1x2 blue [[:File:1x2 default bg.png|link]]
* 2x2 = 2x2 blue
* 2x2 = 2x2 blue [[:File:2x2 default bg.png|link]]
* 3x3 = 3x3 blue
* 3x3 = 3x3 blue [[:File:3x3 default bg.png|link]]
* 3x2 = 3x2 blue
* 3x2 = 3x2 blue [[:File:3x2 default bg.png|link]]
* 2x3 = 2x3 blue
* 2x3 = 2x3 blue [[:File:2x3 default bg.png|link]]
* 4x4 = 4x4 blue
* 4x4 = 4x4 blue [[:File:4x4 default bg.png|link]]
* plant = 1x1 deep blue (aquatic plant)
* plant = 1x1 deep blue (aquatic plant) [[:File:1x1 aquatic plant bg.png|link]]
* 2x2 plant = 2x2 deep blue (aquatic plant)
* 2x2 plant = 2x2 deep blue (aquatic plant) [[:File:2x2 aquatic plant bg.png|link]]
* green = 1x1 green (land plant)
* green = 1x1 green (land plant) [[:File:1x1 land plant bg.png|link]]
* 1x2 green = 1x2 green (land plant)
* 1x2 green = 1x2 green (land plant) [[:File:1x2 land plant bg.png|link]]
* 2x2 green = 2x2 green (land plant)
* 2x2 green = 2x2 green (land plant) [[:File:2x2 land plant bg.png|link]]

Revision as of 04:45, 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:

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

  • none = No Background
  • normal = 1x1 blue (Default) link
  • 1x2 = 1x2 blue link
  • 2x2 = 2x2 blue link
  • 3x3 = 3x3 blue link
  • 3x2 = 3x2 blue link
  • 2x3 = 2x3 blue link
  • 4x4 = 4x4 blue link
  • plant = 1x1 deep blue (aquatic plant) link
  • 2x2 plant = 2x2 deep blue (aquatic plant) link
  • green = 1x1 green (land plant) link
  • 1x2 green = 1x2 green (land plant) link
  • 2x2 green = 2x2 green (land plant) link