Template:Ability infobox: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Updating infobox.
No edit summary
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 16:28, 16 June 2019

name
{{ #replace: http://cdn.projectgorgon.com/v456/icons/icon_.png http://cdn.projectgorgon.com/v456/icons/icon_.png 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
}}
Warmthball
{{ #replace: http://cdn.projectgorgon.com/v456/icons/icon_2239.png http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Ability not found }}
Description
Throw a vaguely painful ball of warmth.
Skill
[[]]
Level
0
Power Cost
7
Reuse Time
2
Damage
5 Fire
Special
Enrages target