Difference between revisions of "Template:Combat Ability/doc"

From Project: Gorgon Wiki
Jump to: navigation, search
m (Syntax)
m (Removed complex usage from documentation, applied edits.)
Line 1: Line 1:
 
== Description ==
 
== Description ==
:Use this template whenever you want to display a combat ability icon and name for a creature.
+
: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]].
 
:If you want to display a rage attack, use [[Template:Combat Ability Rage]].
  
 
== Syntax ==
 
== Syntax ==
:Type <nowiki>{{Combat Ability|name}}</nowiki> where you want the item icon and link to display.
+
:Type <nowiki>{{Combat Ability|name}}</nowiki> where you want the icon and description to appear.
  
 
== Parameters ==
 
== Parameters ==
 
; name
 
; name
: The correct capitalized name of the Combat Ability.
+
: The correct capitalized internal name of the Combat Ability.
  
 
== Sample output ==
 
== Sample output ==
Line 18: Line 19:
 
| Output
 
| Output
 
|-
 
|-
| {{tlc|Combat Ability|Horrific Poison Damage Over Time}}
+
| {{tlc|Combat Ability|IceSlimeKick}}
 
| &rArr;
 
| &rArr;
| {{Combat Ability|Horrific Poison Damage Over Time}}
+
| {{Combat Ability|IceSlimeKick}}
|}
 
; Complex usage
 
: If the icon you get does not match the in-game icon, check [[List of Combat Ability Icons]]. Some combat abilities have three or four possible icons!
 
:{| class="wikitable"
 
| Code
 
| {{=}}
 
| Output
 
|-
 
| <nowiki>{{Combat Ability|Combat Ability=Crushing Damage 13|Crushing Damage}}</nowiki>
 
| &rArr;
 
| {{Combat Ability|Combat Ability=Crushing Damage 13|Crushing Damage}}
 
 
|}
 
|}
 
== Notes ==
 
== Notes ==
* Uses the new [[Template:Combat Ability icon]] template.
+
 
 
<includeonly>
 
<includeonly>
 
<!-- Categories/interwikis for the template itself -->
 
<!-- Categories/interwikis for the template itself -->

Revision as of 19:54, 5 February 2020

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 internal name of the Combat Ability.

Sample output

Basic usage
Code = Output
Template:Tlc
icon_2176.png Cold Damage
 

Notes