Difference between revisions of "Template:Energy"

From Stardew Valley Wiki
Jump to navigation Jump to search
m (Fix breaking space)
(Change id to class to prevent duplicate errors)
Line 1: Line 1:
<includeonly><span id="nametemplate">{{#iferror:{{#expr:{{{1|}}}<0}}|
+
<includeonly><span class="nametemplate">{{#iferror:{{#expr:{{{1|}}}<0}}|
 
     [[File:Energy.png|24px|link=]]
 
     [[File:Energy.png|24px|link=]]
 
     |
 
     |

Revision as of 05:22, 11 March 2017

Description

This template is used to insert File:Energy.png or File:Poison.png in-line with text.

Use

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

{{Energy|amount}}

Examples

{{Energy}}

Energy.png

{{Energy|100}}

Energy.png100

{{Energy|-100}}

Poison.png-100