Open main menu

Project: Gorgon Wiki β

Changes

Template:Ability icon/doc

223 bytes added, 13:08, 4 April 2021
m
no edit summary
__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 Examples section below.
==Syntax==
; <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.
== Examples ==
=== Basic Standard Use ===<pre>{{Ability icon|Regrowth}} {{Ability icon|Ring of Fire}} {{Ability icon}} {{Ability icon|FakeAbilityReturnsError}}</pre>
{{Ability icon|Regrowth}} {{Ability icon|Ring of Fire}}
{{Ability icon}} {{Ability icon|FakeAbilityReturnsError}}
=== Forcing 32x32 size ===
1,690
edits