Template:Item icon/doc

From Project: Gorgon Wiki
< Template:Item icon
Revision as of 15:19, 29 January 2017 by Extractum11 (talk | contribs) (Created page with "__NOTOC__ ==Description== This accepts an item name as input and returns the in-game icon. Be aware that icons have various sizes, you should use CSS to easily resize them. Se...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

This accepts an item name as input and returns the in-game icon. Be aware that icons have various sizes, you should use CSS to easily resize them. See the Examples section below.

Syntax

{{Item icon|<name>}}

Parameters

<name>
The name of the item. It must match exactly what is displayed in-game (e.g. "Red Apple", not "Apple" or "red apple")

Examples

Basic Use

{{Item icon|Glowy Yellow Crystal}}

icon_5702.png


Forcing 32x32 size

<div class="extimage32px">{{Item icon|Glowy Yellow Crystal}}</div>
icon_5702.png


Forcing 64x64 size

<div class="extimage64px">{{Item icon|Glowy Yellow Crystal}}</div>
icon_5702.png