Difference between revisions of "Template:Health/doc"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (category) |
Margotbean (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Description== | ==Description== | ||
− | This template is used to insert [[:File:Health.png]] | + | This template is used to insert [[:File:Health.png]] inline with text. On the French language wiki, this template inserts [[:File:Health FR.png]] inline with text. |
− | == | + | ==Use== |
This template can be used by entering the following onto a relevant page. | This template can be used by entering the following onto a relevant page. | ||
− | <pre>{{Health|amount | + | <pre>{{Health|amount}}</pre> |
===Examples=== | ===Examples=== | ||
<pre>{{Health}}</pre> | <pre>{{Health}}</pre> | ||
− | |||
{{Health}} | {{Health}} | ||
<pre>{{Health|100}}</pre> | <pre>{{Health|100}}</pre> | ||
+ | {{Health|100}} | ||
− | {{Health| | + | <pre>{{Health|0}}</pre> |
+ | {{Health|0}} | ||
<pre>{{Health|-100}}</pre> | <pre>{{Health|-100}}</pre> | ||
− | |||
{{Health|-100}} | {{Health|-100}} | ||
− | + | <includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | |
− | < | ||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 21:41, 8 January 2023
Description
This template is used to insert File:Health.png inline with text. On the French language wiki, this template inserts File:Health FR.png inline with text.
Use
This template can be used by entering the following onto a relevant page.
{{Health|amount}}
Examples
{{Health}}
{{Health|100}}
100
{{Health|0}}
0
{{Health|-100}}
-100