Difference between revisions of "Template:Tooltip"

From NEStalgia
Jump to: navigation, search
m
Line 1: Line 1:
 
<div class="tooltip-content" style="display: inline-block; vertical-align:top;">
 
<div class="tooltip-content" style="display: inline-block; vertical-align:top;">
{| cellspacing="0" cellpadding="0" style="background-color:#141414; border: 2px solid #141414; margin:0px -2px;"
+
{| cellspacing="0" cellpadding="0" style="background-color:#141414; border: 2px solid #141414; margin-right:-4px;"
 
|-
 
|-
 
|
 
|
Line 6: Line 6:
 
|-
 
|-
 
|
 
|
{| 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:200px;"
 
|-  
 
|-  
|valign=top height=72px|
+
|valign=top height=88px|
 
{{#ifeq:{{{1|}}}|ability|<small>{{Color|B|Ability}} </small>|}}'''{{{Name|Name}}}'''{{#if:{{{Cost|}}}|<span style="float: right;"><small>{{Color|B|Cost}} </small>'''{{{Cost|Cost}}}'''</span>|}}<br />
 
{{#ifeq:{{{1|}}}|ability|<small>{{Color|B|Ability}} </small>|}}'''{{{Name|Name}}}'''{{#if:{{{Cost|}}}|<span style="float: right;"><small>{{Color|B|Cost}} </small>'''{{{Cost|Cost}}}'''</span>|}}<br />
 
<div style="padding-left:5px;">'''{{{Effect|Effect}}}'''</div>
 
<div style="padding-left:5px;">'''{{{Effect|Effect}}}'''</div>

Revision as of 09:11, 27 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=
|Plus Cap Type=
|Plus Cap=
|Power=
|Rate=
|Self Dmg=
|Prerequisite=
}}
Usage for a passive:
{{Tooltip|
|Name=
|Effect=
|Prerequisite=
}}