Difference between revisions of "Template:Ability icon"

From Project: Gorgon Wiki
Jump to: navigation, search
(Updating Player Ability Icon to v400 using auto-wiki generator)
(Updating to v414)
Line 1: Line 1:
<noinclude><!-- Updated on Fri Dec 15 2023 10:39:10 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>{{ #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/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}}}
 
| Acid Arrow (Orc) = 3302
 
| Acid Arrow (Orc) = 3302
Line 40: Line 40:
 
| Acid Bomb 9 = 2184
 
| Acid Bomb 9 = 2184
 
| Acid Bomb = 2184
 
| Acid Bomb = 2184
 +
| Acid Cloud 10 = 3302
 +
| Acid Cloud 2 = 3302
 +
| Acid Cloud 3 = 3302
 +
| Acid Cloud 4 = 3302
 +
| Acid Cloud 5 = 3302
 +
| Acid Cloud 6 = 3302
 +
| Acid Cloud 7 = 3302
 +
| Acid Cloud 8 = 3302
 +
| Acid Cloud 9 = 3302
 +
| Acid Cloud = 3302
 
| Acid Sigil 2 = 3331
 
| Acid Sigil 2 = 3331
 
| Acid Sigil 3 = 3331
 
| Acid Sigil 3 = 3331
 
| Acid Sigil 4 = 3331
 
| Acid Sigil 4 = 3331
 +
| Acid Sigil 5 = 3331
 
| Acid Sigil = 3331
 
| Acid Sigil = 3331
 
| Admonish 10 = 3726
 
| Admonish 10 = 3726
Line 83: Line 94:
 
| Aimed Shot = 3315
 
| Aimed Shot = 3315
 
| Analyze Arthropod Genes = 3829
 
| Analyze Arthropod Genes = 3829
 +
| Analyze Ungulate Genes = 3829
 
| Angling (Advanced) = 3859
 
| Angling (Advanced) = 3859
 
| Angling (Basic) = 3859
 
| Angling (Basic) = 3859
Line 218: Line 230:
 
| Blocking Stance 6 = 2192
 
| Blocking Stance 6 = 2192
 
| Blocking Stance = 2192
 
| Blocking Stance = 2192
 +
| Blood Mist 2 = 3907
 +
| Blood Mist 3 = 3907
 +
| Blood Mist 4 = 3907
 +
| Blood Mist 5 = 3907
 +
| Blood Mist 6 = 3907
 +
| Blood Mist 7 = 3907
 +
| Blood Mist = 3907
 
| Blood of the Pack 2 = 3629
 
| Blood of the Pack 2 = 3629
 
| Blood of the Pack 3 = 3629
 
| Blood of the Pack 3 = 3629
Line 535: Line 554:
 
| Dance 1 (variant B) = 3811
 
| Dance 1 (variant B) = 3811
 
| Dance 1 (variant C) = 3817
 
| Dance 1 (variant C) = 3817
 +
| Dance 1 (variant D) = 3887
 +
| Dance 1 (variant E) = 3893
 +
| Dance 1 (variant F) = 3899
 
| Dance 1 = 3612
 
| Dance 1 = 3612
 
| Dance 2 (variant B) = 3812
 
| Dance 2 (variant B) = 3812
 
| Dance 2 (variant C) = 3818
 
| Dance 2 (variant C) = 3818
 +
| Dance 2 (variant D) = 3888
 +
| Dance 2 (variant E) = 3894
 +
| Dance 2 (variant F) = 3900
 
| Dance 2 = 3613
 
| Dance 2 = 3613
 
| Dance 3 (variant B) = 3813
 
| Dance 3 (variant B) = 3813
 
| Dance 3 (variant C) = 3819
 
| Dance 3 (variant C) = 3819
 +
| Dance 3 (variant D) = 3889
 +
| Dance 3 (variant E) = 3895
 +
| Dance 3 (variant F) = 3901
 
| Dance 3 = 3614
 
| Dance 3 = 3614
 
| Dance 4 (variant B) = 3814
 
| Dance 4 (variant B) = 3814
 
| Dance 4 (variant C) = 3820
 
| Dance 4 (variant C) = 3820
 +
| Dance 4 (variant D) = 3890
 +
| Dance 4 (variant E) = 3896
 +
| Dance 4 (variant F) = 3902
 
| Dance 4 = 3615
 
| Dance 4 = 3615
 
| Dance 5 (variant B) = 3815
 
| Dance 5 (variant B) = 3815
 
| Dance 5 (variant C) = 3821
 
| Dance 5 (variant C) = 3821
 +
| Dance 5 (variant D) = 3891
 +
| Dance 5 (variant E) = 3897
 +
| Dance 5 (variant F) = 3903
 
| Dance 5 = 3616
 
| Dance 5 = 3616
 
| Dance 6 (variant B) = 3816
 
| Dance 6 (variant B) = 3816
 
| Dance 6 (variant C) = 3822
 
| Dance 6 (variant C) = 3822
 +
| Dance 6 (variant D) = 3892
 +
| Dance 6 (variant E) = 3898
 +
| Dance 6 (variant F) = 3904
 
| Dance 6 = 3617
 
| Dance 6 = 3617
 
| Deadly Emission 2 = 3754
 
| Deadly Emission 2 = 3754
Line 705: Line 742:
 
| Doe Eyes 7 = 2153
 
| Doe Eyes 7 = 2153
 
| Doe Eyes = 2153
 
| Doe Eyes = 2153
 +
| Dominate 2 = 3905
 +
| Dominate 3 = 3905
 +
| Dominate 4 = 3905
 +
| Dominate 5 = 3905
 +
| Dominate 6 = 3905
 +
| Dominate = 3905
 
| Double Claw 2 = 2132
 
| Double Claw 2 = 2132
 
| Double Claw 3 = 2132
 
| Double Claw 3 = 2132
Line 720: Line 763:
 
| Double Hit 7 = 2190
 
| Double Hit 7 = 2190
 
| Double Hit = 2190
 
| Double Hit = 2190
 +
| Draining Bite 10 = 3779
 +
| Draining Bite 11 = 3779
 +
| Draining Bite 2 = 3779
 +
| Draining Bite 3 = 3779
 +
| Draining Bite 4 = 3779
 +
| Draining Bite 5 = 3779
 +
| Draining Bite 6 = 3779
 +
| Draining Bite 7 = 3779
 +
| Draining Bite 8 = 3779
 +
| Draining Bite 9 = 3779
 +
| Draining Bite = 3779
 
| Drink Blood 2 = 3549
 
| Drink Blood 2 = 3549
 
| Drink Blood 3 = 3549
 
| Drink Blood 3 = 3549
Line 759: Line 813:
 
| Electricity Sigil 3 = 3324
 
| Electricity Sigil 3 = 3324
 
| Electricity Sigil 4 = 3324
 
| Electricity Sigil 4 = 3324
 +
| Electricity Sigil 5 = 3324
 
| Electricity Sigil = 3324
 
| Electricity Sigil = 3324
 
| Electrify 2 = 3430
 
| Electrify 2 = 3430
Line 770: Line 825:
 
| Elemental Ward 4 = 3641
 
| Elemental Ward 4 = 3641
 
| Elemental Ward = 3641
 
| Elemental Ward = 3641
 +
| Embrace of Despair 10 = 3779
 +
| Embrace of Despair 11 = 3779
 +
| Embrace of Despair 2 = 3779
 +
| Embrace of Despair 3 = 3779
 +
| Embrace of Despair 4 = 3779
 +
| Embrace of Despair 5 = 3779
 +
| Embrace of Despair 6 = 3779
 +
| Embrace of Despair 7 = 3779
 +
| Embrace of Despair 8 = 3779
 +
| Embrace of Despair 9 = 3779
 +
| Embrace of Despair = 3779
 
| Emergency Alcohol Treatment = 3686
 
| Emergency Alcohol Treatment = 3686
 
| Emergency Bash 2 = 3449
 
| Emergency Bash 2 = 3449
Line 799: Line 865:
 
| Explosion Sigil 4 = 3325
 
| Explosion Sigil 4 = 3325
 
| Explosion Sigil 5 = 3325
 
| Explosion Sigil 5 = 3325
 +
| Explosion Sigil 6 = 3325
 
| Explosion Sigil = 3325
 
| Explosion Sigil = 3325
 
}}
 
}}
Line 1,223: Line 1,290:
 
