Jump to content

Template:Health/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Margotbean
No edit summary
Line 2: Line 2:
This template is used to insert [[:File:Health.png]] in-line with text.
This template is used to insert [[:File:Health.png]] in-line with text.


==Usage==
==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|number in parenthesis}}</pre>
<pre>{{Health|amount}}</pre>


===Examples===
===Examples===
Line 20: Line 20:


{{Health|-100}}
{{Health|-100}}
 
<includeonly>[[Category:Formatting templates]]{{Addlanglinks}}</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<pre>{{Health|150|15}}</pre>
 
{{Health|150|15}}
 
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>{{Addlanglinks}}</includeonly>

Revision as of 19:40, 22 May 2021

Description

This template is used to insert File:Health.png in-line with text.

Use

This template can be used by entering the following onto a relevant page.

{{Health|amount}}

Examples

{{Health}}

{{Health|100}}

100

{{Health|-100}}

 -100