Difference between revisions of "Template:Ability infobox"

From Project: Gorgon Wiki
Jump to: navigation, search
m
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Level
 
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Level
 
| <div class="block2" style="color:#ffffff;">{{{level|-}}}</div>
 
| <div class="block2" style="color:#ffffff;">{{{level|-}}}</div>
 +
|-
 +
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Damage
 +
| <div class="block2" style="color:#ffffff;">{{{damage|-}}}</div>
 
|-
 
|-
 
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Power Cost
 
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Power Cost
Line 19: Line 22:
 
| <div class="block2" style="color:#ffffff;">{{{reuse time|-}}}</div>
 
| <div class="block2" style="color:#ffffff;">{{{reuse time|-}}}</div>
 
|-
 
|-
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Damage
+
{{ #if:{{{ragemulti|}}}|{{pipe}}- valign="top"
| <div class="block2" style="color:#ffffff;">{{{damage|-}}}</div>
+
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Rage Multiplier:
 +
{{pipe}} <div class="block2" style="color:#ffffff;">{{{ragemulti}}}</div>
 +
}}
 
|-
 
|-
 
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Special
 
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Special
 
| <div class="block2" style="color:#ffffff;">{{{special|-}}}</div>
 
| <div class="block2" style="color:#ffffff;">{{{special|-}}}</div>
 +
|-
 +
{{ #if:{{{keywords|}}}|{{pipe}}- valign="top"
 +
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:100px;"  align="center" {{pipe}} Keywords:
 +
{{pipe}} <div class="block2" style="color:#ffffff;">{{{keywords}}}</div>
 +
}}
 
|}
 
|}
<!-- categories -->
+
 
{{ #if: {{{skill|}}} | [[Category:{{{skill}}} Abilities]] }}
 
 
<noinclude>
 
<noinclude>
 
; name
 
; name
Line 36: Line 45:
 
; level
 
; level
 
: The level required to use the ability.
 
: The level required to use the ability.
 +
; damage
 +
: Information about the ability.
 
; power cost
 
; power cost
 
: Information about the ability.
 
: Information about the ability.
 
; reuse time
 
; reuse time
: Information about the ability.
 
; damage
 
 
: Information about the ability.
 
: Information about the ability.
 
; special
 
; special
 
: Information about the ability. (Optional).
 
: Information about the ability. (Optional).
;Syntax
+
 
:Type {{t|Ability infobox||style=code}} on individual ability pages.
+
 
 
;Sample output
 
;Sample output
 
{| class="wikitable"
 
{| class="wikitable"
Line 53: Line 62:
 
| name = Warmthball
 
| name = Warmthball
 
| description = Throw a vaguely painful ball of warmth.
 
| description = Throw a vaguely painful ball of warmth.
| skill =  
+
| skill = Fire Magic
 
| level = 0
 
| level = 0
| power cost = 7
+
| damage = 8 Fire
 +
| power cost = 0
 
| reuse time = 2
 
| reuse time = 2
 
| range = 30 meters
 
| range = 30 meters
| damage = 5 Fire
+
| ragemulti = 2
| special = Enrages target
+
| special = {{Attribute|BOOST_SKILL_FIREMAGIC|+5}}
 +
| keywords = <p>{{KWAB|Attack}}{{KWAB|FireMagic}}{{KWAB|Fireball}}{{KWAB|FireMagicAttack}}</p><p>{{KWAB|Ranged}}{{KWAB|BasicAttack}}{{KWAB|CombatRefresh}}{{KWAB|FireSpell}}</p>
 
}}</pre>
 
}}</pre>
| {{Ability infobox
+
{{Ability infobox
 
| name = Warmthball
 
| name = Warmthball
 
| description = Throw a vaguely painful ball of warmth.
 
| description = Throw a vaguely painful ball of warmth.
| skill =  
+
| skill = Fire Magic
 
| level = 0
 
| level = 0
| power cost = 7
+
| damage = 8 Fire
 +
| power cost = 0
 
| reuse time = 2
 
| reuse time = 2
 
| range = 30 meters
 
| range = 30 meters
| damage = 5 Fire
+
| ragemulti = 2
| special = Enrages target
+
| special = {{Attribute|BOOST_SKILL_FIREMAGIC|+5}}
 +
| keywords = <p>{{KWAB|Attack}}{{KWAB|FireMagic}}{{KWAB|Fireball}}{{KWAB|FireMagicAttack}}</p><p>{{KWAB|Ranged}}{{KWAB|BasicAttack}}{{KWAB|CombatRefresh}}{{KWAB|FireSpell}}</p>
 
}}
 
}}
 
|}
 
|}
 
[[Category:Formatting templates|Ability infobox]]
 
[[Category:Formatting templates|Ability infobox]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:48, 19 March 2020

Button Orange.png
name
Error: Ability not found
Description
-
Skill
Level
-
Damage
-
Power Cost
-
Reuse Time
-
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.
damage
Information about the ability.
power cost
Information about the ability.
reuse time
Information about the ability.
special
Information about the ability. (Optional).


Sample output
Code Output
{{Ability infobox
| name = Warmthball
| description = Throw a vaguely painful ball of warmth.
| skill = Fire Magic
| level = 0
| damage = 8 Fire
| power cost = 0
| reuse time = 2
| range = 30 meters
| ragemulti = 2
| special = {{Attribute|BOOST_SKILL_FIREMAGIC|+5}}
| keywords = <p>{{KWAB|Attack}}{{KWAB|FireMagic}}{{KWAB|Fireball}}{{KWAB|FireMagicAttack}}</p><p>{{KWAB|Ranged}}{{KWAB|BasicAttack}}{{KWAB|CombatRefresh}}{{KWAB|FireSpell}}</p>
}}
Button Orange.png
Warmthball
icon_2239.png
Description
Throw a vaguely painful ball of warmth.
Skill
Level
0
Damage
8 Fire
Power Cost
0
Reuse Time
2
Rage Multiplier:
2
Special
icon_108.png Fire Magic Damage
 
+5
Keywords: