Difference between revisions of "Template:Hunger"
Line 27: | Line 27: | ||
Poisoned examples: | Poisoned examples: | ||
− | * <code><nowiki>{{Hunger|5| | + | * <code><nowiki>{{Hunger|5|poisoned}}</nowiki></code> → {{Hunger|5|poisoned}} |
− | * <code><nowiki>{{Hunger|6.5| | + | * <code><nowiki>{{Hunger|6.5|poisoned}}</nowiki></code> → {{Hunger|6.5|poisoned}} |
− | * <code><nowiki>{{Hunger|3| | + | * <code><nowiki>{{Hunger|3|poisoned}}</nowiki></code> → {{Hunger|3|poisoned}} |
</noinclude> | </noinclude> |
Revision as of 11:45, 5 July 2022
Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".
About
This template serves to display hunger points in a page.
Usage
The syntax of this template is {{Hunger|<number>|<poisoned>?}}
. If the value given is 0
or lower, it will display nothing, and if the value is higher than 10
, it will display 10 hunger icons. It can also round to the nearest integer. When using the poisoned
parameter (no value required), all hunger icons will change to it's poisoned version.
Examples
Rounding examples:
Poisoned examples: