Template:Icon/doc: Difference between revisions

From Subnautica Wiki
No edit summary
Line 26: Line 26:
* [[:File:1x2 land plant bg.png|1x2 green = 1x2 green (land plant)]]
* [[:File:1x2 land plant bg.png|1x2 green = 1x2 green (land plant)]]
* [[:File:2x2 land plant bg.png|2x2 green = 2x2 green (land plant)]]
* [[:File:2x2 land plant bg.png|2x2 green = 2x2 green (land plant)]]
* [[:File:1x1 prawn arm bg.png|purple = 1x1 purple (prawn arm)]]

Revision as of 18:22, 13 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