Difference between revisions of "Template:Tooltip"

From NEStalgia
Jump to: navigation, search
m
m
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=70px|
+
|valign=top height=72px|
 
{{#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 />
 
<div style="padding-left:5px;">'''{{{Effect|Effect}}}'''</div>
 
<div style="padding-left:5px;">'''{{{Effect|Effect}}}'''</div>
 
{{!}}-
 
{{!}}-
{{!}}valign=bottom height=52px{{!}}{{#if:{{{Damage|}}}|<small style="color:#64c8fa;">Damage </small>'''{{{Damage}}}'''|}}&nbsp;<br />
+
{{!}}valign=bottom height=54px{{!}}{{#if:{{{Damage|}}}|<small style="color:#64c8fa;">Damage </small>'''{{{Damage}}}'''|}}&nbsp;<br />
 
{{#if:{{{Target|}}}|<small style="color:#64c8fa;">Target </small>'''{{{Target}}}'''|}}&nbsp;{{#if:{{{Power|}}}|<span style="float: right;"><small style="color:#64c8fa;">Power </small>'''{{{Power}}}'''</span>|}}
 
{{#if:{{{Target|}}}|<small style="color:#64c8fa;">Target </small>'''{{{Target}}}'''|}}&nbsp;{{#if:{{{Power|}}}|<span style="float: right;"><small style="color:#64c8fa;">Power </small>'''{{{Power}}}'''</span>|}}
 
{{#if:{{{Prerequisite|}}}|{{!}}-
 
{{#if:{{{Prerequisite|}}}|{{!}}-

Revision as of 17:56, 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=
}}