Difference between revisions of "Template:Ability icon"
From Project: Gorgon Wiki
Extractum11 (talk | contribs) m (Updating) |
Extractum11 (talk | contribs) m (Undo revision 98302 by Extractum11 (talk)) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{ #if: {{{1|}}} | |
− | {{ #replace: http://cdn.projectgorgon.com/ | + | {{ #replace: http://cdn.projectgorgon.com/v346/icons/icon_{{ #switch: {{padleft: | 1 | {{ lc: {{{1}}} }} }} |
| a = {{ #switch: {{{1}}} | | a = {{ #switch: {{{1}}} | ||
| Acid Arrow = 3302 | | Acid Arrow = 3302 | ||
Line 72: | Line 72: | ||
| AlienDog_Punch2 = 2117 | | AlienDog_Punch2 = 2117 | ||
| AlienDog_RagePunch = 2117 | | AlienDog_RagePunch = 2117 | ||
− | |||
| Anthem of Avoidance = 3667 | | Anthem of Avoidance = 3667 | ||
| Anthem of Avoidance 2 = 3667 | | Anthem of Avoidance 2 = 3667 | ||
Line 137: | Line 136: | ||
| BarutiWrapB = 2238 | | BarutiWrapB = 2238 | ||
| BarutiWrapRage = 3482 | | BarutiWrapRage = 3482 | ||
− | |||
| Bash = 3407 | | Bash = 3407 | ||
− | |||
| Bash 2 = 3407 | | Bash 2 = 3407 | ||
| Bash 3 = 3407 | | Bash 3 = 3407 | ||
Line 185: | Line 182: | ||
| Bear Taunt (Pet) 5 = 2136 | | Bear Taunt (Pet) 5 = 2136 | ||
| Bear Taunt (Pet) 6 = 2136 | | Bear Taunt (Pet) 6 = 2136 | ||
− | |||
| Bear Ultra (Pet) 1 = 3619 | | Bear Ultra (Pet) 1 = 3619 | ||
| Bear Ultra (Pet) 2 = 3619 | | Bear Ultra (Pet) 2 = 3619 | ||
Line 216: | Line 212: | ||
| BeeShootB = 3403 | | BeeShootB = 3403 | ||
| BeeStab = 3593 | | BeeStab = 3593 | ||
− | |||
| Big Cat Claw = 2130 | | Big Cat Claw = 2130 | ||
| Big Cat Claw (Pet) = 2130 | | Big Cat Claw (Pet) = 2130 | ||
Line 265: | Line 260: | ||
| Bite = 2129 | | Bite = 2129 | ||
| Bite = 2129 | | Bite = 2129 | ||
− | |||
− | |||
− | |||
− | |||
| Bite 2 = 2129 | | Bite 2 = 2129 | ||
| Bite 3 = 2129 | | Bite 3 = 2129 | ||
Line 352: | Line 343: | ||
| Bodyslam 6 = 3322 | | Bodyslam 6 = 3322 | ||
| Boiling Veins = 2109 | | Boiling Veins = 2109 | ||
− | |||
| BossSlimeKick = 2130 | | BossSlimeKick = 2130 | ||
| BossSlimeKick2 = 2130 | | BossSlimeKick2 = 2130 | ||
Line 389: | Line 379: | ||
| Bruising Blow 5 = 2241 | | Bruising Blow 5 = 2241 | ||
| Bruising Blow 6 = 2241 | | Bruising Blow 6 = 2241 | ||
− | |||
| Bulwark Mode = 3451 | | Bulwark Mode = 3451 | ||
| Bulwark Mode 2 = 3451 | | Bulwark Mode 2 = 3451 | ||
Line 532: | Line 521: | ||
| ColdSphereBurst = 2130 | | ColdSphereBurst = 2130 | ||
| ColdSphereFreezeBurst = 2131 | | ColdSphereFreezeBurst = 2131 | ||
− | |||
| Collect Milk = 2148 | | Collect Milk = 2148 | ||
| Collect Milk 2 = 2148 | | Collect Milk 2 = 2148 | ||
Line 818: | Line 806: | ||
| Dulcimer 5 = 3539 | | Dulcimer 5 = 3539 | ||
| Dulcimer 6 = 3540 | | Dulcimer 6 = 3540 | ||
− | |||
}} | }} | ||
| e = {{ #switch: {{{1}}} | | e = {{ #switch: {{{1}}} | ||
Line 863: | Line 850: | ||
| Energize 3 = 3411 | | Energize 3 = 3411 | ||
| Energize 4 = 3411 | | Energize 4 = 3411 | ||
+ | | English: Left +10 = 3766 | ||
+ | | English: Reset = 3767 | ||
+ | | English: Right +10 = 3765 | ||
| Entrancing Lullaby = 3675 | | Entrancing Lullaby = 3675 | ||
| Entrancing Lullaby 2 = 3675 | | Entrancing Lullaby 2 = 3675 | ||
Line 930: | Line 920: | ||
| Fast Talk 3 = 3044 | | Fast Talk 3 = 3044 | ||
| Fast Talk 4 = 3044 | | Fast Talk 4 = 3044 | ||
+ | | Feeble Restoration = 2108 | ||
+ | | Feeble Restoration = 2108 | ||
| Feeble Smack = 2119 | | Feeble Smack = 2119 | ||
| Feed Pet = 2137 | | Feed Pet = 2137 | ||
Line 1,072: | Line 1,064: | ||
| Flamestrike 7 = 3739 | | Flamestrike 7 = 3739 | ||
| Flamestrike 8 = 3739 | | Flamestrike 8 = 3739 | ||
+ | | FlapSkullBigBite = 2129 | ||
+ | | FlapSkullBite = 2129 | ||
| Flare Fireball 2 = 2238 | | Flare Fireball 2 = 2238 | ||
| Flare Fireball 4 = 2238 | | Flare Fireball 4 = 2238 | ||
Line 1,205: | Line 1,199: | ||
| Goat Bite = 2129 | | Goat Bite = 2129 | ||
| Goat Kick = 2152 | | Goat Kick = 2152 | ||
− | |||
| Goat Smite = 2152 | | Goat Smite = 2152 | ||
− | |||
| Golem Explode = 2206 | | Golem Explode = 2206 | ||
| Golem Heal = 2108 | | Golem Heal = 2108 | ||
Line 1,260: | Line 1,252: | ||
| Gut 7 = 3597 | | Gut 7 = 3597 | ||
| Gut 8 = 3597 | | Gut 8 = 3597 | ||
− | |||
}} | }} | ||
| h = {{ #switch: {{{1}}} | | h = {{ #switch: {{{1}}} | ||
Line 1,593: | Line 1,584: | ||
}} | }} | ||
| k = {{ #switch: {{{1}}} | | k = {{ #switch: {{{1}}} | ||
+ | | Kick Power +10 = 3763 | ||
+ | | Kick Power -10 = 3762 | ||
+ | | Kick Power Reset = 3764 | ||
| King of the Forest = 2247 | | King of the Forest = 2247 | ||
| King of the Forest 2 = 2247 | | King of the Forest 2 = 2247 | ||
Line 1,650: | Line 1,644: | ||
| Lethal Force 5 = 3774 | | Lethal Force 5 = 3774 | ||
| Lethal Force 6 = 3774 | | Lethal Force 6 = 3774 | ||
− | |||
| Life Crush = 3043 | | Life Crush = 3043 | ||
| Life Crush 2 = 3043 | | Life Crush 2 = 3043 | ||
Line 1,748: | Line 1,741: | ||
| Mega-Arrow = 3310 | | Mega-Arrow = 3310 | ||
| Mega-Arrow = 3310 | | Mega-Arrow = 3310 | ||
− | |||
| MegaHammer = 3415 | | MegaHammer = 3415 | ||
| MegaHammer2 = 3415 | | MegaHammer2 = 3415 | ||
Line 1,771: | Line 1,763: | ||
| Mindreave 6 = 3424 | | Mindreave 6 = 3424 | ||
| Mindreave 7 = 3424 | | Mindreave 7 = 3424 | ||
− | |||
| MinotaurBossRageClub = 3471 | | MinotaurBossRageClub = 3471 | ||
| MinotaurBoulder = 2209 | | MinotaurBoulder = 2209 | ||
Line 1,827: | Line 1,818: | ||
| Mudbath 4 = 2232 | | Mudbath 4 = 2232 | ||
| Mudbath 5 = 2232 | | Mudbath 5 = 2232 | ||
− | |||
− | |||
− | |||
− | |||
| Multishot = 3318 | | Multishot = 3318 | ||
| Multishot 2 = 3318 | | Multishot 2 = 3318 | ||
Line 1,850: | Line 1,837: | ||
| Mushroom Turret 6 = 3699 | | Mushroom Turret 6 = 3699 | ||
| Mushroom Turret 7 = 3699 | | Mushroom Turret 7 = 3699 | ||
+ | | MushroomMonster_Bite = 2129 | ||
+ | | MushroomMonster_SpawnSpit1 = 2209 | ||
+ | | MushroomMonster_SpawnSpit2 = 2209 | ||
+ | | MushroomMonster_SpawnSuperSpit1 = 2209 | ||
+ | | MushroomMonster_SpawnSuperSpit2 = 2209 | ||
+ | | MushroomMonster_Spit1 = 2209 | ||
+ | | MushroomMonster_Spit2 = 2209 | ||
+ | | MushroomMonster_SummonMushroomSpawn1 = 2195 | ||
+ | | MushroomMonster_SummonMushroomSpawn2 = 2195 | ||
+ | | MushroomMonster_SummonMushroomSpawn3 = 2195 | ||
| Mutation: Extra Heart = 2182 | | Mutation: Extra Heart = 2182 | ||
| Mutation: Extra Heart 2 = 2182 | | Mutation: Extra Heart 2 = 2182 | ||
Line 1,883: | Line 1,880: | ||
| Mutation: Stretchy Spine 4 = 2187 | | Mutation: Stretchy Spine 4 = 2187 | ||
| Mutation: Stretchy Spine 5 = 2187 | | Mutation: Stretchy Spine 5 = 2187 | ||
+ | | Myconian_Bash = 2105 | ||
+ | | Myconian_BossBash = 2105 | ||
+ | | Myconian_Drain = 3068 | ||
+ | | Myconian_Mindspores = 3068 | ||
+ | | Myconian_Mindspores_Permanent = 3068 | ||
+ | | Myconian_Shock = 3070 | ||
+ | | Myconian_TidalCurse = 3481 | ||
| Mycotoxin Formula = 2178 | | Mycotoxin Formula = 2178 | ||
| Mycotoxin Formula 2 = 2178 | | Mycotoxin Formula 2 = 2178 | ||
Line 1,895: | Line 1,899: | ||
| n = {{ #switch: {{{1}}} | | n = {{ #switch: {{{1}}} | ||
| Nature's Cure = 2108 | | Nature's Cure = 2108 | ||
+ | | Nature's Cure 2 = 2108 | ||
+ | | Nature's Cure 3 = 2108 | ||
| Necro Darkness Wave = 3429 | | Necro Darkness Wave = 3429 | ||
| Necro Deaths Hold = 3427 | | Necro Deaths Hold = 3427 | ||
Line 1,949: | Line 1,955: | ||
| OrcEvasionBubble = 2108 | | OrcEvasionBubble = 2108 | ||
| OrcFireBolts = 2109 | | OrcFireBolts = 2109 | ||
− | | | + | | OrcHeal1 = 2108 |
+ | | OrcHeal2 = 2108 | ||
| OrcKnockbackBolt = 2209 | | OrcKnockbackBolt = 2209 | ||
| OrcSummonUrak2 = 2195 | | OrcSummonUrak2 = 2195 | ||
− | |||
| Organ Displacement = 3462 | | Organ Displacement = 3462 | ||
| Owl Form = 3609 | | Owl Form = 3609 | ||
Line 2,101: | Line 2,107: | ||
| Positive Attitude 4 = 2222 | | Positive Attitude 4 = 2222 | ||
| Positive Attitude 5 = 2222 | | Positive Attitude 5 = 2222 | ||
+ | | Potent Restoration = 2108 | ||
+ | | Potent Restoration = 2108 | ||
+ | | Potent Restoration = 2108 | ||
| Potent Restoration = 2108 | | Potent Restoration = 2108 | ||
| Pouncing Rake = 2117 | | Pouncing Rake = 2117 | ||
Line 2,137: | Line 2,146: | ||
| Power Glyph 7 = 3799 | | Power Glyph 7 = 3799 | ||
| Power Glyph 8 = 3799 | | Power Glyph 8 = 3799 | ||
− | |||
− | |||
| Precision Pierce = 3047 | | Precision Pierce = 3047 | ||
| Precision Pierce 2 = 3047 | | Precision Pierce 2 = 3047 | ||
Line 2,192: | Line 2,199: | ||
| Psychoanalyze 5 = 2118 | | Psychoanalyze 5 = 2118 | ||
| Psychoanalyze 6 = 2118 | | Psychoanalyze 6 = 2118 | ||
− | |||
| Pulse of Life = 3632 | | Pulse of Life = 3632 | ||
| Pulse of Life 2 = 3632 | | Pulse of Life 2 = 3632 | ||
Line 2,352: | Line 2,358: | ||
| RanalonGuardianStab = 3472 | | RanalonGuardianStab = 3472 | ||
| RanalonGuardianStabB = 3472 | | RanalonGuardianStabB = 3472 | ||
− | | | + | | RanalonHeal1 = 2108 |
+ | | RanalonHeal2 = 2108 | ||
| RanalonHit = 3472 | | RanalonHit = 3472 | ||
| RanalonHitB = 3472 | | RanalonHitB = 3472 | ||
Line 2,580: | Line 2,587: | ||
| Scintillating Frost 5 = 2208 | | Scintillating Frost 5 = 2208 | ||
| Scintillating Frost 6 = 2208 | | Scintillating Frost 6 = 2208 | ||
− | | | + | | ScrayBite = 2152 |
− | | | + | | ScrayStab1 = 2152 |
− | | | + | | ScrayStab2 = 2152 |
− | | | + | | ScrayStab3 = 2152 |
− | |||
− | |||
− | |||
| Screech = 3544 | | Screech = 3544 | ||
| Screech 2 = 3544 | | Screech 2 = 3544 | ||
Line 2,652: | Line 2,656: | ||
| Shillelagh 5 = 3571 | | Shillelagh 5 = 3571 | ||
| Shillelagh 6 = 3571 | | Shillelagh 6 = 3571 | ||
− | |||
| Shoot Crossbow = 3647 | | Shoot Crossbow = 3647 | ||
| Shoot Crossbow 2 = 3647 | | Shoot Crossbow 2 = 3647 | ||
Line 2,845: | Line 2,848: | ||
| Spider Pin = 2131 | | Spider Pin = 2131 | ||
| Spider Punt = 3759 | | Spider Punt = 3759 | ||
− | |||
| Spirit Bolt = 3803 | | Spirit Bolt = 3803 | ||
| Spirit Bolt 2 = 3803 | | Spirit Bolt 2 = 3803 | ||
Line 2,861: | Line 2,863: | ||
| Spirit Pounce 7 = 3797 | | Spirit Pounce 7 = 3797 | ||
| Spirit Pounce 8 = 3797 | | Spirit Pounce 8 = 3797 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| Spit Acid = 3251 | | Spit Acid = 3251 | ||
| Spit Acid 2 = 3251 | | Spit Acid 2 = 3251 | ||
Line 2,941: | Line 2,936: | ||
| Strike a Nerve 5 = 2124 | | Strike a Nerve 5 = 2124 | ||
| Strike a Nerve 6 = 2124 | | Strike a Nerve 6 = 2124 | ||
− | |||
− | |||
| Stun Trap = 3769 | | Stun Trap = 3769 | ||
| Stun Trap = 3769 | | Stun Trap = 3769 | ||
Line 2,982: | Line 2,975: | ||
| Super Fireball 5 = 2107 | | Super Fireball 5 = 2107 | ||
| Super Fireball 6 = 2107 | | Super Fireball 6 = 2107 | ||
− | |||
− | |||
− | |||
− | |||
| Super Warmthball = 2107 | | Super Warmthball = 2107 | ||
| Superhot Flames = 2207 | | Superhot Flames = 2207 | ||
Line 3,063: | Line 3,052: | ||
| 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 | ||
− | |||
− | |||
| Terrifying Bite = 3032 | | Terrifying Bite = 3032 | ||
| Terrifying Bite 2 = 3032 | | Terrifying Bite 2 = 3032 | ||
Line 3,113: | Line 3,100: | ||
| Thunderstrike 5 = 3638 | | Thunderstrike 5 = 3638 | ||
| Thunderstrike 6 = 3638 | | Thunderstrike 6 = 3638 | ||
− | |||
| Tornado Fling = 2110 | | Tornado Fling = 2110 | ||
| Tornado Jolt = 3070 | | Tornado Jolt = 3070 | ||
Line 3,149: | Line 3,135: | ||
| Toxic Irritant 7 = 3651 | | Toxic Irritant 7 = 3651 | ||
| Toxic Irritant 8 = 3651 | | Toxic Irritant 8 = 3651 | ||
− | |||
| Toxin Bomb = 2171 | | Toxin Bomb = 2171 | ||
| Toxin Bomb 2 = 2171 | | Toxin Bomb 2 = 2171 | ||
Line 3,173: | Line 3,158: | ||
| Training Golem Fire Burst = 3434 | | Training Golem Fire Burst = 3434 | ||
| Training Golem Heal = 2108 | | Training Golem Heal = 2108 | ||
+ | | Training Golem Heal B = 2108 | ||
| Training Golem Punch = 2119 | | Training Golem Punch = 2119 | ||
| Training Golem Punch B = 2119 | | Training Golem Punch B = 2119 | ||
| Training Golem Stun = 2105 | | Training Golem Stun = 2105 | ||
| Treachery Trooper's Battle Cry = 3659 | | Treachery Trooper's Battle Cry = 3659 | ||
− | | | + | | TreantDoT1 = 3472 |
− | | | + | | TreantSlashA = 3472 |
− | | | + | | TreantSlashB = 3472 |
− | | | + | | TreantStomp = 3472 |
| Treat Cold Exposure = 3646 | | Treat Cold Exposure = 3646 | ||
| Treat Disease = 2218 | | Treat Disease = 2218 | ||
| Treat Disease 2 = 2218 | | Treat Disease 2 = 2218 | ||
| Treat Disease 3 = 2218 | | Treat Disease 3 = 2218 | ||
− | |||
− | |||
| Triage = 3734 | | Triage = 3734 | ||
| Triage 2 = 3734 | | Triage 2 = 3734 | ||
Line 3,248: | Line 3,232: | ||
| Unnatural Wrath 4 = 3418 | | Unnatural Wrath 4 = 3418 | ||
| Unnatural Wrath 5 = 3418 | | Unnatural Wrath 5 = 3418 | ||
− | |||
| Ursula Rage = 3070 | | Ursula Rage = 3070 | ||
| Ursula Summon = 2107 | | Ursula Summon = 2107 | ||
Line 3,293: | Line 3,276: | ||
| Visage of Kajich 7 = 3706 | | Visage of Kajich 7 = 3706 | ||
| Visage of Kajich 8 = 3706 | | Visage of Kajich 8 = 3706 | ||
− | |||
}} | }} | ||
| w = {{ #switch: {{{1}}} | | w = {{ #switch: {{{1}}} | ||
Line 3,359: | Line 3,341: | ||
| Wave of Darkness 5 = 3429 | | Wave of Darkness 5 = 3429 | ||
| Wave of Darkness 6 = 3429 | | Wave of Darkness 6 = 3429 | ||
− | |||
| Way of the Hammer = 3635 | | Way of the Hammer = 3635 | ||
| Way of the Hammer 2 = 3635 | | Way of the Hammer 2 = 3635 | ||
Line 3,470: | Line 3,451: | ||
}} | }} | ||
}}.png | }}.png | ||
− | | http://cdn.projectgorgon.com/ | + | | http://cdn.projectgorgon.com/v346/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]] | + | | <span style="color:red">Error: Ability not found</span> }} | [[File:Item-icon-none.png]] }}</includeonly><noinclude> |
{{Documentation}} | {{Documentation}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> |
Revision as of 16:51, 30 September 2021
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.)