Difference between revisions of "Template:Tooltip"

From NEStalgia
Jump to: navigation, search
(Created page with "<div class="tooltip-content"> {| cellspacing="0" cellpadding="0" style="background-color:#141414; border: 2px solid #141414;" |- | {| cellspacing="0" cellpadding="0" style="backg...")
 
Line 10: Line 10:
 
|{{#switch: {{{1|ability}}}
 
|{{#switch: {{{1|ability}}}
  
|ability=<small style="color:#64c8fa;">Ability </small>'''{{{Name|Name}}}'''<span style="float: right;"><small style="color:#64c8fa;">Cost </small>'''{{{Cost|Cost}}}'''</span><br />'''{{{Effect|Effect}}}'''<br /><small style="color:#64c8fa;">Damage </small>'''{{{Damage|Damage}}}'''<br /><small style="color:#64c8fa;">Target </small>'''{{{Target|Target}}}'''<span style="float: right;"><small style="color:#64c8fa;">Power </small>'''{{{Power|Power}}}'''</span>
+
|ability=
 +
<small style="color:#64c8fa;">Ability </small>'''{{{Name|Name}}}'''<span style="float: right;"><small style="color:#64c8fa;">Cost </small>'''{{{Cost|Cost}}}'''</span><br />
 +
'''{{{Effect|Effect}}}'''<br />
 +
{{#if:{{{Damage|}}}|<small style="color:#64c8fa;">Damage </small>'''{{{Damage}}}'''|}}<br />
 +
<small style="color:#64c8fa;">Target </small>'''{{{Target|Target}}}'''<span style="float: right;">{{#if:{{{Power|}}}|<small style="color:#64c8fa;">Power </small>'''{{{Power}}}'''|}}</span>
  
 
|passive=[Passive code to come]
 
|passive=[Passive code to come]

Revision as of 13:28, 26 April 2014

Ability NameCost Cost

Effect

Target Target


Prerequisite: Prerequisite


Documentation

This template is used to display game-style tooltips for abilities and passive skills. -UNDER CONSTRUCTION-

Usage for an ability:
{{Tooltip|ability
|Name=
|Cost=
|Effect=
|Damage=
|Target=
|Power=
|Prerequisite=
}}
Usage for a passive:
{{Tooltip|passive
|Param1= [unsupported yet]
|Param2= [unsupported yet]
}}