Jump to content

Template:Energy/doc: Difference between revisions

From Stardew Valley Wiki
imported>Vg-tal
imported>Margotbean
No edit summary
 
(5 intermediate revisions by 3 users not shown)
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>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<pre>{{Energy|-100}}</pre>
 
{{Energy|150|15}}
 
 
<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 21:05, 8 January 2023

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