Difference between revisions of "Template:Tooltip"
From NEStalgia
m |
|||
Line 1: | Line 1: | ||
− | <div class="tooltip-content" style="display: inline-block;"> | + | <includeonly><div class="tooltip-content" style="display: inline-block;"> |
{| cellspacing="0" cellpadding="0" style="background-color:#141414; border: 2px solid #141414;" | {| cellspacing="0" cellpadding="0" style="background-color:#141414; border: 2px solid #141414;" | ||
|- | |- | ||
Line 8: | Line 8: | ||
{| cellspacing="0" cellpadding="0" style="padding:5px; background-color:#141414; border-radius:5px; color:#fafafa; width:250px;" | {| cellspacing="0" cellpadding="0" style="padding:5px; background-color:#141414; border-radius:5px; color:#fafafa; width:250px;" | ||
|- | |- | ||
− | |valign=top height=69px|{{# | + | |valign=top height=69px| |
− | + | {{#ifeq:{{{1|}}}|ability|<small style="color:#64c8fa;">Ability </small>|}}'''{{{Name|Name}}}'''{{#if:{{{Cost|}}}|<span style="float: right;"><small style="color:#64c8fa;">Cost </small>'''{{{Cost|Cost}}}'''</span>|}}<br /> | |
− | |ability | + | <span style="padding-left:5px;">'''{{{Effect|Effect}}}'''</span> |
− | <small style="color:#64c8fa;">Ability </small>'''{{{Name|Name}}}'''<span style="float: right;"><small style="color:#64c8fa;">Cost </small>'''{{{Cost|Cost}}}'''</span><br /> | ||
− | '''{{{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>'''{{{ | + | {{#if:{{{Target|}}}|<small style="color:#64c8fa;">Target </small>'''{{{Target}}}'''|}} {{#if:{{{Power|}}}|<span style="float: right;"><small style="color:#64c8fa;">Power </small>'''{{{Power}}}'''</span>|}} |
− | + | {{#if:{{{Prerequisite|}}}|<hr /><small style="color:#64c8fa;">Prerequisite: </small><small>{{{Prerequisite|Prerequisite}}}</small>|}} | |
− | | | ||
− | |||
− | |||
− | <hr /><small style="color:#64c8fa;">Prerequisite: </small><small>{{{Prerequisite|Prerequisite}}}</small> | ||
|} | |} | ||
|} | |} | ||
|} | |} | ||
− | </div> | + | </div></includeonly><noinclude> |
− | |||
− | <noinclude> | ||
==Documentation== | ==Documentation== | ||
This template is used to display game-style tooltips for abilities and passive skills. -UNDER CONSTRUCTION- | This template is used to display game-style tooltips for abilities and passive skills. -UNDER CONSTRUCTION- | ||
Line 41: | Line 33: | ||
'''Usage for a passive:'''<nowiki> | '''Usage for a passive:'''<nowiki> | ||
− | {{Tooltip| | + | {{Tooltip| |
− | | | + | |Name= |
− | | | + | |Effect= |
+ | |Prerequisite= | ||
}}</nowiki> | }}</nowiki> | ||
</noinclude> | </noinclude> |
Revision as of 16:49, 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| |Name= |Effect= |Prerequisite= }}