Difference between revisions of "Template:Energy/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by 4 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}}</pre>
 +
 +
===Examples===
  
 
<pre>{{Energy}}</pre>
 
<pre>{{Energy}}</pre>
  
which results in...
+
{{Energy}}
{{energy}}
+
 
 +
<pre>{{Energy|100}}</pre>
 +
 
 +
{{Energy|100}}
 +
 
 +
<pre>{{Energy|-100}}</pre>
  
<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
+
{{Energy|-100}}
 +
<includeonly>{{Addlanglinks}}[[Category: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.png

{{Energy|100}}

Energy.png100

{{Energy|-100}}

Poison.png -100