Difference between revisions of "Template:VendorPurchase"

From DDO Compendium
Line 17: Line 17:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:VendorPurchase||[[Category:Items Purchable In-Game]]}}Purchase {{#if: {{{4|}}}|{{{4}}}}} from [[{{{1}}}]] located in [[{{{3}}}]]{{#if:{{{2|}}}|&nbsp;for {{{2}}}.|.}}</onlyinclude>
{{#ifeq: {{FULLPAGENAME}} |Template:VendorPurchase||[[Category:Items Purchasable In-Game]]}}
<tr>
<td>[[{{{1}}}]]</td>
<td>[[{{{3}}}]]</td>
<td>{{#if:{{{4|}}}|{{{4}}}}}</td>
<td>{{#if:{{{2|}}}|{{{2}}}}}</td>
</tr></onlyinclude>

Revision as of 21:42, 29 February 2020

VendorPurchase[edit]

This template is used on equipment to correctly format where that equipment is received from buying from a vendor using platninum.

Example Usage
{{VendorPurchase|Kaelpit Dourstroke|15gp|Hammer and Chain}}Purchase from Kaelpit Dourstroke located in Hammer and Chain for 15gp.
{{VendorPurchase|Jolene Dander||Eveningstar|10}}Purchase 10 from Jolene Dander located in Eveningstar.

Usage[edit]

{{VendorPurchase|(Which Vendor)|(Cost)|(Location)|(Amount)}}

Parameter Documentation
Which VendorThis is the name of the NPC that you would purchase from
CostThis is the cost, include the currency in it (i.e. gp, pp, cp). Use Template: Price
LocationThis is the location the NPC is found
AmountThis is the number you get for that price, only use if it is not one

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


Purchase from [[{{{1}}}]] located in [[{{{3}}}]].