Jump to content

Template:Energy/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Margotbean
No edit summary
Line 1: Line 1:
==Description==
==Description==
This template is used to insert [[:File:Energy.png]] in-line with text.
This template is used to insert [[:File:Energy.png]] or [[:File:Poison.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>{{Energy|amount|number in parenthesis}}</pre>
<pre>{{Energy|amount}}</pre>


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


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

Revision as of 19:17, 22 May 2021

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|100}}

100

{{Energy|-100}}

 -100