Difference between revisions of "Template:Tooltip"

From NEStalgia
Jump to: navigation, search
Line 1: Line 1:
<includeonly><div class="tooltip-content" style="display: inline-block;">
+
<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 10: Line 10:
 
|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 />
 
{{#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 />
<span style="padding-left:5px;">'''{{{Effect|Effect}}}'''</span>
+
<div style="padding-left:5px;">'''{{{Effect|Effect}}}'''</div>
 
{{!}}-
 
{{!}}-
 
{{!}}{{#if:{{{Damage|}}}|<small style="color:#64c8fa;">Damage </small>'''{{{Damage}}}'''|}}<br />
 
{{!}}{{#if:{{{Damage|}}}|<small style="color:#64c8fa;">Damage </small>'''{{{Damage}}}'''|}}<br />
Line 18: Line 18:
 
|}
 
|}
 
|}
 
|}
</div></includeonly><noinclude>
+
</div><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-

Revision as of 17:06, 26 April 2014

Name

Effect

 

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=
}}