Vorlage:HPMP: Unterschied zwischen den Versionen

K (2 Versionen)
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
{{Feuer|{{#switch:{{lc:{{{low hp|}}}}}
{{Feuer|{{#switch:{{lc:{{{low hp|}}}}}
|no = ''???''
|no|none|?|unbekannt|??|???|Unbekannt = ''{{Feuer|???}}''
|none = ''???''
|? = ''???''
|#default = {{#if:{{{low hp|}}}|{{#if:{{{high hp|}}}|{{formatnum:{{{low hp}}}}}~{{formatnum:{{{high hp}}}}}|~{{formatnum:{{{low hp}}}}}}}|{{#if:{{{high hp|}}}|~{{formatnum:{{{high hp}}}}}|''???''}}
|#default = {{#if:{{{low hp|}}}|{{#if:{{{high hp|}}}|{{formatnum:{{{low hp}}}}}~{{formatnum:{{{high hp}}}}}|~{{formatnum:{{{low hp}}}}}}}|{{#if:{{{high hp|}}}|~{{formatnum:{{{high hp}}}}}|''???''}}
}}}}}} [[Hit Points|{{Feuer|HP}}]]<br>{{#switch:{{lc:{{{low mp|}}}}}
}}}}}} [[Hit Points|{{Feuer|HP}}]]<br>{{#switch:{{lc:{{{low mp|}}}}}
|no =
|no|none|?|unbekannt|??|???|Unbekannt = {{Wind|''???''}} [[Magiepunkte|{{Wind|MP}}]]
|none =
|? ={{Wind|''???''}} [[Magiepunkte|{{Wind|MP}}]]
|#default = {{#if:{{{low mp|}}}|{{#if:{{{high mp|}}}|{{Wind|{{formatnum:{{{low mp}}}}}~{{formatnum:{{{high mp}}}}}}} [[Magiepunkte|{{Wind|MP}}]]| {{Wind|~{{formatnum:{{{low mp}}}}}}}  [[Magiepunkte|{{Wind|MP}}]]}}|{{#if:{{{high mp|}}}| {{Wind|~{{formatnum:{{{high mp}}}}}}} [[Magiepunkte|{{Wind|MP}}]]| {{Wind|''???''}} [[Magiepunkte|{{Wind|MP}}]]}}
|#default = {{#if:{{{low mp|}}}|{{#if:{{{high mp|}}}|{{Wind|{{formatnum:{{{low mp}}}}}~{{formatnum:{{{high mp}}}}}}} [[Magiepunkte|{{Wind|MP}}]]| {{Wind|~{{formatnum:{{{low mp}}}}}}}  [[Magiepunkte|{{Wind|MP}}]]}}|{{#if:{{{high mp|}}}| {{Wind|~{{formatnum:{{{high mp}}}}}}} [[Magiepunkte|{{Wind|MP}}]]| {{Wind|''???''}} [[Magiepunkte|{{Wind|MP}}]]}}
}}}}<noinclude>
}}}}<noinclude>
Zeile 19: Zeile 15:
}}
}}
</pre>
</pre>
*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.
</noinclude>
</noinclude>
<noinclude>
<noinclude>
[[Category:Vorlagen|{{PAGENAME}}]]</noinclude>
[[Kategorie:Vorlagen|{{PAGENAME}}]]</noinclude>

Version vom 19. Februar 2012, 18:03 Uhr

??? HP
??? MP

Usage

{{HPMP
|low hp  = 
|high hp =
|low mp  = 
|high mp =
}}