Changes

Jump to navigation Jump to search
706 bytes added ,  06:21, 26 February 2016
no edit summary
Line 1: Line 1:  
<includeonly><span id="nametemplate">[[File:{{{1|}}}.png|24px|link=]] {{#ifexist:{{{1|}}}|[[{{{1|}}}]]|{{{1|}}}}}{{#if: {{{2|}}}|&nbsp;({{{2|}}})|}}</span></includeonly>
 
<includeonly><span id="nametemplate">[[File:{{{1|}}}.png|24px|link=]] {{#ifexist:{{{1|}}}|[[{{{1|}}}]]|{{{1|}}}}}{{#if: {{{2|}}}|&nbsp;({{{2|}}})|}}</span></includeonly>
 +
<noinclude>This template places 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.
 +
 +
The coorisponding template for [[Villagers|villagers and NPCs]] is named [[:Template:npc]].
 +
== Use ==
 +
<pre>
 +
{{name|Complete Breakfast|30}}
 +
</pre>
 +
When used the parameters are not identified by name, but by order.  Example use of this template;
 +
<pre>{{name|Corn|30}}</pre>
 +
Result: {{name|Corn|30}}
 +
<pre>{{name|Preserves Jar|3}}</pre>
 +
Result: {{name|Preserves Jar|3}}
 +
[[Category:Template]]</noinclude>

Navigation menu