Difference between revisions of "Template:Combat Ability/doc"
From Project: Gorgon Wiki
(Creating documentation) |
m (→Sample output) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Description == | == Description == | ||
− | :Use this template whenever you want to display a combat ability icon and | + | :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 [[Template:Combat Ability icon|Combat Ability icon]] template. | :If you only want to display a combat ability's icon, or use a larger image of the icon, use the [[Template:Combat Ability icon|Combat Ability icon]] template. | ||
+ | :If you only want to display a combat ability's description (what players see in-game), use [[Template:Combat Ability name|Combat Ability name]] template. | ||
+ | :If you want to display a rage attack, use [[Template:Combat Ability Rage]]. | ||
== Syntax == | == Syntax == | ||
− | :Type {{ | + | :Type <nowiki>{{Combat Ability|name}}</nowiki> where you want the icon and description to appear. |
== Parameters == | == Parameters == | ||
− | ; | + | ; name |
− | + | : The correct capitalized "InternalName" (as found in abilities.json in the public data at http://cdn.projectgorgon.com/) of the Combat Ability. | |
− | |||
− | : The correct capitalized | ||
== Sample output == | == Sample output == | ||
Line 19: | Line 19: | ||
| Output | | Output | ||
|- | |- | ||
− | | {{ | + | | <nowiki>{{Combat Ability|IceSlimeKick}}</nowiki> |
| ⇒ | | ⇒ | ||
− | | {{Combat Ability| | + | | {{Combat Ability|IceSlimeKick}} |
|} | |} | ||
− | + | ||
== Notes == | == Notes == | ||
− | + | ||
<includeonly> | <includeonly> | ||
<!-- Categories/interwikis for the template itself --> | <!-- Categories/interwikis for the template itself --> |
Latest revision as of 18: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