Difference between revisions of "Template:Combat Ability"
From Project: Gorgon Wiki
(Adding template.) |
m |
||
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 icon|{{{1|None}}}}}}}</div><div style="display:table-cell"> </div><div style="display:table-cell; vertical-align:middle"> | + | <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 icon|{{{1|None}}}}}}}</div><div style="display:table-cell"> </div><div style="display:table-cell; vertical-align:middle">{{{1|Combat Ability name}}}</div></div></div><noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 21:28, 28 May 2018
Error: Ability not found
Combat Ability name
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}} ⇒ 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.)
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.)