Template:HPMP: Difference between revisions
From HorizonXI Wiki
(Created page with "{{Fire|{{#switch:{{lc:{{{low hp|}}}}} |no = ''???'' |none = ''???'' |? = ''???'' |#default = {{#if:{{{low hp|}}}|{{#if:{{{high hp|}}}|{{formatnum:{{{low hp}}}}}~{{formatnum:{{{high hp}}}}}|~{{formatnum:{{{low hp}}}}}}}|{{#if:{{{high hp|}}}|~{{formatnum:{{{high hp}}}}}|''???''}} }}}}}} {{Fire|HP}}<br>{{#switch:{{lc:{{{low mp|}}}}} |no = |none = |? ={{Wind|''???''}} {{Wind|MP}} |#default = {{#if:{{{low mp|}}}|{{#if:{{{high mp|}}}|{{Wind|{{...") |
(No difference)
|
Latest revision as of 09:38, 11 February 2023
Usage
{{HPMP
|low hp =
|high hp =
|low mp =
|high mp =
}}
- Automatically formats values for Mob hit points and magic points (if any), given in approximates due to the variant levels of most mob spawns:
- Displays "???" if "no" or "none" is given as the low value or if no values are given for HP, displays nothing for MP.
- Displays "~<value>" if only the low value or high value is given.
- Displays "<low value>~<high value>" if both values are given.
