Difference between revisions of "Template:Tooltip"
From NEStalgia
| Line 12: | Line 12: | ||
<div style="padding-left:5px;">'''{{{Effect|Effect}}}'''</div> | <div style="padding-left:5px;">'''{{{Effect|Effect}}}'''</div> | ||
{{!}}- | {{!}}- | ||
| − | {{!}}valign=bottom height=54px{{!}}{{#if:{{{Damage|}}}|<small>{{Color|B|Damage}} </small>'''{{{Damage}}}'''|}} <span style="float: right;">{{#if:{{{Rate|}}}{{{Self Dmg|}}}|{{#if:{{{Power|}}}|<small>{{Color|B|Power}} </small>'''{{{Power}}}'''|}}|}}{{#if:{{{Plus Cap|}}}|<small>{{Color|B|+{{{Plus Cap Type}}} Cap}} </small>'''{{{Plus Cap}}}'''|}}{{#if:{{{Threshold|}}}|<small>{{Color|B|Threshold}} </small>'''{{{Threshold}}}'''|}}</span><br /> | + | {{!}}valign=bottom height=54px{{!}}{{#if:{{{Damage|}}}|<small>{{Color|B|Damage}} </small>'''{{{Damage}}}'''|}} <span style="float: right;">{{#if:{{{Rate|}}}{{{Self Dmg|}}}|{{#if:{{{Power|}}}|<small>{{Color|B|Power}} </small>'''{{{Power}}}'''|}}|}}{{#if:{{{Plus Cap|}}}|<small>{{Color|B|+{{{Plus Cap Type}}} Cap}} </small>'''{{{Plus Cap}}}'''|}}{{#if:{{{Threshold|}}}|<small>{{Color|B|Threshold}} </small>'''{{{Threshold}}}'''|}}{{#if:{{{RG-CR Steal|}}}|<small>{{Color|B|RG-CR Steal}} </small>'''{{{RG-CR Steal}}}'''|}}</span><br /> |
| − | {{#if:{{{Target|}}}|<small>{{Color|B|Target}} </small>'''{{{Target}}}'''|}} <span style="float: right;">{{#if:{{{Rate|}}}|<small>{{Color|B|Rate}} </small>'''{{{Rate}}}'''|}}{{#if:{{{Self Dmg|}}}|<small>{{Color|B|Self Dmg}} </small>'''{{{Self Dmg}}}'''|}}{{#if:{{{Rate|}}}{{{Self Dmg|}}}||{{#if:{{{Power|}}}|<small>{{Color|B|Power}} </small>'''{{{Power}}}'''|}}}}</span> | + | {{#if:{{{Target|}}}|<small>{{Color|B|Target}} </small>'''{{{Target}}}'''|}} <span style="float: right;">{{#if:{{{Rate|}}}|<small>{{Color|B|Rate}} </small>'''{{{Rate}}}'''|}}{{#if:{{{Self Dmg|}}}|<small>{{Color|B|Self Dmg}} </small>'''{{{Self Dmg}}}'''|}}{{#if:{{{MP Steal|}}}|<small>{{Color|B|MP Steal}} </small>'''{{{MP Steal}}}'''|}}{{#if:{{{Rate|}}}{{{Self Dmg|}}}||{{#if:{{{Power|}}}|<small>{{Color|B|Power}} </small>'''{{{Power}}}'''|}}}}</span> |
{{#if:{{{Prerequisite|}}}|{{!}}- | {{#if:{{{Prerequisite|}}}|{{!}}- | ||
{{!}}<hr /><small>{{Color|B|Prerequisite:}} </small><small>{{{Prerequisite|Prerequisite}}}</small>|}} | {{!}}<hr /><small>{{Color|B|Prerequisite:}} </small><small>{{{Prerequisite|Prerequisite}}}</small>|}} | ||
| Line 28: | Line 28: | ||
|Effect= | |Effect= | ||
|Damage= | |Damage= | ||
| − | |Target= | + | |Target= |
|Plus Cap Type= | |Plus Cap Type= | ||
|Plus Cap= | |Plus Cap= | ||
| Line 35: | Line 35: | ||
|Rate= | |Rate= | ||
|Self Dmg= | |Self Dmg= | ||
| + | |RG-CR Steal= | ||
| + | |MP Steal= | ||
|Prerequisite= | |Prerequisite= | ||
}}</nowiki> | }}</nowiki> | ||
| + | -"Target" is either: "Self", "One Ally", "All allies", "One Foe" or "All Foes". | ||
| + | -"Plus Cap Type" is only relevant (and is required) if "Plus Cap" is specified. Can only be "Heal", "Fire", "Ice" or "Storm". | ||
| + | -"Cost", "Damage", "Plus Cap", "Threshold", "Power", "Rate", "Self Dmg", "RG-CR Steal", "MP Steal" and "Prerequisite" are optional. | ||
'''Usage for a passive:'''<nowiki> | '''Usage for a passive:'''<nowiki> | ||
| Line 44: | Line 49: | ||
|Prerequisite= | |Prerequisite= | ||
}}</nowiki> | }}</nowiki> | ||
| + | -"Prerequisite" is optional. | ||
</noinclude> | </noinclude> | ||
Revision as of 14:23, 27 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=
|Plus Cap Type=
|Plus Cap=
|Threshold=
|Power=
|Rate=
|Self Dmg=
|RG-CR Steal=
|MP Steal=
|Prerequisite=
}}
-"Target" is either: "Self", "One Ally", "All allies", "One Foe" or "All Foes".
-"Plus Cap Type" is only relevant (and is required) if "Plus Cap" is specified. Can only be "Heal", "Fire", "Ice" or "Storm".
-"Cost", "Damage", "Plus Cap", "Threshold", "Power", "Rate", "Self Dmg", "RG-CR Steal", "MP Steal" and "Prerequisite" are optional.
Usage for a passive:
{{Tooltip|
|Name=
|Effect=
|Prerequisite=
}}
-"Prerequisite" is optional.