Difference between revisions of "Template:Combat Ability/doc"
From Project: Gorgon Wiki
m (Removed complex usage from documentation, applied edits.) |
m (→Sample output) |
||
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
== Parameters == | == Parameters == | ||
; name | ; name | ||
− | : The correct capitalized | + | : The correct capitalized "InternalName" (as found in abilities.json in the public data at http://cdn.projectgorgon.com/) of the Combat Ability. |
== Sample output == | == Sample output == | ||
Line 19: | Line 19: | ||
| Output | | Output | ||
|- | |- | ||
− | | {{ | + | | <nowiki>{{Combat Ability|IceSlimeKick}}</nowiki> |
| ⇒ | | ⇒ | ||
| {{Combat Ability|IceSlimeKick}} | | {{Combat Ability|IceSlimeKick}} | ||
|} | |} | ||
+ | |||
== Notes == | == Notes == | ||
Latest revision as of 19:12, 17 June 2021
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