Template:Ability icon/doc

From Project: Gorgon Wiki
Jump to: navigation, search

Description

This accepts an ability name as input and returns the in-game icon. Most of these are 64x64, but you can use CSS to resize them. See the Examples section below.

Syntax

{{Ability icon|<name>}}

Parameters

<name>
The name of the ability. It must match exactly what is displayed in-game (e.g. "Super Fireball", not "SUPER fireball" or "Fireball")
If omitted or empty, template returns a blank icon image.
If no match is found, template returns an error.

Examples

Standard Use

{{Ability icon|Regrowth}} {{Ability icon|Ring of Fire}}

{{Ability icon}} {{Ability icon|FakeAbilityReturnsError}}

icon_3480.png icon_2120.png

Item-icon-none.png Error: Ability not found

Forcing 32x32 size

<span class="extimage32px">{{Ability icon|Regrowth}}</span>

icon_3480.png


Forcing 64x64 size

<span class="extimage64px">{{Ability icon|Ring of Fire}}</span>

icon_2120.png