Jump to content

Template:Energy: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
Undo revision 47356 by Kazz (talk)
imported>Rigel Kent
image alt text "Energy"
Line 1: Line 1:
<includeonly><span id="nametemplate">{{#iferror:{{#expr:{{{1|}}}<0}}|
<includeonly><span id="nametemplate">{{#iferror:{{#expr:{{{1|}}}<0}}|
     [[File:Energy.png|24px|link=]]
     [[File:Energy.png|24px|link=|alt=Energy]]
     |
     |
     {{#if:{{{1|}}}|
     {{#if:{{{1|}}}|
         {{#ifexpr:{{#expr:{{{1|}}}<0}}|
         {{#ifexpr:{{#expr:{{{1|}}}<0}}|
             [[File:Poison.png|24px|link=]]
             [[File:Poison.png|24px|link=|alt=Energy]]
             |
             |
             [[File:Energy.png|24px|link=]]
             [[File:Energy.png|24px|link=|alt=Energy]]
         }}
         }}
         |
         |
         [[File:Energy.png|24px|link=]]
         [[File:Energy.png|24px|link=|alt=Energy]]
     }}
     }}
}}{{{1|}}}{{#if: {{{2|}}}|&nbsp;({{{2|}}})|}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
}}{{{1|}}}{{#if: {{{2|}}}|&nbsp;({{{2|}}})|}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 05:50, 10 July 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

{{Energy|100}}

Energy100

{{Energy|-100}}

Energy-100