Difference between revisions of "Template:Tooltip"
From NEStalgia
Line 15: | Line 15: | ||
{{#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:{{{Total HP|}}}|<small>{{Color|B|Total HP}} </small>'''{{{Total HP}}}'''|}}{{#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:{{{Total HP|}}}|<small>{{Color|B|Total HP}} </small>'''{{{Total HP}}}'''|}}{{#if:{{{Rate|}}}{{{Self Dmg|}}}||{{#if:{{{Power|}}}|<small>{{Color|B|Power}} </small>'''{{{Power}}}'''|}}}}</span> | ||
{{#if:{{{Prereq Level|}}}{{{Prereq Skill|}}}|{{!}}- | {{#if:{{{Prereq Level|}}}{{{Prereq Skill|}}}|{{!}}- | ||
− | {{!}}<hr /><small>{{Color|B|Prerequisite:}} </small>Level: {{{Prereq Level}}}{{#if:{{{Prereq Skill|}}}|<br /><small>{{{Prereq Skill}}}</small>|}}|}} | + | {{!}}<hr /><small>{{Color|B|Prerequisite:}} </small><span style="float:right; text-align:right;">Level: {{{Prereq Level}}}{{#if:{{{Prereq Skill|}}}|<br /><small>{{{Prereq Skill}}}</small>|}}</span>|}} |
|} | |} | ||
|} | |} |
Revision as of 10:03, 28 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= |Total HP= |Self Dmg= |RG-CR Steal= |MP Steal= |Prereq Level= |Prereq Skill= }}
-"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. Should be "Heal", "Fire", "Ice", "Storm" or "????". -"Cost", "Damage", "Plus Cap", "Threshold", "Power", "Rate", "Total HP", "Self Dmg", "RG-CR Steal", "MP Steal", "Prereq Level" and "Prereq Skill" are optional.
Usage for a passive: {{Tooltip| |Name= |Effect= |Prereq Level= |Prereq Skill= }}
-"Prereq Level" and "Prereq Skill" are optional.