Template:Combat Ability icon

From Project: Gorgon Wiki
Revision as of 04:00, 16 December 2023 by FoxnEagle (talk | contribs) (accidentally included ability image switch for small vs large. Removed,)
Jump to: navigation, search


Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Description

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

Syntax

{{Combat Ability icon|<name>}}

Parameters

<name>
The name of the ability. It must match exactly what is displayed in the json (e.g. "TreantStomp", not "Treant Stomp" or "treantstomp")

Examples

Standard Use

{{Combat Ability icon|TreantStomp}} {{Combat Ability icon|IceSlimeKick}}

icon_3472.png icon_2176.png

Forcing resize to 32x32

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

icon_2176.png

Forcing resize to 64x64

<span class="extimage64px">{{Combat Ability icon|IceSlimeKick}}</span>
icon_2176.png
The above text is transcluded from Template:Combat Ability icon/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:Combat Ability icon/doc. (View all subpages of this page.)