Difference between revisions of "Template:Combat Ability"

From Project: Gorgon Wiki
Jump to: navigation, search
(Combat Ability Edit #3.)
m
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="display:inline-block; vertical-align:middle"><div style="display:table-row;"><div class="extimage32px" style="display:table-cell; vertical-align:middle;">{{#if: {{{Combat Ability|}}}|{{Combat Ability icon|{{{Combat Ability}}}}}{{Combat Ability name|{{{Combat Ability}}}}}|{{Combat Ability icon|{{{1|None}}}}}}}</div><div style="display:table-cell">&nbsp;</div><div style="display:table-cell; vertical-align:middle">{{{1|Ability Not Found}}}</div></div></div><noinclude>
+
<div style="display:inline-block; vertical-align:middle"><div style="display:table-row;"><div class="extimage32px" style="display:table-cell; vertical-align:middle;">{{Combat Ability icon|{{{1}}}}} {{Combat Ability name|{{{1}}}}}</div><div style="display:table-cell">&nbsp;</div></div></div><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:33, 30 September 2020

Error: Ability not found Error: Combat Ability not found
 
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Description

Use this template whenever you want to display a combat ability icon and description for a creature.
If you only want to display a combat ability's icon, or use a larger image of the icon, use the Combat Ability icon template.
If you only want to display a combat ability's description (what players see in-game), use Combat Ability name template.
If you want to display a rage attack, use Template:Combat Ability Rage.

Syntax

Type {{Combat Ability|name}} where you want the icon and description to appear.

Parameters

name
The correct capitalized "InternalName" (as found in abilities.json in the public data at http://cdn.projectgorgon.com/) of the Combat Ability.

Sample output

Basic usage
Code = Output
{{Combat Ability|IceSlimeKick}}
icon_2176.png Cold Damage
 

Notes

The above text is transcluded from Template:Combat Ability/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:Combat Ability/doc. (View all subpages of this page.)