Please take a moment to fill out this survey on your gaming habits!

Template:Trade

From Wynncraft Wiki
Jump to: navigation, search
Template-info.png Documentation

Description[edit source]

A table used for displaying trades from a merchant in Wynncraft.

Usage[edit source]

{{Trade
| merchant =
| tradeLabel =
| priceLabel =
| productLabel =
| in# =
| in#amount =
| in#img =
| out# = *
| out#amount =
| out#img =
| note# =
}}

Note: The * symbol denotes required arguments
Note: The # symbol must be replaced by a number, multiple trades can be added by changing this number. (Minimum of 1)


Argument Description Default Value
merchant The name of the merchant, displayed as the heading The name of the current page
tradeLabel The label used for the merchant header (Used for translation purposes) Trades
priceLabel The label used for the price header (Used for translation purposes) Price
productLabel The label used for the product header (Used for translation purposes Product
in# The item for the #th trades input, a link will be automatically generated if there is a page named after the item Emerald
in#amount The amount for the #th trades input 1
in#img The image for the #th trades input {{WynnIcon|{{{in#}}}}}
out# * The item for the #th trades output, a link will be automatically generated if there is a page named after the item
out#amount The amount for the #th trades output 1
out#img The image for the #th trades output {{WynnIcon|{{{out#}}}}}
note# A note for the #th trade


Examples[edit source]

{{Trade
|merchant= Gold Merchant
|in1= Gold Ingot
|out1= Emerald
|out1amount= 5
}}

Produces:

Gold Merchant Trades
Price Product
1
Gold Ingot
5
Emerald


{{Trade
|merchant= Misc Merchant
|out1= Iron Sword
|out1img= {{WeaponIcon|iron_sword}}
|in2amount= 20
|out2= Arrow
|out2amount= 10
|out3= Egg
|out3amount= 5
|note3=These eggs can not be eaten for breakfast
}}

Produces:

Misc Merchant Trades
Price Product
1
Emerald
1
Iron Sword
20
Emerald
10
Arrow
1
Emerald
5
Egg
Note: These eggs can not be eaten for breakfast


{{Trade
|merchant= D'l'or Marchand
|tradeLabel= Métiers
|priceLabel= Prix
|productLabel= Produit
|in1= [[Gold Ingot|Lingot d’or]]
|in1img= {{WynnIcon|gold ingot}}
|in1amount= 1
|out1= [[Emerald|Emeraudes]]
|out1amount= 5
|out1img= {{WynnIcon|emerald}}
}}

Produces:

D'l'or Marchand Métiers
Prix Produit
1
Lingot d’or
5
Emeraudes