Difference between revisions of "Template:VendorPurchase"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 27: | Line 27: | ||
|#default={{RenderLink|{{{1}}}}}: {{#if:{{{3|}}}|Purchase in {{RenderLink|{{{3|}}}}}}}{{#if: {{#dplvar:purchasecost}}|{{#if: {{{3|}}},}} Cost: | |#default={{RenderLink|{{{1}}}}}: {{#if:{{{3|}}}|Purchase in {{RenderLink|{{{3|}}}}}}}{{#if: {{#dplvar:purchasecost}}|{{#if: {{{3|}}},}} Cost: | ||
}}{{#dplvar:purchasecost}}}}{{#dplvar:set|seodroplocation|{{#dplvar:seodroplocation}} | }}{{#dplvar:purchasecost}}}}{{#dplvar:set|seodroplocation|{{#dplvar:seodroplocation}} | ||
* {{{1}}}: {{#if:{{{3|}}}|Purchase in {{{3|}}}}}}}</onlyinclude> | * {{{1}}}: {{#if:{{{3|}}}|Purchase in {{{3|}}}}} {{#if: {{{5|}}}|({{{5}}})}}}}</onlyinclude> |
Latest revision as of 03:53, 23 December 2024
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}} | Kaelpit Dourstroke: Purchase in Hammer and ChainCost:15gp |
{{VendorPurchase|Jolene Dander||Eveningstar|10}} | Jolene Dander: Purchase in Eveningstar |
{{VendorPurchase|Jolene Dander||Liquid Charm|10|House Kundarak}} | Jolene Dander: Purchase in Liquid Charm |
Usage[edit]
{{VendorPurchase|(Which Vendor)|(Cost)|(Location)|(Amount)|(Area)}}
Parameter Documentation | |
Which Vendor | This is the name of the NPC that you would purchase from |
Cost | This is the cost, include the currency in it (i.e. gp, pp, cp). Use Template: Price |
Location | This is the location the NPC is found |
Amount | This is the number you get for that price, only use if it is not one |
Area | This is the area that the location is in, optional |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[{{{1}}}]]: