Wynncraft Wiki
ALWAYSFF (talk | contribs)
(Cleanup. Made {{{type}}} optional.)
Line 2: Line 2:
 
| above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
 
| above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
 
| image = {{{image}}}
 
| image = {{{image}}}
| header1 = Merchant Information
 
 
| label1 = Type
 
| label1 = Type
| data1 = {{{type}}} Merchant
+
| data1 = {{#if:{{{type|}}}|{{{type}}} Merchant}}
 
| label2 = Location
 
| label2 = Location
 
| data2 = {{{location}}}
 
| data2 = {{{location}}}
Line 16: Line 15:
 
<noinclude>
 
<noinclude>
 
To use this template, add to page this code:
 
To use this template, add to page this code:
  +
<pre>
:'''Note: If there are arguments after the equals sign, you can fill in that specific field using one of those arguments (case sensitive) and receive the corresponding color to the text.'''
 
 
{{Infobox/Merchant
:*'''You don't need to use one of the arguments given, they are simply there for convenience.'''
 
  +
| name =
 
  +
| image =
<code><nowiki>
 
  +
| type =
{{Infobox/Merchant</nowiki><br><nowiki>
 
  +
| location =
| name = </nowiki><br><nowiki>
 
 
| xcoordinate =
| image = </nowiki><br><nowiki>
 
 
| zcoordinate =
| type = </nowiki><br><nowiki>
 
  +
| total =
| location = </nowiki><br><nowiki>
 
 
| variations =
| xcoordinate = </nowiki><br><nowiki>
 
  +
}}
| zcoordinate = </nowiki><br><nowiki>
 
 
</pre>
| total = </nowiki><br><nowiki>
 
| variations = </nowiki><br><nowiki>
 
}}</nowiki>
 
</code>
 
   
 
{|class="wikitable"
 
{|class="wikitable"
Line 42: Line 38:
 
| ''type'' || The type of merchant: could be potion, cobblestone, wheat, etc. Essentially, their trades
 
| ''type'' || The type of merchant: could be potion, cobblestone, wheat, etc. Essentially, their trades
 
|-
 
|-
| ''location'' || The location of the merchant. '''If there is more than one, say Gavel, Wynn, or Both'''
+
| ''location'' || The location of the merchant. If there is more than one, say Gavel, Wynn, or Both.
 
|-
 
|-
 
| ''xcoordinate'' || The x-coordinate of the merchant, this field is '''optional'''.
 
| ''xcoordinate'' || The x-coordinate of the merchant, this field is '''optional'''.
Line 52: Line 48:
 
| ''variations'' || There are some merchants that are similar but have different variations (like those in the Hive shop). This field represents the number of variations that the merchant has across the provinces. This field is '''optional'''.
 
| ''variations'' || There are some merchants that are similar but have different variations (like those in the Hive shop). This field represents the number of variations that the merchant has across the provinces. This field is '''optional'''.
 
|}
 
|}
  +
</noinclude>
   
 
<includeonly>[[Category:Merchants]]</includeonly>
 
<includeonly>[[Category:Merchants]]</includeonly>

Revision as of 03:45, 13 May 2019

Infobox/Merchant
{{{image}}}
Location {{{location}}}

To use this template, add to page this code:

{{Infobox/Merchant
| name = 
| image = 
| type = 
| location = 
| xcoordinate = 
| zcoordinate = 
| total = 
| variations = 
}}
Argument Description
name The merchant name, default to the page name if blanked, should only be used when the page name and actual item name is different for some reason.
image The image for the infobox, fill with [[File:<ImageName.extension>|200px]]
type The type of merchant: could be potion, cobblestone, wheat, etc. Essentially, their trades
location The location of the merchant. If there is more than one, say Gavel, Wynn, or Both.
xcoordinate The x-coordinate of the merchant, this field is optional.
zcoordinate The z-coordinate of the merchant, this field is optional.
total Total represents the current number of total merchants across the provinces. This field is also optional.
variations There are some merchants that are similar but have different variations (like those in the Hive shop). This field represents the number of variations that the merchant has across the provinces. This field is optional.