Template:Trades/Buyfrom

This template should not be used on articles, only on Item/Buyfrom subpages.

It will generate a table with a list of NPC names, npcprice, location and notes for the item.

The list of NPCs is extracted from Template:Trades/Buyfrom_NPCs_for_Item.

Price and notes are got from the template call to Template:Trades/Sells on NPCs pages.

Location info is got from Template:Trades/NPC City

DPL templates Template:Trades/Sells/Get Price.dpl and Template:Trades/Sells/Get Note.dpl are also used.

Also used: Template:Infobox Wand/Trades/Get Price and Template:Infobox Item/Trades/Get Price.

When using this template, it should be saved once, then open page for edit again and save again, so all the substitutions are done.

All the content before the first page save should be:

player parameter can be changed to yes.

Note that the generation process could take some time for the second save. noinclude> To generate this page again, replace all the content for this code and save it 2 times:

Note that the generation process could take some time for the second save. /noinclude>