Difference between revisions of "Template:Ability icon"

From Project: Gorgon Wiki
Jump to: navigation, search
Line 433: Line 433:
 
| Call Stabled Pet #6 = 2166
 
| Call Stabled Pet #6 = 2166
 
| Calm Horse = 3830
 
| Calm Horse = 3830
 +
| Calm Skies = 3848
 +
| Calm Skies 2 = 3848
 +
| Calm Skies 3 = 3848
 +
| Calm Skies 4 = 3848
 +
| Calm Skies 5 = 3848
 +
| Calm Skies 6 = 3848
 
| Canter = 3836
 
| Canter = 3836
 
| Carrot Power = 3697
 
| Carrot Power = 3697
Line 502: Line 508:
 
| Cloud Sight 5 = 3485
 
| Cloud Sight 5 = 3485
 
| Cloud Sight 6 = 3485
 
| Cloud Sight 6 = 3485
 +
| Cloud Trick = 3851
 +
| Cloud Trick 2 = 3851
 +
| Cloud Trick 3 = 3851
 
| Coax = 3832
 
| Coax = 3832
 
| Cobra Strike = 2105
 
| Cobra Strike = 2105
Line 721: Line 730:
 
| Delerium 7 = 3484
 
| Delerium 7 = 3484
 
| Delerium 8 = 3484
 
| Delerium 8 = 3484
 +
| Deluge = 3842
 +
| Deluge 2 = 3842
 +
| Deluge 3 = 3842
 +
| Deluge 4 = 3842
 +
| Deluge 5 = 3842
 +
| Deluge 6 = 3842
 +
| Deluge 7 = 3842
 
| Dementia Puck Curse = 2194
 
| Dementia Puck Curse = 2194
 
| Dig Deep = 3470
 
| Dig Deep = 3470
Line 1,291: Line 1,307:
 
| HagAgingScream = 3541
 
| HagAgingScream = 3541
 
| HagAgingTouch = 3551
 
| HagAgingTouch = 3551
 +
| Hailstorm = 3846
 +
| Hailstorm 2 = 3846
 +
| Hailstorm 3 = 3846
 +
| Hailstorm 4 = 3846
 +
| Hailstorm 5 = 3846
 +
| Hailstorm 6 = 3846
 
| Halberd = 3653
 
| Halberd = 3653
 
| Hamstring Throw = 3598
 
| Hamstring Throw = 3598
Line 1,685: Line 1,707:
 
| Life Steal 6 = 2198
 
| Life Steal 6 = 2198
 
| Life Steal 7 = 2198
 
| Life Steal 7 = 2198
 +
| Lightning Bolt = 3841
 +
| Lightning Bolt 2 = 3841
 +
| Lightning Bolt 3 = 3841
 +
| Lightning Bolt 4 = 3841
 +
| Lightning Bolt 5 = 3841
 +
| Lightning Bolt 6 = 3841
 +
| Lightning Bolt 7 = 3841
 +
| Lightning Bolt 8 = 3841
 +
| Lightning Bolt 9 = 3841
 
| Lightning Smite = 3070
 
| Lightning Smite = 3070
 
| Lightning Smite = 3070
 
| Lightning Smite = 3070
Line 2,689: Line 2,720:
 
| Shillelagh 6 = 3571
 
| Shillelagh 6 = 3571
 
| Shock = 3070
 
| Shock = 3070
 +
| Shocking Grasp = 3850
 +
| Shocking Grasp 2 = 3850
 +
| Shocking Grasp 3 = 3850
 +
| Shocking Grasp 4 = 3850
 +
| Shocking Grasp 5 = 3850
 +
| Shocking Grasp 6 = 3850
 
| Shoot Crossbow = 3647
 
| Shoot Crossbow = 3647
 
| Shoot Crossbow 2 = 3647
 
| Shoot Crossbow 2 = 3647
Line 2,953: Line 2,990:
 
| Stampede 9 = 2149
 
| Stampede 9 = 2149
 
| Stick Bash = 3485
 
| Stick Bash = 3485
 +
| Storm Shield = 3853
 +
| Storm Shield 2 = 3853
 +
| Storm Shield 3 = 3853
 
| Strategic Chomp = 2228
 
| Strategic Chomp = 2228
 
