Difference between revisions of "Template:Ability icon/doc"
From Project: Gorgon Wiki
Extractum11 (talk | contribs) (Created page with "__NOTOC__ ==Description== This accepts an ability 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 Exa...") |
Extractum11 (talk | contribs) m (Extractum11 moved page Template:Ability icon/Explanation to Template:Ability icon/doc: To use {{Documentation}}) |
(No difference)
|
Revision as of 13:06, 4 April 2021
Description
This accepts an ability 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
{{Ability icon|<name>}}
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")
Examples
Basic Use
{{Ability icon|Regrowth}} {{Ability icon|Ring of Fire}}
Forcing 32x32 size
<span class="extimage32px">{{Ability icon|Regrowth}}</span>
Forcing 64x64 size
<span class="extimage64px">{{Ability icon|Ring of Fire}}</span>