Template:Combat Ability icon: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
FoxnEagle (talk | contribs)
accidentally included ability image switch for small vs large. Removed,
FoxnEagle (talk | contribs)
Updating to v414
Line 1: Line 1:
<noinclude><!-- Updated on Sat Dec 16 2023 01:55:49 GMT-0700 (Mountain Standard Time) using FoxnEagle's auto-wiki-generator -->
<noinclude><!-- Updated on Fri Oct 04 2024 23:24:28 GMT-0600 (Mountain Daylight Time) using FoxnEagle's auto-wiki-generator -->
</noinclude><includeonly>{{ #if: {{{1|}}} |  
</noinclude><includeonly>{{ #switch: {{{2}}} | 1 | 32 = <span class="extimage32px">| 2 | 64 = <span class="extimage64px"> | }}{{ #if: {{{1|}}} |  
{{ #replace: http://cdn.projectgorgon.com/v400/icons/icon_{{ #switch: {{padleft: | 1 | {{ lc: {{{1}}} }} }}
{{ #replace: http://cdn.projectgorgon.com/v414/icons/icon_{{ #switch: {{padleft: | 1 | {{ lc: {{{1}}} }} }}
| a = {{ #switch: {{{1}}}
| a = {{ #switch: {{{1}}}
| AcidAuraBall1 = 3403
| AcidAuraBall1 = 3403
Line 7: Line 7:
| AcidAuraBall3 = 3403
| AcidAuraBall3 = 3403
| AcidAuraBall4 = 3403
| AcidAuraBall4 = 3403
| AcidAuraBallPet = 3403
| AcidBall1 = 3403
| AcidBall1 = 3403
| AcidBall2 = 3403
| AcidBall2 = 3403
Line 16: Line 17:
| AktaariSlash1 = 3486
| AktaariSlash1 = 3486
| AktaariSlash2 = 3486
| AktaariSlash2 = 3486
| AktaariSlow = 3702
| AlienDog_Punch = 2117
| AlienDog_Punch = 2117
| AlienDog_Punch2 = 2117
| AlienDog_Punch2 = 2117
| AlienDog_RagePunch = 2117
| AlienDog_RagePunch = 2117
| AnimalBite = 2129
| AnimalBite = 2129
| AnimalBossSelfBuffDamage = 2152
| AnimalClaw = 2130
| AnimalClaw = 2130
| AnimalFlee = 2129
| AnimalFlee = 2129
Line 30: Line 33:
| AnimalOmegaBite = 2129
| AnimalOmegaBite = 2129
| AnimalOmegaBite2 = 2129
| AnimalOmegaBite2 = 2129
| ArmShrivel = 2240
}}
}}
| b = {{ #switch: {{{1}}}
| b = {{ #switch: {{{1}}}
Line 162: Line 166:
| BossSlime_SummonSlime1 = 2161
| BossSlime_SummonSlime1 = 2161
| BossSlime_SummonSlime7Elite = 2161
| BossSlime_SummonSlime7Elite = 2161
| BossSlime_SummonSlime9Elite = 2161
| BrainBite = 2129
| BrainBite = 2129
| BrainDrain = 2129
| BrainDrain = 2129
Line 177: Line 182:
| CockatriceTailWhip = 2130
| CockatriceTailWhip = 2130
| ColdAuraBurst = 2131
| ColdAuraBurst = 2131
| ColdFireWallAttack = 2206
| ColdFireWallRage = 2207
| ColdSphereBurst = 2130
| ColdSphereBurst = 2130
| ColdSphereFreezeBurst = 2131
| ColdSphereFreezeBurst = 2131
Line 183: Line 190:
| CultistArrow1 = 3310
| CultistArrow1 = 3310
| CultistArrow2 = 3310
| CultistArrow2 = 3310
| CultistBloodBlast = 3597
| CultistBloodSphere = 3426
| CultistOmegaArrow = 3310
| CultistOmegaArrow = 3310
| CultistSword1 = 2121
| CultistSword1 = 2121
Line 215: Line 224:
| DroachBiteB = 2129
| DroachBiteB = 2129
| DroachBreatheFire = 2129
| DroachBreatheFire = 2129
| DroachBreatheWater = 2129
| DroachDarknessBall = 3043
| DroachDarknessBreath = 3429
| DroachFireball = 3069
| DroachFireball = 3069
| DroachFireballPerching = 3069
| DroachFireballPerching = 3069
Line 221: Line 233:
| DroachShockingKnockback = 2129
| DroachShockingKnockback = 2129
| DruidHealingSanctuaryHeal = 3328
| DruidHealingSanctuaryHeal = 3328
| DwarfHammererLeapingSmash = 3475
| DwarfHammererPound = 3472
| DwarfHammererZap = 3637
}}
}}
| e = {{ #switch: {{{1}}}
| e = {{ #switch: {{{1}}}
Line 239: Line 254:
| ElementalHateFireball3 = 3070
| ElementalHateFireball3 = 3070
| ElementalSlam = 3322
| ElementalSlam = 3322
| ElfBarrage = 2102
| ElfCastigate = 3727
| ElfCloudSight = 3485
| ElfCrushingBall = 2209
| ElfDecapitate = 3045
| ElfElementalWard = 3641
| ElfFanOfBlades = 3602
| ElfFinishingBlow = 2106
| ElfFlamestrike = 3739
| ElfFlashingStrike = 3443
| ElfHackingBlade = 3024
| ElfHamstringThrow = 3598
| ElfHeadbutt = 3323
| ElfInvincibleAura = 2127
| ElfLifesap = 3850
| ElfLightningBolt = 3850
| ElfMarkingCut = 3591
| ElfMendFlesh = 3729
| ElfPunch = 3323
| ElfRotskin = 3482
| ElfSpeedPotion = 3702
| ElfSurpriseThrow = 3599
| ElfToxinball = 3403
| EnemyMinigolemExplode = 2206
| EnemyMinigolemExplode = 2206
| EnemyMinigolemHeal = 2108
| EnemyMinigolemHeal = 2108
Line 273: Line 311:
| FireTrapAttack1 = 3325
| FireTrapAttack1 = 3325
| FireWallAttack1 = 2206
| FireWallAttack1 = 2206
| FireWallAttackTaunty1 = 2206
| FireWallDotAttack1 = 2207
| FireWallDotAttack1 = 2207
| FireWallDotAttackTaunty1 = 2207
| FlapSkullBigBite = 2129
| FlapSkullBigBite = 2129
| FlapSkullBite = 2129
| FlapSkullBite = 2129
Line 313: Line 353:
| GiantBeetleBoulderSpit = 2209
| GiantBeetleBoulderSpit = 2209
| GiantBeetleInject = 3252
| GiantBeetleInject = 3252
| GiantLungsDemonicBlast = 3307
| GiantLungsRageHeal = 3729
| GiantLungsRageHeal = 3729
| GiantLungsSummon1 = 3558
| GiantLungsSummon1 = 3558
| GiantLungsSummon2 = 3558
| GiantLungsSummon2 = 3558
| GiantLungsSummon3 = 3558
| GiantLungsSummon3 = 3558
| GiantLungsSummonDemonic = 3558
| GiantScorpionClawA = 3553
| GiantScorpionClawA = 3553
| GiantScorpionClawB = 3553
| GiantScorpionClawB = 3553
Line 346: Line 388:
| GoblinSwordSlashGuztok = 2121
| GoblinSwordSlashGuztok = 2121
| GoblinZapBall = 3070
| GoblinZapBall = 3070
| GreenDragonBite = 3067
| GreenDragonBreathe = 3874
| GreenDragonRage = 3874
| Grickfix = 2108
| Grickfix = 2108
| Gricklick = 2129
| Gricklick = 2129
Line 368: Line 413:
| HagAgingTouch = 3551
| HagAgingTouch = 3551
| HealingAura = 3328
| HealingAura = 3328
| HealingFireWallAttack1 = 2206
| HealingFireWallAttack2 = 2206
| HealingFireWallAttack3 = 2206
| HealingFireWallRageAttack1 = 2207
| HealingFireWallRageAttack2 = 2207
| HealingFireWallRageAttack3 = 2207
| HexapusBite = 3485
| HexapusBite = 3485
| HexapusBossSpit = 3485
| HexapusBulkSpit = 3485
| HexapusBulkSpit = 3485
| HexapusMegaSpit = 3485
| HexapusMegaSpit = 3485
Line 422: Line 474:
| KrakenSlam = 2132
| KrakenSlam = 2132
| KrakenWorldBossRageCurse = 2178
| KrakenWorldBossRageCurse = 2178
| KunaxBreathe = 3874
| KuvouAttack1 = 3485
| KuvouAttack1 = 3485
| KuvouAttack2 = 3485
| KuvouAttack2 = 3485
Line 428: Line 481:
}}
}}
| l = {{ #switch: {{{1}}}
| l = {{ #switch: {{{1}}}
| LamiaBossMindControl = 3485
| LamiaMindControl = 3485
| LamiaMindControl = 3485
| LamiaRage = 3485
| LamiaRage = 3485
| LethargyPuckFrostbite = 3586
| LethargyPuckFrostbite = 3586
| LethargyPuckRage = 3499
| LethargyPuckRage = 3499
| LimbWrench = 2240
}}
}}
| m = {{ #switch: {{{1}}}
| m = {{ #switch: {{{1}}}
Line 440: Line 495:
| MantisAcidBurst = 2130
| MantisAcidBurst = 2130
| MantisBeam = 3043
| MantisBeam = 3043
| MantisBeamLongRanged = 3043
| MantisBlast = 3043
| MantisBlast = 3043
| MantisBossBlast = 3043
| MantisBossBlast = 3043
| MantisClaw = 2130
| MantisClaw = 2130
| MantisPainBubbleLongRanged = 2130
| MantisPainBubbleMelee = 2130
| MantisPainBubbleMelee = 2130
| MantisPainBubbleRanged = 2130
| MantisPainBubbleRanged = 2130
| MantisPortal = 3711
| MantisRage = 2130
| MantisRage = 2130
| MantisRageBeam = 3043
| MantisRageBeam = 3043
Line 552: Line 610:
| MinotaurBoulder = 2209
| MinotaurBoulder = 2209
| MinotaurClub = 3472
| MinotaurClub = 3472
| MinotaurGore = 3323
| MinotaurLightning = 3637
| MinotaurRageClub = 3471
| MinotaurRageClub = 3471
| MinotaurStun = 3043
| MonsterGolemBombToss = 3403
| MonsterGolemPunch = 2119
| MonsterGolemRageAcidToss = 3403
| MonsterWerewolfHowl = 2111
| MonsterWerewolfHowl = 2111
| MonsterWerewolfPackAttack = 2114
| MonsterWerewolfPackAttack = 2114
Line 575: Line 639:
| MushroomMonster_SummonMushroomSpawn3 = 2195
| MushroomMonster_SummonMushroomSpawn3 = 2195
| MushroomMonster_SummonMushroomSpawn8 = 2195
| MushroomMonster_SummonMushroomSpawn8 = 2195
| MushroomMonster_SummonMushroomSpawn9 = 2195
| Myconian_Bash = 2105
| Myconian_Bash = 2105
| Myconian_BossBash = 2105
| Myconian_BossBash = 2105
Line 633: Line 698:
| OrcStaffSmash = 2189
| OrcStaffSmash = 2189
| OrcSummonSigil1 = 3324
| OrcSummonSigil1 = 3324
| OrcSummonSigil2 = 3324
| OrcSummonUrak2 = 2195
| OrcSummonUrak2 = 2195
| OrcSwordSlash = 2121
| OrcSwordSlash = 2121
Line 842: Line 908:
| SnailStrike = 2130
| SnailStrike = 2130
| SpecialBuffArmor = 3868
| SpecialBuffArmor = 3868
| SpecialBuffBodilyResistance = 3868
| SpecialBuffElementalResistance = 3868
| SpecialBuffIndirectProtection = 3868
| SpecialBuffIndirectProtection = 3868
| SpecialBuffNextAttacks = 3868
| SpecialBuffNextAttacks = 3868
| SpecialBuffReflective = 3868
| SpecialBuffRegeneration = 3868
| SpecialBuffRegeneration = 3868
| SpecialBuffUnstoppable = 3868
| SpecialBuffUnstoppable = 3868
Line 865: Line 932:
| SpiderPin = 2131
| SpiderPin = 2131
| SpikeTrapReusable = 3421
| SpikeTrapReusable = 3421
| SprigganRageBurst = 3778
| SprigganWeedBite = 3485
| SpyPortalZap = 2149
| SpyPortalZap = 2149
| SpyPortalZap2 = 2149
| SpyPortalZap2 = 2149
Line 874: Line 943:
| StrigaReap2 = 2117
| StrigaReap2 = 2117
| StunTrapExplode = 3769
| StunTrapExplode = 3769
| SunStatueBolt = 3733
| SunStatueBurst = 3739
}}
}}
| t = {{ #switch: {{{1}}}
| t = {{ #switch: {{{1}}}
Line 897: Line 968:
| TrainingGolemStun = 2105
| TrainingGolemStun = 2105
| TraumaticGobble = 2207
| TraumaticGobble = 2207
| TreantDoT1 = 3472
| TreantBlessings = 3635
| TreantSlashA = 3472
| TreantDoT1 = 3403
| TreantSlashB = 3472
| TreantSlashA = 3486
| TreantSlashB = 3486
| TreantStomp = 3472
| TreantStomp = 3472
| TriffidClawA = 3067
| TriffidClawA = 3067
Line 1,061: Line 1,133:
}}
}}
}}.png
}}.png
| http://cdn.projectgorgon.com/v400/icons/icon_.png <!-- result when no match is found, will be #replaced -->
| http://cdn.projectgorgon.com/v414/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>

Revision as of 06:24, 5 October 2024


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}}

{{ #replace: http://cdn.projectgorgon.com/v414/icons/icon_3472.png | http://cdn.projectgorgon.com/v414/icons/icon_.png | Error: Ability not found }} {{ #replace: http://cdn.projectgorgon.com/v414/icons/icon_2176.png | http://cdn.projectgorgon.com/v414/icons/icon_.png | Error: Ability not found }}

Forcing resize to 32x32

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

{{ #replace: http://cdn.projectgorgon.com/v414/icons/icon_2176.png | http://cdn.projectgorgon.com/v414/icons/icon_.png | Error: Ability not found }}

Forcing resize to 64x64

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

{{ #replace: http://cdn.projectgorgon.com/v414/icons/icon_2176.png | http://cdn.projectgorgon.com/v414/icons/icon_.png

| Error: Ability not found }}
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.)