Difference between revisions of "Template:Ability infobox"

From Project: Gorgon Wiki
Jump to: navigation, search
(Updating infobox.)
Line 27: Line 27:
 
<!-- categories -->
 
<!-- categories -->
 
{{ #if: {{{skill|}}} | [[Category:{{{skill}}} Abilities]] }}
 
{{ #if: {{{skill|}}} | [[Category:{{{skill}}} Abilities]] }}
<!-- end categories --><noinclude>
+
<noinclude>
{{documentation}}
+
; name
 +
: Must be the name of the ability.
 +
; description
 +
: The in-game description of the ability.
 +
; skill
 +
: The associated skill the ability is part of.
 +
; level
 +
: The level required to use the ability.
 +
; power cost
 +
: Information about the ability.
 +
; reuse time
 +
: Information about the ability.
 +
; damage
 +
: Information about the ability.
 +
; special
 +
: Information about the ability. (Optional).
 +
;Syntax
 +
:Type {{t|Ability infobox||style=code}} on individual ability pages.
 +
;Sample output
 +
{| class="wikitable"
 +
! Code !! Output
 +
|-
 +
| <pre>{{Ability infobox
 +
| name = Warmthball
 +
| description = Throw a vaguely painful ball of warmth.
 +
| skill =
 +
| level = 0
 +
| power cost = 7
 +
| reuse time = 2
 +
| range = 30 meters
 +
| damage = 5 Fire
 +
| special = Enrages target
 +
}}</pre>
 +
| {{Ability infobox
 +
| name = Warmthball
 +
| description = Throw a vaguely painful ball of warmth.
 +
| skill =
 +
| level = 0
 +
| power cost = 7
 +
| reuse time = 2
 +
| range = 30 meters
 +
| damage = 5 Fire
 +
| special = Enrages target
 +
}}
 +
|}
 +
[[Category:Formatting templates|Ability infobox]]
 
</noinclude>
 
</noinclude>

Revision as of 12:28, 16 June 2019

Button Orange.png
name
Error: Ability not found
Description
-
Skill
Level
-
Power Cost
-
Reuse Time
-
Damage
-
Special
-


name
Must be the name of the ability.
description
The in-game description of the ability.
skill
The associated skill the ability is part of.
level
The level required to use the ability.
power cost
Information about the ability.
reuse time
Information about the ability.
damage
Information about the ability.
special
Information about the ability. (Optional).
Syntax
Type {{Ability infobox}} on individual ability pages.
Sample output
Code Output
{{Ability infobox
| name = Warmthball
| description = Throw a vaguely painful ball of warmth.
| skill = 
| level = 0
| power cost = 7
| reuse time = 2
| range = 30 meters
| damage = 5 Fire
| special = Enrages target
}}
Button Orange.png
Warmthball
icon_2239.png
Description
Throw a vaguely painful ball of warmth.
Skill
[[]]
Level
0
Damage
5 Fire
Power Cost
7
Reuse Time
2
Special
Enrages target