Template:Merchant/doc

From Wynncraft Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

This template creates a page link with an associated icon for merchants.

Parameters

Name Usage
{{{1}}} The type of merchant.
{{{2}}} Optional words before the link.
{{{icon}}} Optional field. Sets the icon.
{{{location}}} The location of the merchant. Should only be used for weapon, accessory and armour merchants to link to the correct section. Defaults to {{PAGENAME}}.

Examples

Code Result
{{merchant|potion}}
Potion Merchant
{{merchant|weapon|A}}
A Weapon Merchant
{{merchant|weapon|location=Detlas}}
Weapon Merchant
{{merchant|fabrics|icon=leather}}
Fabrics Merchant
{{merchant|emerald}}s
Emerald Merchants

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.