Jump to content

Template:Energy/doc: Difference between revisions

From Stardew Valley Wiki
imported>Mndarrr
No edit summary
imported>Vg-tal
Line 4: Line 4:
==Usage==
==Usage==
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>
===Examples===


<pre>{{Energy}}</pre>
<pre>{{Energy}}</pre>


which results in...
{{Energy}}
{{energy}}
 
<pre>{{Energy|100}}</pre>
 
{{Energy|100}}
 
<pre>{{Energy|-100}}</pre>
 
{{Energy|-100}}
 
<pre>{{Energy|-100}}</pre>
 
{{Energy|150|15}}
 


<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 02:33, 6 October 2016

Description

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

Usage

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

{{Energy|amount|number in parenthesis}}

Examples

{{Energy}}

{{Energy|100}}

100

{{Energy|-100}}

 -100

{{Energy|-100}}

150