Template:Ability icon: Difference between revisions
Jump to navigation
Jump to search
v456 |
v482 cow kick fix |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude><!-- Updated on | <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/ | {{ #replace: http://cdn.projectgorgon.com/v482/icons/icon_{{ #switch: {{padleft: | 1 | {{ lc: {{{1}}} }} }} | ||
| a = {{ #switch: {{{1}}} | | a = {{ #switch: {{{1}}} | ||
| Acid Arrow (Orc) = 3302 | | Acid Arrow (Orc) = 3302 | ||
| Line 321: | Line 321: | ||
| Blood Mist 8 Burst = 3907 | | Blood Mist 8 Burst = 3907 | ||
| Blood Mist 8 = 3907 | | Blood Mist 8 = 3907 | ||
| Blood Mist 9 Burst = 3907 | |||
| Blood Mist 9 = 3907 | | Blood Mist 9 = 3907 | ||
| Blood Mist Burst = 3907 | | Blood Mist Burst = 3907 | ||
| Line 1,499: | 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,749: | Line 2,761: | ||
| Pole Dance 5 = 3880 | | Pole Dance 5 = 3880 | ||
| Pole Dance 6 = 3881 | | Pole Dance 6 = 3881 | ||
| Poop = 3964 | |||
| Porcine Alertness 2 = 2255 | | Porcine Alertness 2 = 2255 | ||
| Porcine Alertness 3 = 2255 | | Porcine Alertness 3 = 2255 | ||
| Line 2,775: | 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 4 = 3855 | | Pouncing Rend 4 = 3855 | ||
| Pouncing Rend 5 = 3855 | | Pouncing Rend 5 = 3855 | ||
| Line 3,026: | Line 3,039: | ||
| Raise Skeletal Ratkin Mage 6 = 3756 | | Raise Skeletal Ratkin Mage 6 = 3756 | ||
| Raise Skeletal Ratkin Mage 7 = 3756 | | Raise Skeletal Ratkin Mage 7 = 3756 | ||
| Raise Skeletal Ratkin Mage 8 = 3756 | |||
| Raise Skeletal Swordsman 2 = 2201 | | Raise Skeletal Swordsman 2 = 2201 | ||
| Raise Skeletal Swordsman 3 = 2201 | | Raise Skeletal Swordsman 3 = 2201 | ||
| Line 3,471: | Line 3,485: | ||
| Sic 'Em 9 = 2136 | | Sic 'Em 9 = 2136 | ||
| Sic 'Em = 2136 | | Sic 'Em = 2136 | ||
| Situational Awareness 2 = 3966 | |||
| Situational Awareness 3 = 3966 | |||
| Situational Awareness 4 = 3966 | |||
| Situational Awareness 5 = 3966 | |||
| Situational Awareness 6 = 3966 | |||
| Situational Awareness = 3966 | |||
| Skulk 10 = 2259 | | Skulk 10 = 2259 | ||
| Skulk 2 = 2259 | | Skulk 2 = 2259 | ||
| Line 3,836: | Line 3,856: | ||
| Stunning Bash 9 = 3446 | | Stunning Bash 9 = 3446 | ||
| Stunning Bash = 3446 | | Stunning Bash = 3446 | ||
| Summon a Bengal Tiger = 3957 | |||
| Summon a Blue Dart Frog = 3885 | |||
| Summon a Blue Scapegoat = 3866 | |||
| Summon a Boar = 3962 | |||
| Summon a Brain Bug = 5990 | |||
| Summon a Cockatrice = 3777 | |||
| Summon a Cougar Cub = 3961 | |||
| Summon a Cube = 2104 | |||
| Summon a Cup of Pudding = 3864 | |||
| Summon a Dapper Snowman = 3946 | |||
| Summon a Death Adder = 3874 | |||
| Summon a Death on a Leash = 3810 | |||
| Summon a Fae Dragon = 6398 | |||
| Summon a Festive Maggot = 3873 | |||
| Summon a Fire Droach = 3949 | |||
| Summon a Fire Sheep = 3865 | |||
| Summon a Gargoyle = 3626 | |||
| Summon a Giant Scorpion = 3593 | |||
| Summon a Gray Squirrel = 3886 | |||
| Summon a Green Scapegoat = 3866 | |||
| Summon a Grizzly Bear = 3959 | |||
| Summon a Happy Carrot = 3697 | |||
| Summon a Hoppy Rhino = 3936 | |||
| Summon a Infernal Chicken = 6801 | |||
| Summon a Kraken Pet = 6255 | |||
| Summon a Lantern Pet = 3956 | |||
| Summon a Mail Pigeon = 3875 | |||
| Summon a Mini-Reindeer = 3882 | |||
| Summon a Moose = 3960 | |||
| Summon a Newborn Fawn = 2251 | |||
| Summon a Phoenix = 3465 | |||
| Summon a Pond Frog = 3883 | |||
| Summon a Pumpkin = 5404 | |||
| Summon a Radish = 3809 | |||
| Summon a Red Dart Frog = 3884 | |||
| Summon a Red Scapegoat = 3866 | |||
| Summon a Red Squirrel = 3886 | |||
| Summon a Rock = 3921 | |||
| Summon a Rubywall Crystal = 5056 | |||
| Summon a Scapegoat = 3866 | |||
| Summon a Scray = 3618 | |||
| Summon a Sentient Book = 6915 | |||
| Summon a Slime Pet = 3864 | |||
| Summon a Snow Leaper = 3867 | |||
| Summon a Snowman = 3946 | |||
| Summon a Spring Chick = 5353 | |||
| Summon a Tornado = 3849 | |||
| Summon a Trash Cat = 3963 | |||
| Summon a Turkey = 3875 | |||
| Summon a Watcher = 3490 | |||
| Summon a Weird Bug = 3607 | |||
| Summon a White Bengal Tiger = 3958 | |||
| Summon a Winter Beet = 3809 | |||
| Summon a Worghest = 3629 | |||
| Summon an Ice Hen = 5117 | |||
| Summon Deer 2 = 2251 | | Summon Deer 2 = 2251 | ||
| Summon Deer 3 = 2251 | | Summon Deer 3 = 2251 | ||
| Line 3,876: | Line 3,951: | ||
| Summon Tornado 8 = 3844 | | Summon Tornado 8 = 3844 | ||
| Summon Tornado = 3844 | | Summon Tornado = 3844 | ||
| Super Fireball 2 = 2107 | | Super Fireball 2 = 2107 | ||
| Super Fireball 3 = 2107 | | Super Fireball 3 = 2107 | ||
| Line 4,474: | Line 4,508: | ||
}} | }} | ||
| {{ #switch: {{{1}}} | | {{ #switch: {{{1}}} | ||
| (Internal - SoD1) = 3665 | | (Internal - SoD1) = 3665 | ||
| (Internal - SoD10) = 3665 | | (Internal - SoD10) = 3665 | ||
| Line 4,498: | 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,509: | Line 4,543: | ||
| (Internal - Triage8) = 3734 | | (Internal - Triage8) = 3734 | ||
| (Internal - Triage9) = 3734 | | (Internal - Triage9) = 3734 | ||
| (Internal) = | | (Internal) = 108 | ||
| (internal) = 2199 | |||
| (Self Bomb) = 0 | | (Self Bomb) = 0 | ||
}} | }} | ||
}}.png | }}.png | ||
| http://cdn.projectgorgon.com/ | | http://cdn.projectgorgon.com/v482/icons/icon_.png <!-- result when no match is found, will be #replaced --> | ||
| <span style="color:red">Error: Ability not found</span> }} | [[File:Item-icon-none.png]] }}{{ #switch: {{{2}}} | 1 | 2 | 32 | 64 = </span> | }}</includeonly><noinclude> | | <span style="color:red">Error: Ability not found</span> }} | [[File:Item-icon-none.png]] }}{{ #switch: {{{2}}} | 1 | 2 | 32 | 64 = </span> | }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> | ||
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}}
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}}
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>
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.)
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.)