Welcome to the New Wiki

Please let us know if anything looks out of place.

Template:Material/doc: Difference between revisions

From Walkscape Walkthrough
wswiki>CptRileyyy
Replace - with |
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 34: Line 34:
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
{{Material
{{Material
| Item = Fishing line
| Item = Fishing Line
| Image = Fishing Line.svg
}}
}}
</syntaxhighlight>
</syntaxhighlight>
Line 41: Line 42:
{| class="wikitable" style="text-align: center;"
{| class="wikitable" style="text-align: center;"
{{Material
{{Material
| Item = Fishing line
| Item = Fishing Line
| Image = Fishing Line.svg
}}
}}
|}
|}

Latest revision as of 13:01, 1 January 2025

Parameters

Item

The name of the item. This field is required.

Image

The image of the item. This field is not required, but is recommended. If not provided, the template will attempt to find the image by the Item name.

Quantity

The number of this item required. This field is optional. If not provided, the quantity of 1 will be displayed.

Quick Copy

Notated Copy

{{Material
| Item = 
| Image =  (Recommended)
| Quantity =  (Optional)
}}

Empty Copy

{{Material
| Item = 
| Image = 
| Quantity = 
}}

Examples

{{Material
| Item = Fishing Line
| Image = Fishing Line.svg
}}

Yields:

Fishing Line Sprite Fishing Line 1


{{Material
| Item = Wine
| Image = Wine.svg
| Quantity = 5
}}

Yields:

- Wine Sprite Wine 5