Wikia

Witcher Wiki

Merchant/Help

< Merchant

7,626pages on
this wiki
Comments0

Other help pages can be found via Help:Contents

Why are these merchant pages using templates?Edit

Answer:

The merchant pages are using templates to:

  • give all merchant pages the same layout.
  • keep price information on the merchant pages and the item pages consistent.

If items are inserted, updated or removed in the price list of a merchant, this information is changed 'automagically' on the corresponding item pages. A detailed explanation of how this magic works can be found here.

How can I change a purchase or sales price on a merchant page?Edit

Answer:
  1. Click the edit button.
  2. Search the call of Template:Price list.
  3. This call has a parameter per item the merchant buys or sells. Search in these parameters the line to edit.
  4. On this line you'll find from left to right:
    • A pipe character ('|').
    • The parameter name (item <sequence number>).
    • An equal sign ('=').
    • A link to the item page ([[<item name>]]).
    • A comma (',').
    • The purchase price.
    • A comma (',').
    • The sales price.
  5. Edit the line as required.
  6. Publish the merchant page, check your changes.

How can I add an item to the price list on a merchant page?Edit

Answer:
  1. Click the edit button.
  2. Search the call of Template:Price list.
  3. Insert a new line just above the call's last line ('}}').
  4. On this line type:
    • 2 Spaces (' ') and a pipe character ('|').
    • 1 Space and the parameter name (item <sequence number>). There's a maximum Template:Price list supports. Read here how to increase that limit
    • 1 Space and an equal sign ('=').
    • 1 Space and a link to the item page ([[<item name>]]). Make sure the capitalization of the item name matches that of the item page.
    • A comma (',').
    • 1 Space and the purchase price.
    • A comma (',').
    • 1 Space and the sales price.
  5. Publish the merchant page, check your changes.

How can I remove an item from the price list on a merchant page?Edit

Around Wikia's network

Random Wiki