Difference between revisions of "Template:Energy/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user 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|150|15}}</pre>
 
 
 
{{Energy|150|15}}
 
 
 
 
 
<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[de:Vorlage:{{PAGENAME}}]]
 
[[es:Plantilla:{{PAGENAME}}]]
 
[[ja:テンプレート:{{PAGENAME}}]]
 
[[pt:Predefinição:{{PAGENAME}}]]
 
[[ru:Шаблон:{{PAGENAME}}]]
 
[[zh:Template:{{PAGENAME}}]]</includeonly>
 

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