Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Style guide
Special
uploadwizard
Languages
Language links are at the top of the page across from the title.
BTA-Mirror
Search
Search
English
Create account
Log in
Personal tools
Dark mode
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Health/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Get shortened URL
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This template displays health points and visualizes these with the help of a [[Template:Healthbar|health bar]]. For a more compact display, all health point values above 10 (5 hearts) are replaced by {{Healthbar|value=2|size=9}} Γ [hp / 2]. All health point values which are not whole numbers are also replaced by {{Healthbar|value=2|size=9}} Γ [hp / 2]. {| class="wikitable" ! Parameter ! Function ! Default value |- | <code>1</code> || Amount of hearts to show. || 0 |- | <code>2</code> || Size of hearts in pixels. || 9 |- | <code>notag</code> || Remove number and parenthesis. || ''None'' |- | <code>total</code> || Total or minimum amount of hearts to show, any more than the set amount in {{p|1}} are shown as empty. || 0 |} {| class="wikitable" ! Code ! Result |- | <code><nowiki>{{hp}}</nowiki></code> || {{hp}} |- | <code><nowiki>{{hp|0}}</nowiki></code> || {{hp|0}} |- | <code><nowiki>{{hp|4}}</nowiki></code> || {{hp|4}} |- | <code><nowiki>{{hp|4|total=20}}</nowiki></code> || {{hp|4|total=20}} |- | <code><nowiki>{{hp|4|18px}}</nowiki></code> || {{hp|4|18px}} |- | <code><nowiki>{{hp|20|notag=1}}</nowiki></code> || {{hp|20|notag=1}} |- | <code><nowiki>{{hp|26|notag=1}}</nowiki></code> || {{hp|26|notag=1}} |- | <code><nowiki>{{hp|10}}</nowiki></code> || {{hp|10}} |- | <code><nowiki>{{hp|2.5}}</nowiki></code> || {{hp|2.5}} |- | <code><nowiki>{{hp|41}}</nowiki></code> || {{hp|41}} |} [[Category:Image templates]]
Summary:
Please note that all contributions to BTA-Mirror may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BTA-Mirror:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Boolean
(
edit
)
Template:Boolean
(
edit
)
Template:Health
(
edit
)
Template:Healthbar
(
edit
)
Template:Health
(
edit
)
Template:Iconbar
(
edit
)
Template:P
(
edit
)
Module:Iconbar
(
edit
)
Module:ProcessArgs
(
edit
)
Toggle limited content width