Template:Ability icon: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
FoxnEagle (talk | contribs)
v482 update
FoxnEagle (talk | contribs)
v482 cow kick fix
 
Line 1: Line 1:
<noinclude><!-- Updated on Fri Aug 14 2026 09:42:28 GMT-0600 (Mountain Daylight Time) using FoxnEagle's auto-wiki-generator -->
<noinclude><!-- Updated on Fri Aug 14 2026 10:03:09 GMT-0600 (Mountain Daylight Time) using FoxnEagle's auto-wiki-generator -->
</noinclude><includeonly>{{ #switch: {{{2}}} | 1 | 32 = <span class="extimage32px">| 2 | 64 = <span class="extimage64px"> | }}{{ #if: {{{1|}}} |  
</noinclude><includeonly>{{ #switch: {{{2}}} | 1 | 32 = <span class="extimage32px">| 2 | 64 = <span class="extimage64px"> | }}{{ #if: {{{1|}}} |  
{{ #replace: http://cdn.projectgorgon.com/v482/icons/icon_{{ #switch: {{padleft: | 1 | {{ lc: {{{1}}} }} }}
{{ #replace: http://cdn.projectgorgon.com/v482/icons/icon_{{ #switch: {{padleft: | 1 | {{ lc: {{{1}}} }} }}
Line 1,500: Line 1,500:
| Frenzy 9 = 2131
| Frenzy 9 = 2131
| Frenzy = 2131
| Frenzy = 2131
| Front Kick 10 = 2155
| Front Kick (Cow) 10 = 2155
| Front Kick 11 = 2155
| Front Kick (Cow) 11 = 2155
| Front Kick 12 = 2155
| Front Kick (Cow) 12 = 2155
| Front Kick 13 = 2155
| Front Kick (Cow) 13 = 2155
| Front Kick 2 = 2155
| Front Kick (Cow) 2 = 2155
| Front Kick 3 = 2155
| Front Kick (Cow) 3 = 2155
| Front Kick 4 = 2155
| Front Kick (Cow) 4 = 2155
| Front Kick 5 = 2155
| Front Kick (Cow) 5 = 2155
| Front Kick 6 = 2155
| Front Kick (Cow) 6 = 2155
| Front Kick 7 = 2155
| Front Kick (Cow) 7 = 2155
| Front Kick 8 = 2155
| Front Kick (Cow) 8 = 2155
| Front Kick 9 = 2155
| Front Kick (Cow) 9 = 2155
| Front Kick = 2155
| Front Kick (Cow) = 2155
| Front Kick 10 = 2112
| Front Kick 11 = 2112
| Front Kick 2 = 2112
| Front Kick 3 = 2112
| Front Kick 4 = 2112
| Front Kick 5 = 2112
| Front Kick 6 = 2112
| Front Kick 7 = 2112
| Front Kick 8 = 2112
| Front Kick 9 = 2112
| Front Kick = 2112
| Frostball 10 = 2258
| Frostball 10 = 2258
| Frostball 11 = 2258
| Frostball 11 = 2258
Line 2,777: Line 2,788:
| Pouncing Rend 11 = 3855
| Pouncing Rend 11 = 3855
| Pouncing Rend 2 = 3855
| Pouncing Rend 2 = 3855
| Pouncing Rend 3 = 3855
| Pouncing Rend 3+ = 2117
| Pouncing Rend 3+ = 2117
| Pouncing Rend 3 = 3855
| Pouncing Rend 4 = 3855
| Pouncing Rend 4 = 3855
| Pouncing Rend 5 = 3855
| Pouncing Rend 5 = 3855
Line 3,845: Line 3,856:
| Stunning Bash 9 = 3446
| Stunning Bash 9 = 3446
| Stunning Bash = 3446
| Stunning Bash = 3446
| Summon Deer 2 = 2251
| Summon Deer 3 = 2251
| Summon Deer 4 = 2251
| Summon Deer 5 = 2251
| Summon Deer 6 = 2251
| Summon Deer 7 = 2251
| Summon Deer 8 = 2251
| Summon Deer = 2251
| Summon Doomstorm 2 = 3858
| Summon Doomstorm 3 = 3858
| Summon Doomstorm 4 = 3858
| Summon Doomstorm 5 = 3858
| Summon Doomstorm 6 = 3858
| Summon Doomstorm 7 = 3858
| Summon Doomstorm 8 = 3858
| Summon Doomstorm = 3858
| Summon Magmasphere 2 = 3910
| Summon Magmasphere 3 = 3910
| Summon Magmasphere 4 = 3910
| Summon Magmasphere 5 = 3910
| Summon Magmasphere 6 = 3910
| Summon Magmasphere 7 = 3910
| Summon Magmasphere = 3910
| Summon Mail Pigeon = 3875
| Summon Sandstorm 2 = 3857
| Summon Sandstorm 3 = 3857
| Summon Sandstorm 4 = 3857
| Summon Sandstorm 5 = 3857
| Summon Sandstorm 6 = 3857
| Summon Sandstorm 7 = 3857
| Summon Sandstorm 8 = 3857
| Summon Sandstorm = 3857
| Summon Tornado 2 = 3844
| Summon Tornado 3 = 3844
| Summon Tornado 4 = 3844
| Summon Tornado 5 = 3844
| Summon Tornado 6 = 3844
| Summon Tornado 7 = 3844
| Summon Tornado 8 = 3844
| Summon Tornado = 3844
| Summon a Bengal Tiger = 3957
| Summon a Bengal Tiger = 3957
| Summon a Blue Dart Frog = 3885
| Summon a Blue Dart Frog = 3885
Line 3,940: Line 3,911:
| Summon a Worghest = 3629
| Summon a Worghest = 3629
| Summon an Ice Hen = 5117
| Summon an Ice Hen = 5117
| Super Fireball 2 = 2107
| Summon Deer 2 = 2251
| Summon Deer 3 = 2251
| Summon Deer 4 = 2251
| Summon Deer 5 = 2251
| Summon Deer 6 = 2251
| Summon Deer 7 = 2251
| Summon Deer 8 = 2251
| Summon Deer = 2251
| Summon Doomstorm 2 = 3858
| Summon Doomstorm 3 = 3858
| Summon Doomstorm 4 = 3858
| Summon Doomstorm 5 = 3858
| Summon Doomstorm 6 = 3858
| Summon Doomstorm 7 = 3858
| Summon Doomstorm 8 = 3858
| Summon Doomstorm = 3858
| Summon Magmasphere 2 = 3910
| Summon Magmasphere 3 = 3910
| Summon Magmasphere 4 = 3910
| Summon Magmasphere 5 = 3910
| Summon Magmasphere 6 = 3910
| Summon Magmasphere 7 = 3910
| Summon Magmasphere = 3910
| Summon Mail Pigeon = 3875
| Summon Sandstorm 2 = 3857
| Summon Sandstorm 3 = 3857
| Summon Sandstorm 4 = 3857
| Summon Sandstorm 5 = 3857
| Summon Sandstorm 6 = 3857
| Summon Sandstorm 7 = 3857
| Summon Sandstorm 8 = 3857
| Summon Sandstorm = 3857
| Summon Tornado 2 = 3844
| Summon Tornado 3 = 3844
| Summon Tornado 4 = 3844
| Summon Tornado 5 = 3844
| Summon Tornado 6 = 3844
| Summon Tornado 7 = 3844
| Summon Tornado 8 = 3844
| Summon Tornado = 3844
| Super Fireball 2 = 2107
| Super Fireball 3 = 2107
| Super Fireball 3 = 2107
| Super Fireball 4 = 2107
| Super Fireball 4 = 2107
Line 4,497: Line 4,508:
}}
}}
| {{ #switch: {{{1}}}
| {{ #switch: {{{1}}}
| (Internal - SZ1) = 2202
| (Internal - SZ10) = 2202
| (Internal - SZ11) = 2202
| (Internal - SZ2) = 2202
| (Internal - SZ3) = 2202
| (Internal - SZ4) = 2202
| (Internal - SZ5) = 2202
| (Internal - SZ6) = 2202
| (Internal - SZ7) = 2202
| (Internal - SZ8) = 2202
| (Internal - SZ9) = 2202
| (Internal - SoD1) = 3665
| (Internal - SoD1) = 3665
| (Internal - SoD10) = 3665
| (Internal - SoD10) = 3665
Line 4,521: Line 4,521:
| (Internal - SoD8) = 3665
| (Internal - SoD8) = 3665
| (Internal - SoD9) = 3665
| (Internal - SoD9) = 3665
| (Internal - SZ1) = 2202
| (Internal - SZ10) = 2202
| (Internal - SZ11) = 2202
| (Internal - SZ2) = 2202
| (Internal - SZ3) = 2202
| (Internal - SZ4) = 2202
| (Internal - SZ5) = 2202
| (Internal - SZ6) = 2202
| (Internal - SZ7) = 2202
| (Internal - SZ8) = 2202
| (Internal - SZ9) = 2202
| (Internal - Triage1) = 3734
| (Internal - Triage1) = 3734
| (Internal - Triage10) = 3734
| (Internal - Triage10) = 3734
Line 4,532: Line 4,543:
| (Internal - Triage8) = 3734
| (Internal - Triage8) = 3734
| (Internal - Triage9) = 3734
| (Internal - Triage9) = 3734
| (Internal) = 3851
| (Internal) = 108
| (internal) = 2199
| (Self Bomb) = 0
| (Self Bomb) = 0
| (internal) = 2199
}}
}}
}}.png
}}.png

Latest revision as of 16:05, 14 August 2026


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

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.)