| Healing Sanctuary 7 = 3479
 
| Healing Sanctuary 7 = 3479
 
| Healing Sanctuary = 3479
 
| Healing Sanctuary = 3479
 +
| Health Burst Glyph = 3587
 
| Health Glyph = 3587
 
| Health Glyph = 3587
 
| Heart Piercer 2 = 3444
 
| Heart Piercer 2 = 3444
Line 1,597: Line 1,665:
 
| Mangling Shot 7 = 3630
 
| Mangling Shot 7 = 3630
 
| Mangling Shot 8 = 3630
 
| Mangling Shot 8 = 3630
 +
| Mangling Shot 9 = 3630
 
| Mangling Shot = 3630
 
| Mangling Shot = 3630
 
| Many Cuts 2 = 2113
 
| Many Cuts 2 = 2113
Line 1,788: Line 1,857:
 
| Orcish Battle Cry = 3658
 
| Orcish Battle Cry = 3658
 
| Organ Displacement = 3462
 
| Organ Displacement = 3462
 +
| Overwhelming Bite 10 = 2129
 +
| Overwhelming Bite 11 = 2129
 +
| Overwhelming Bite 2 = 2129
 +
| Overwhelming Bite 3 = 2129
 +
| Overwhelming Bite 4 = 2129
 +
