Difference between revisions of "Template:Combat Ability icon"
From Project: Gorgon Wiki
(Updating to v414) |
(Updating to v416) |
||
Line 1: | Line 1: | ||
− | <noinclude><!-- Updated on | + | <noinclude><!-- Updated on Sat Dec 14 2024 04:11:28 GMT-0700 (Mountain Standard 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/v416/icons/icon_{{ #switch: {{padleft: | 1 | {{ lc: {{{1}}} }} }} |
| a = {{ #switch: {{{1}}} | | a = {{ #switch: {{{1}}} | ||
| AcidAuraBall1 = 3403 | | AcidAuraBall1 = 3403 | ||
Line 52: | Line 52: | ||
| BatIllusionSlashA = 3553 | | BatIllusionSlashA = 3553 | ||
| BatIllusionSlashB = 3553 | | BatIllusionSlashB = 3553 | ||
+ | | BeakMultipierce = 2129 | ||
+ | | BeakPierce = 2129 | ||
| BearBite = 2129 | | BearBite = 2129 | ||
| BearBite_Pet = 2129 | | BearBite_Pet = 2129 | ||
Line 155: | Line 157: | ||
| BitingVineSpitB = 3481 | | BitingVineSpitB = 3481 | ||
| BleddynHowl = 2111 | | BleddynHowl = 2111 | ||
+ | | BloodstormBash = 2110 | ||
+ | | BloodstormSmash = 3844 | ||
| BossMegaHammer = 3415 | | BossMegaHammer = 3415 | ||
| BossMegaHammer2 = 3415 | | BossMegaHammer2 = 3415 | ||
Line 172: | Line 176: | ||
}} | }} | ||
| c = {{ #switch: {{{1}}} | | c = {{ #switch: {{{1}}} | ||
+ | | CerberusBite = 2129 | ||
+ | | CerberusBlast = 2129 | ||
+ | | CerberusRage = 2129 | ||
| CiervosDarknessBomb = 3418 | | CiervosDarknessBomb = 3418 | ||
| CiervosNightmareHoof = 3418 | | CiervosNightmareHoof = 3418 | ||
Line 217: | Line 224: | ||
| DragonWormBite = 2129 | | DragonWormBite = 2129 | ||
| DragonWormEscape = 0 | | DragonWormEscape = 0 | ||
+ | | DragonWormMindworm = 3070 | ||
+ | | DragonWormPsychicRage = 2129 | ||
| DragonWormRage = 2129 | | DragonWormRage = 2129 | ||
| DragonWormSmack = 2112 | | DragonWormSmack = 2112 | ||
Line 363: | Line 372: | ||
| GiantScorpionSting = 3402 | | GiantScorpionSting = 3402 | ||
| GnasherBite = 2129 | | GnasherBite = 2129 | ||
+ | | GnasherBloodPull = 2129 | ||
+ | | GnasherBloodSpew = 2129 | ||
| GnasherRend = 2129 | | GnasherRend = 2129 | ||
| GoatBite = 2129 | | GoatBite = 2129 | ||
Line 952: | Line 963: | ||
| TentakillerTouch = 3485 | | TentakillerTouch = 3485 | ||
| TheFogCurse = 3070 | | TheFogCurse = 3070 | ||
+ | | ThrallKick = 2204 | ||
+ | | ThrallSuckerPunch = 2119 | ||
| TornadoFling = 2110 | | TornadoFling = 2110 | ||
| TornadoJolt1 = 3070 | | TornadoJolt1 = 3070 | ||
Line 1,034: | Line 1,047: | ||
}} | }} | ||
| v = {{ #switch: {{{1}}} | | v = {{ #switch: {{{1}}} | ||
+ | | VampireDenSpikeTrap = 3421 | ||
| VanityPeck = 3485 | | VanityPeck = 3485 | ||
| ViperBite = 2152 | | ViperBite = 2152 | ||
Line 1,133: | Line 1,147: | ||
}} | }} | ||
}}.png | }}.png | ||
− | | http://cdn.projectgorgon.com/ | + | | http://cdn.projectgorgon.com/v416/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 06:15, 14 December 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}}
Forcing resize to 32x32
<span class="extimage32px">{{Combat Ability icon|IceSlimeKick}}</span>
Forcing resize to 64x64
<span class="extimage64px">{{Combat Ability icon|IceSlimeKick}}</span>
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.)
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.)