Vorlage:HPMP: Unterschied zwischen den Versionen

K (2 Versionen)
K (Textersetzung - „high mp“ durch „Höchste MP“)
 
(4 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{Feuer|{{#switch:{{lc:{{{low hp|}}}}}
{{Feuer|{{#switch:{{lc:{{{Niedrigste HP|}}}}}
|no = ''???''
|no|none|?|unbekannt|??|???|Unbekannt = ''{{Feuer|???}}''
|none = ''???''
|#default = {{#if:{{{Niedrigste HP|}}}|{{#if:{{{Höchste HP|}}}|{{formatnum:{{{Niedrigste HP}}}}}~{{formatnum:{{{Höchste HP}}}}}|~{{formatnum:{{{Niedrigste HP}}}}}}}|{{#if:{{{Höchste HP|}}}|~{{formatnum:{{{Höchste HP}}}}}|''???''}}
|? = ''???''
}}}}}} [[Hit Points|{{Feuer|HP}}]]<br>{{#switch:{{lc:{{{Niedrigste MP|}}}}}
|#default = {{#if:{{{low hp|}}}|{{#if:{{{high hp|}}}|{{formatnum:{{{low hp}}}}}~{{formatnum:{{{high hp}}}}}|~{{formatnum:{{{low hp}}}}}}}|{{#if:{{{high hp|}}}|~{{formatnum:{{{high hp}}}}}|''???''}}
|no|none|?|unbekannt|??|???|Unbekannt = {{Wind|''???''}} [[Magiepunkte|{{Wind|MP}}]]
}}}}}} [[Hit Points|{{Feuer|HP}}]]<br>{{#switch:{{lc:{{{low mp|}}}}}
|#default = {{#if:{{{Niedrigste MP|}}}|{{#if:{{{Höchste MP|}}}|{{Wind|{{formatnum:{{{Niedrigste MP}}}}}~{{formatnum:{{{Höchste MP}}}}}}} [[Magiepunkte|{{Wind|MP}}]]| {{Wind|~{{formatnum:{{{Niedrigste MP}}}}}}}  [[Magiepunkte|{{Wind|MP}}]]}}|{{#if:{{{Höchste MP|}}}| {{Wind|~{{formatnum:{{{Höchste MP}}}}}}} [[Magiepunkte|{{Wind|MP}}]]| {{Wind|''???''}} [[Magiepunkte|{{Wind|MP}}]]}}
|no =
|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}}]]}}
}}}}<noinclude>
}}}}<noinclude>
==Usage==
==Usage==
<pre>
<pre>
{{HPMP
{{HPMP
|low hp =  
|Niedrigste HP =  
|high hp =
|Höchste HP =
|low mp =  
|Niedrigste MP =  
|high mp =
|Höchste MP =
}}
}}
</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>

Aktuelle Version vom 19. Februar 2012, 19:30 Uhr

??? HP
??? MP

Usage[Quelltext bearbeiten]

{{HPMP
|Niedrigste HP  = 
|Höchste HP =
|Niedrigste MP  = 
|Höchste MP =
}}