Difference between revisions of "Template:Tooltip"
From NEStalgia
Line 9: | Line 9: | ||
|- | |- | ||
|valign=top height=90px| | |valign=top height=90px| | ||
− | {{#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>'''{{#ifeq:{{{Cost Unit|}}}|Will|<span style="font-size:22px;">{{#switch:{{{Cost}}}|1=●|2=●●|3=●●●|4=●●●●|5=●●●●●|#default=INVALID}}</span>|{{{Cost}}} {{Cost Unit}}}}}'''</span>|}}<br /> |
<div style="padding-left:5px;">'''{{{Effect|Effect}}}'''</div> | <div style="padding-left:5px;">'''{{{Effect|Effect}}}'''</div> | ||
{{!}}- | {{!}}- | ||
Line 26: | Line 26: | ||
|Name= | |Name= | ||
|Cost= | |Cost= | ||
+ | |Cost Unit= | ||
|Effect= | |Effect= | ||
|Damage= | |Damage= | ||
|Target= | |Target= | ||
+ | |Plus Cap= | ||
|Plus Cap Type= | |Plus Cap Type= | ||
− | |||
|Threshold= | |Threshold= | ||
|Power= | |Power= | ||
Line 42: | Line 43: | ||
}}</nowiki><br /><br /> | }}</nowiki><br /><br /> | ||
-"Target" is either: "Self", "One Ally", "All allies", "One Foe" or "All Foes". | -"Target" is either: "Self", "One Ally", "All allies", "One Foe" or "All Foes". | ||
+ | -"Cost Unit" is only relevant (and is required) if "Cost" is specified. It should be either "MP", "Will", "HP", "CR", or "RG". "Will" makes the cost (between 1 and 5) display with dots. | ||
-"Plus Cap Type" is only relevant (and is required) if "Plus Cap" is specified. Should be "Heal", "Fire", "Ice", "Storm" or "????". | -"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. | -"Cost", "Damage", "Plus Cap", "Threshold", "Power", "Rate", "Total HP", "Self Dmg", "RG-CR Steal", "MP Steal", "Prereq Level" and "Prereq Skill" are optional. |
Revision as of 11:31, 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= |Cost Unit= |Effect= |Damage= |Target= |Plus Cap= |Plus Cap Type= |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". -"Cost Unit" is only relevant (and is required) if "Cost" is specified. It should be either "MP", "Will", "HP", "CR", or "RG". "Will" makes the cost (between 1 and 5) display with dots. -"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.