Wynncraft Wiki
Tags: Mobile edit, Mobile web edit
m (removed additional space)
 
(4 intermediate revisions by 3 users not shown)
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 13: Line 12:
 
| label5 = Variations
 
| label5 = Variations
 
| data5 = {{#if:{{{variations|}}}|{{{variations}}} Variations |}}
 
| data5 = {{#if:{{{variations|}}}|{{{variations}}} Variations |}}
 
}}<noinclude>
 
To use this template, add to page this code:
  +
<pre>
 
{{Infobox/Merchant
  +
| name =
  +
| image =
  +
| type =
  +
| location =
 
| xcoordinate =
 
| zcoordinate =
  +
| total =
 
| variations =
 
}}
 
}}
 
</pre>
 
<noinclude>
 
To use this template, add to page this code:
 
:'''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.'''
 
:*'''You don't need to use one of the arguments given, they are simply there for convenience.'''
 
 
<code><nowiki>
 
{{Infobox/Merchant</nowiki><br><nowiki>
 
| name = </nowiki><br><nowiki>
 
| image = </nowiki><br><nowiki>
 
| type = </nowiki><br><nowiki>
 
| location = </nowiki><br><nowiki>
 
| xcoordinate = </nowiki><br><nowiki>
 
| zcoordinate = </nowiki><br><nowiki>
 
| total = </nowiki><br><nowiki>
 
| variations = </nowiki><br><nowiki>
 
}}</nowiki>
 
</code>
 
   
 
{|class="wikitable"
 
{|class="wikitable"
Line 43: Line 37:
 
| ''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 53: Line 47:
 
| ''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]][[CategoryTemplates]]</includeonly>
+
<includeonly>[[Category:Merchants]]</includeonly>
  +
<noinclude>[[Category:Infobox templates]][[Category:Templates]]</noinclude>

Latest revision as of 09:45, 25 March 2020

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.