Difference between revisions of "Template:Ability icon"
From Project: Gorgon Wiki
Line 298: | Line 298: | ||
| Blast of Fury 8 = 3671 | | Blast of Fury 8 = 3671 | ||
| Bleddyn Howl = 2111 | | Bleddyn Howl = 2111 | ||
− | | Blitz Shot = | + | | Blitz Shot = 3310 |
− | | Blitz Shot 2 = | + | | Blitz Shot 2 = 3310 |
− | | Blitz Shot 3 = | + | | Blitz Shot 3 = 3310 |
− | | Blitz Shot 4 = | + | | Blitz Shot 4 = 3310 |
− | | Blitz Shot 5 = | + | | Blitz Shot 5 = 3310 |
− | | Blitz Shot 6 = | + | | Blitz Shot 6 = 3310 |
− | | Blitz Shot 7 = | + | | Blitz Shot 7 = 3310 |
− | | Blitz Shot 8 = | + | | Blitz Shot 8 = 3310 |
− | | Blitz Shot 9 = | + | | Blitz Shot 9 = 3310 |
− | | Blitz Shot 9 (Energy Bow) = | + | | Blitz Shot 9 (Energy Bow) = 3310 |
| Blizzard = 3525 | | Blizzard = 3525 | ||
| Blizzard 2 = 3525 | | Blizzard 2 = 3525 |
Revision as of 03:16, 8 February 2023
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.)