Difference between revisions of "Template:Health/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation}} This template is used to insert File:Health.png in-line with text. ==Usage== This template can be used by entering the following onto a relevant page....")
 
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Documentation}}
+
==Description==
This template is used to insert [[:File:Health.png]] in-line with text.
+
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.
  
==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>{{Energy}}</pre>
+
<pre>{{Health|amount}}</pre>
  
<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
+
===Examples===
 +
 
 +
<pre>{{Health}}</pre>
 +
{{Health}}
 +
 
 +
<pre>{{Health|100}}</pre>
 +
{{Health|100}}
 +
 
 +
<pre>{{Health|0}}</pre>
 +
{{Health|0}}
 +
 
 +
<pre>{{Health|-100}}</pre>
 +
{{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.png

{{Health|100}}

Health.png100

{{Health|0}}

Health.png0

{{Health|-100}}

Poison.png -100