Template:Itemstack: Difference between revisions

From Voidscape
Jump to navigation Jump to search
m (broken file links, shoosh)
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>[[File:{{{item|}}}.png|link={{{item|}}}|32px|{{{item|}}}]]{{#if: {{{count|}}}|&nbsp;({{{count|}}})|}}</pre><noinclude>
[[File:{{{item}}}.{{{imageext|png}}}|link={{{item|}}}|32px|{{{item|}}}]]{{#if: {{{count|}}}|&nbsp;({{{count|}}})|}}<noinclude><br/>
 
Usage:
Usage:
<pre>
<pre>
Line 5: Line 6:
|item=Item file name
|item=Item file name
|count=Number of items (Can use any string here such as 1 - 4)
|count=Number of items (Can use any string here such as 1 - 4)
|imageext=optional
}}
}}
</pre>
</pre>
</noinclude>

Latest revision as of 22:30, 7 February 2024

[[File:{{{item}}}.png|link=|32px|]]

Usage:

{{Itemstack
|item=Item file name
|count=Number of items (Can use any string here such as 1 - 4)
|imageext=optional
}}