| Overwhelming Bite 5 = 2129
 +
| Overwhelming Bite 6 = 2129
 +
| Overwhelming Bite 7 = 2129
 +
| Overwhelming Bite 8 = 2129
 +
| Overwhelming Bite 9 = 2129
 +
| Overwhelming Bite = 2129
 
| Owl Form = 3609
 
| Owl Form = 3609
 
}}
 
}}
Line 1,929: Line 2,009:
 
| Poisoner's Cut 6 = 3593
 
| Poisoner's Cut 6 = 3593
 
| Poisoner's Cut = 3593
 
| Poisoner's Cut = 3593
 +
| Pole Dance 1 = 3876
 +
| Pole Dance 2 = 3877
 +
| Pole Dance 3 = 3878
 +
| Pole Dance 4 = 3879
 +
| Pole Dance 5 = 3880
 +
| Pole Dance 6 = 3881
 
| Porcine Alertness 2 = 2255
 
| Porcine Alertness 2 = 2255
 
| Porcine Alertness 3 = 2255
 
| Porcine Alertness 3 = 2255
Line 2,241: Line 2,327:
 
| Restorative Sigil 3 = 3328
 
| Restorative Sigil 3 = 3328
 
| Restorative Sigil 4 = 3328
 
| Restorative Sigil 4 = 3328
 +
| Restorative Sigil 5 = 3328
 
| Restorative Sigil = 3328
 
| Restorative Sigil = 3328
 
| Resuscitate 2 (Animal, Guild) = 2139
 
| Resuscitate 2 (Animal, Guild) = 2139
Line 2,311: Line 2,398:
 
| Riposte 8 = 2233
 
| Riposte 8 = 2233
 
| Riposte = 2233
 
| Riposte = 2233
 +
| Ripple of Amnesia 2 = 3906
 +
| Ripple of Amnesia 3 = 3906
 +
| Ripple of Amnesia 4 = 3906
 +
| Ripple of Amnesia 5 = 3906
 +
| Ripple of Amnesia 6 = 3906
 +
| Ripple of Amnesia = 3906
 
| Room-Temperature Ball 2 = 2209
 
| Room-Temperature Ball 2 = 2209
 
| Room-Temperature Ball 3 = 2209
 
| Room-Temperature Ball 3 = 2209
Line 2,733: Line 2,826:
 
| Summon Doomstorm 7 = 3858
 
| Summon Doomstorm 7 = 3858
 
