Template:Hunger/doc: Difference between revisions
Jump to navigation
Jump to search
explain the new param |
m 1 revision imported Tags: Mobile edit Mobile web edit |
||
(No difference)
| |||
Latest revision as of 06:29, 23 July 2025
[refresh]
This is the documentation page. It should be transcluded into Template:Hunger. See Template:Documentation for more information.This template displays hunger points and visualizes these with the help of a hunger bar.
For a more compact display, all hunger point values above 10 (5 drumsticks) are replaced by × [hunger / 2].
| Parameter | Function | Default value |
|---|---|---|
1 |
Amount of icons to show. | 0 |
2 |
Size of icons. | 9px |
poisoned |
Show yellow-green hunger icons. | None |
notag |
Remove number and parenthesis. | None |
total |
Total amount of shanks to show, any more than the set amount in |1= are shown as empty. |
0 |
bar |
Sets |total= to 20 and replaces |1=. Essentially used to display a hunger bar. |
None |
| Code | Result |
|---|---|
{{hunger}} |
0 () |
{{hunger|0}} |
0 () |
{{hunger|4}} |
4 () |
{{hunger|4|total=20}} |
4 () |
{{hunger|7|poisoned=1}} |
7 () |
{{hunger|4|18px}} |
4 () |
{{hunger|20|notag=1}} |
× 10 |
{{hunger|26|notag=1}} |
× 13 |
{{hunger|20}} |
20 ( × 10) |
{{hunger|24}} |
24 ( × 12) |
{{hunger|41}} |
41 ( × 20.5) |
es:Plantilla:Hambre/doc
it:Template:Barra fame/doc
nl:Sjabloon:Hunger/doc
ru:Шаблон:Голод/док