Difference between revisions of "Template:Health/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
m
Line 4: Line 4:
 
==Usage==
 
==Usage==
 
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>
 +
 +
===Examples===
  
 
<pre>{{Health}}</pre>
 
<pre>{{Health}}</pre>
  
which results in...
 
 
{{Health}}
 
{{Health}}
 
===Examples===
 
  
 
<pre>{{Health|100}}</pre>
 
<pre>{{Health|100}}</pre>
Line 19: Line 20:
  
 
{{Health|-100}}
 
{{Health|-100}}
 +
 +
<pre>{{Health|-100}}</pre>
 +
 +
{{Health|150|15}}
  
 
<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 02:32, 6 October 2016

Description

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.

{{Health|amount|number in parenthesis}}

Examples

{{Health}}

Health.png

{{Health|100}}

Health.png100

{{Health|-100}}

Poison.png -100

{{Health|-100}}

Health.png150