| Summon Doomstorm = 3858
 
| Summon Doomstorm = 3858
 +
| Summon Mail Pigeon = 3875
 
| Summon Sandstorm 2 = 3857
 
| Summon Sandstorm 2 = 3857
 
| Summon Sandstorm 3 = 3857
 
| Summon Sandstorm 3 = 3857
Line 2,747: Line 2,841:
 
| Summon Tornado 7 = 3844
 
| Summon Tornado 7 = 3844
 
| Summon Tornado = 3844
 
| Summon Tornado = 3844
 +
| Summon a Blue Dart Frog = 3885
 
| Summon a Brain Bug = 5990
 
| Summon a Brain Bug = 5990
 
| Summon a Chicken = 5117
 
| Summon a Chicken = 5117
Line 2,755: Line 2,850:
 
| Summon a Fire Sheep = 3865
 
| Summon a Fire Sheep = 3865
 
| Summon a Gargoyle = 3626
 
| Summon a Gargoyle = 3626
 +
| Summon a Giant Scorpion = 3593
 +
| Summon a Gray Squirrel = 3886
 
| Summon a Happy Carrot = 3697
 
| Summon a Happy Carrot = 3697
 
| Summon a Kraken Pet = 6255
 
| Summon a Kraken Pet = 6255
| Summon a Mini-Reindeer = 2251
+
| Summon a Mail Pigeon = 3875
 +
| Summon a Mini-Reindeer = 3882
 +
| Summon a Newborn Fawn = 2251
 +
| Summon a Phoenix = 3465
 +
| Summon a Pond Frog = 3883
 
| Summon a Pudding = 3864
 
| Summon a Pudding = 3864
 
| Summon a Radish = 3809
 
| Summon a Radish = 3809
 +
| Summon a Red Dart Frog = 3884
 +
| Summon a Red Squirrel = 3886
 
| Summon a Scapegoat = 3866
 
| Summon a Scapegoat = 3866
 +
| Summon a Scray = 3618
 
| Summon a Snow Leaper = 3867
 
| Summon a Snow Leaper = 3867
 +
| Summon a Spring Chick = 5353
 +
| Summon a Turkey = 3875
 +
| Summon a Watcher = 3490
 +
| Summon a Weird Bug = 3607
 
| Summon a Winter Beet = 3809
 
| Summon a Winter Beet = 3809
 
| Summon a Worghest = 3629
 
| Summon a Worghest = 3629
Line 3,072: Line 3,180:
 
}}
 
}}
 
| w = {{ #switch: {{{1}}}
 
| w = {{ #switch: {{{1}}}
 +
| Wall of Coldfire 5 = 3910
 +
| Wall of Coldfire 6 = 3910
 +
| Wall of Coldfire 7 = 3910
 
| Wall of Fire 2 = 2127
 
| Wall of Fire 2 = 2127
 
| Wall of Fire 3 = 2127
 
| Wall of Fire 3 = 2127
| Wall of Fire 4 (Purple) = 2127
+
| Wall of Fire 4 (Purple) = 3909
 
| Wall of Fire 4 = 2127
 
| Wall of Fire 4 = 2127
 
| Wall of Fire 5 = 2127
 
| Wall of Fire 5 = 2127
Line 3,080: Line 3,191:
 
| Wall of Fire 7 = 2127
 
| Wall of Fire 7 = 2127
 
| Wall of Fire = 2127
 
| Wall of Fire = 2127
 +
| Wall of Healing Flame 5 = 3908
 +
| Wall of Healing Flame 6 = 3908
 +
| Wall of Healing Flame 7 = 3908
 +
| Wall of Smarmy Flame 5 = 3909
 +
| Wall of Smarmy Flame 6 = 3909
 +
| Wall of Smarmy Flame 7 = 3909
 
| War Wizard's Battle Cry = 3660
 
| War Wizard's Battle Cry = 3660
 
| Warmthball = 2239
 
| Warmthball = 2239
Line 3,185: Line 3,302:
 
}}
 
}}
 
}}.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 01:15, 5 October 2024


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

Item-icon-none.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.)