[Purgar]
Esta es la página de documentación. Esta debería ser transcluida en la página principal de esta plantilla. Véase Plantilla:Documentación para más información.Esta plantilla muestra los puntos de salud y visualiza estos con la ayuda de una barra de salud.
Para una presentación más compacta, todos los puntos de salud con un valor superior a 16 (8 corazones) se sustituyen por
× [hp / 2].
| Parámetros | Función | Valor por defecto |
|---|---|---|
1 |
Cantidad de corazones a mostrar. | 0 |
2 |
Tamaño de los corazones. | 9px |
poisoned |
Muestra los corazones de color ocre. | 0 |
withered |
Muestra los corazones de color negro marchito. | 0 |
hardcore |
Muestra los corazones en el modo hardcore. | 0 |
notag |
Elimina el numero y el paréntesis. | 0 |
| Código | Resultado |
|---|---|
| {{salud}} | 0 (Plantilla:Healthbar) |
| {{salud|0}} | 0 (Plantilla:Healthbar) |
| {{salud|4}} | 4 (Plantilla:Healthbar) |
| {{salud|4|18px}} | 4 (Plantilla:Healthbar) |
| {{salud|5|poisoned=1}} | 5 (Plantilla:Healthbar) |
| {{salud|5|withered=1}} | 5 (Plantilla:Healthbar) |
| {{salud|5|18px|poisoned=1}} | 5 (Plantilla:Healthbar) |
| {{salud|5|18px|withered=1}} | 5 (Plantilla:Healthbar) |
| {{salud|7|hardcore=1}} | 7 (Plantilla:Healthbar) |
| {{salud|7|18px|hardcore=1}} | 7 (Plantilla:Healthbar) |
| {{salud|7|poisoned=1|hardcore=1}} | 7 (Plantilla:Healthbar) |
| {{salud|7|withered=1|hardcore=1}} | 7 (Plantilla:Healthbar) |
| {{salud|7|18px|poisoned=1|hardcore=1}} | 7 (Plantilla:Healthbar) |
| {{salud|7|18px|withered=1|hardcore=1}} | 7 (Plantilla:Healthbar) |
| {{salud|6|notag=1}} | Plantilla:Healthbar |
| {{salud|8|notag=1|poisoned=1}} | Plantilla:Healthbar |
| {{salud|8|notag=1|withered=1}} | Plantilla:Healthbar |
| {{salud|16|notag=1|hardcore=1}} | Plantilla:Healthbar |
| {{salud|16|notag=1|poisoned=1|hardcore=1}} | Plantilla:Healthbar |
| {{salud|16|notag=1|withered=1|hardcore=1}} | Plantilla:Healthbar |
| {{salud|26|notag=1}} | Plantilla:Healthbar × 13 |
| {{salud|16}} | 16 (Plantilla:Healthbar) |
| {{salud|20}} | 20 (Plantilla:Healthbar × 10) |
| {{salud|41}} | 41 (Plantilla:Healthbar × 20.5) |