Open main menu

Project: Gorgon Wiki β

Changes

Template:Combat Ability icon/doc

1,032 bytes added, 12:34, 17 December 2023
Shifted content to doc page.
__NOTOC__
==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==
<pre>
{{Combat Ability icon|<name>}}
</pre>

== 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 ===
<pre>{{Combat Ability icon|TreantStomp}} {{Combat Ability icon|IceSlimeKick}}</pre>
{{Combat Ability icon|TreantStomp}} {{Combat Ability icon|IceSlimeKick}}
=== Forcing resize to 32x32 ===
<pre><span class="extimage32px">{{Combat Ability icon|IceSlimeKick}}</span></pre>
<span class="extimage32px">{{Combat Ability icon|IceSlimeKick}}</span>
=== Forcing resize to 64x64 ===
<pre><span class="extimage64px">{{Combat Ability icon|IceSlimeKick}}</span></pre>
<span class="extimage64px">{{Combat Ability icon|IceSlimeKick}}</span>

[[Category:Template_documentation]]