Template:Name/doc

From Stardew Valley Wiki
< Template:Name
Revision as of 05:39, 29 February 2016 by Oath2order (talk | contribs) (Created page with "{{Documentation}} This template is used to place the picture of a named item next to the name, resizes the image to 32px wide, makes the item name a link if there's an availab...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Documentation This template is used to place the picture of a named item next to the name, resizes the image to 32px wide, makes the item name a link if there's an available article of the same name, and lastly places the third parameter in parenthesis to signify quantity, relationship or any other secondary detail. To refer to villagers and NPCs, use Template:NPC.

Usage

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

{{name|''item name''|''amount''}}

==Exmaples==
<pre>
{{name|Complete Breakfast|30}}

When used the parameters are not identified by name, but by order. Example use of this template;

{{name|Corn|30}}

Result: Corn.png Corn (30)

{{name|Preserves Jar|3}}

Result: Preserves Jar.png Preserves Jar (3)