| Strategic Chomp 2 = 2228
 
| Strategic Chomp 2 = 2228
Line 3,006: Line 3,046:
 
| Summon = 2201
 
| Summon = 2201
 
| Summon = 2201
 
| Summon = 2201
| Summon Deer = 2251
 
| Summon Deer 2 = 2251
 
| Summon Deer 3 = 2251
 
| Summon Deer 4 = 2251
 
| Summon Deer 5 = 2251
 
 
| Summon a Chicken = 5117
 
| Summon a Chicken = 5117
 
| Summon a Death on a Leash = 3810
 
| Summon a Death on a Leash = 3810
Line 3,020: Line 3,055:
 
| Summon a Worghest = 3629
 
| Summon a Worghest = 3629
 
| Summon a Mini-Reindeer = 2251
 
| Summon a Mini-Reindeer = 2251
 +
| Summon Deer = 2251
 +
| Summon Deer 2 = 2251
 +
| Summon Deer 3 = 2251
 +
| Summon Deer 4 = 2251
 +
| Summon Deer 5 = 2251
 +
| Summon Tornado = 3844
 +
| Summon Tornado 2 = 3844
 +
| Summon Tornado 3 = 3844
 +
| Summon Tornado 4 = 3844
 +
| Summon Tornado 5 = 3844
 
| Super Fireball = 2107
 
| Super Fireball = 2107
 
| Super Fireball 2 = 2107
 
| Super Fireball 2 = 2107
Line 3,108: Line 3,153:
 
| Tell Me About Your Mother 3 = 2123
 
| Tell Me About Your Mother 3 = 2123
 
| Tell Me About Your Mother 4 = 2123
 
| Tell Me About Your Mother 4 = 2123
 +
| Tempest Flight = 3847
 +
| Tempest Flight 2 = 3847
 +
| Tempest Flight 3 = 3847
 
| Tentacle Shock = 3485
 
| Tentacle Shock = 3485
 
| Tentacle Touch = 3485
 
| Tentacle Touch = 3485
Line 3,264: Line 3,312:
 
| Truffle Sniff 4 = 2226
 
| Truffle Sniff 4 = 2226
 
| Truffle Sniff 5 = 2226
 
| Truffle Sniff 5 = 2226
 +
| Tsunami = 3843
 +
| Tsunami 2 = 3843
 +
| Tsunami 3 = 3843
 +
| Tsunami 4 = 3843
 +
| Tsunami 5 = 3843
 
| Tuba 1 = 3529
 
| Tuba 1 = 3529
 
| Tuba 2 = 3530
 
| Tuba 2 = 3530
Line 3,445: Line 3,498:
 
| Wing Vortex 7 = 3550
 
| Wing Vortex 7 = 3550
 
| Wing Vortex 8 = 3550
 
| Wing Vortex 8 = 3550
 +
| Wind Ward = 3849
 +
| Wind Ward 2 = 3849
 +
| Wind Ward 3 = 3849
 +
| Wind Ward 4 = 3849
 +
| Wind Ward 5 = 3849
 +
| Wind Ward 6 = 3849
 +
| Wind Ward 7 = 3849
 
| Wolfsbane Blade = 3022
 
| Wolfsbane Blade = 3022
 
| Wolfsbane Blade 2 = 3022
 
| Wolfsbane Blade 2 = 3022

Revision as of 20:33, 15 March 2023

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

Description

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

Syntax

{{Ability icon|<name>|<size selection>}}

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.
<size selection>
1 or 32 for 32x32.
2 or 64 for 64x64.
If omitted, empty, or anything else, image isn't resized.

Examples

Standard Use

{{Ability icon|Ring of Fire}}

{{Ability icon}}

{{Ability icon|FakeAbilityReturnsError}}

icon_2120.png

Item-icon-none.png

Error: Ability not found


Resizing

{{Ability icon|Ring of Fire}} <!-- default size is 64x64 -->

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

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

icon_2120.png

icon_2120.png

icon_2120.png


Alternative Resizing (old method)

You can also manually resize the images if you wish (using the template just wraps the image in this span automatically).

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

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

icon_2120.png

icon_2120.png
The above text is transcluded from Template: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:Ability icon/doc. (View all subpages of this page.)