Difference between revisions of "Template:Tooltip"

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

Revision as of 21:52, 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=
}}