Difference between revisions of "Template:Item icon/doc"
From Project: Gorgon Wiki
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...") |
(No difference)
|
Revision as of 15:19, 29 January 2017
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}}
Forcing 32x32 size
<div class="extimage32px">{{Item icon|Glowy Yellow Crystal}}</div>
Forcing 64x64 size
<div class="extimage64px">{{Item icon|Glowy Yellow Crystal}}</div>