Difference between revisions of "Template:Tooltip"
From NEStalgia
| Line 6: | Line 6: | ||
|- | |- | ||
| | | | ||
| − | {| cellspacing="0" cellpadding=" | + | {| cellspacing="0" cellpadding="0" style="padding:5px; background-color:#141414; border-radius:5px; color:#fafafa; width:250px;" |
|- | |- | ||
| − | |{{#switch: {{{1|ability}}} | + | |valign=top height=65px|{{#switch: {{{1|ability}}} |
|ability= | |ability= | ||
<small style="color:#64c8fa;">Ability </small>'''{{{Name|Name}}}'''<span style="float: right;"><small style="color:#64c8fa;">Cost </small>'''{{{Cost|Cost}}}'''</span><br /> | <small style="color:#64c8fa;">Ability </small>'''{{{Name|Name}}}'''<span style="float: right;"><small style="color:#64c8fa;">Cost </small>'''{{{Cost|Cost}}}'''</span><br /> | ||
| − | '''{{{Effect|Effect}}}''' | + | '''{{{Effect|Effect}}}''' |
| − | {{#if:{{{Damage|}}}|<small style="color:#64c8fa;">Damage </small>'''{{{Damage}}}'''|}}<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> | <small style="color:#64c8fa;">Target </small>'''{{{Target|Target}}}'''<span style="float: right;">{{#if:{{{Power|}}}|<small style="color:#64c8fa;">Power </small>'''{{{Power}}}'''|}}</span> | ||
Revision as of 13:06, 26 April 2014
|
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]
}}