Difference between revisions of "Template:Tooltip"
From NEStalgia
m |
m |
||
Line 9: | Line 9: | ||
|- | |- | ||
|valign=top height=72px| | |valign=top height=72px| | ||
− | {{#ifeq:{{{1|}}}|ability|<small | + | {{#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 | + | {{!}}valign=bottom height=54px{{!}}{{#if:{{{Damage|}}}|<small>{{Color|B|Damage}} </small>'''{{{Damage}}}'''|}} <br /> |
− | {{#if:{{{Target|}}}|<small | + | {{#if:{{{Target|}}}|<small>{{Color|B|Target}} </small>'''{{{Target}}}'''|}} {{#if:{{{Power|}}}|<span style="float: right;"><small>{{Color|B|Power}} </small>'''{{{Power}}}'''</span>|}} |
{{#if:{{{Prerequisite|}}}|{{!}}- | {{#if:{{{Prerequisite|}}}|{{!}}- | ||
− | {{!}}<hr /><small | + | {{!}}<hr /><small>{{Color|B|Prerequisite:}} </small><small>{{{Prerequisite|Prerequisite}}}</small>|}} |
|} | |} | ||
|} | |} |
Revision as of 21:52, 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= }}