Difference between revisions of "Template:VendorPurchase"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 22: | Line 22: | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:VendorPurchase||[[Category:Items Purchable In-Game]][[Category:Items Sold in {{{3|}}}]]}}{{#switch: {{lc:{{#dplvar:vendorformat}}}} | <onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:VendorPurchase||[[Category:Items Purchable In-Game]][[Category:Items Sold in {{{3|}}}]]}}{{#switch: {{lc:{{#dplvar:vendorformat}}}} | ||
| table=<tr><td>{{RenderLink|{{{1}}}}}</td><td>{{RenderLink|{{{3}}}}}</td><td>{{#if: {{{4|}}}|{{{4}}}}}</td><td>{{#if:{{{2|}}}|{{{2}}}}}</td><td>{{#if: {{{5|}}}{{RenderLink|{{{5}}}}}}}</td></tr> | | table=<tr><td>{{RenderLink|{{{1}}}}}</td><td>{{RenderLink|{{{3}}}}}</td><td>{{#if: {{{4|}}}|{{{4}}}}}</td><td>{{#if:{{{2|}}}|{{{2}}}}}</td><td>{{#if: {{{5|}}}|{{RenderLink|{{{5}}}}}}}</td></tr> | ||
|#default=Purchase {{#if: {{{4|}}}|{{{4}}}}} from {{RenderLink|{{{1}}}}} found in [[{{{3}}}]]{{#if: {{{5|}}}| located in [[{{{5}}}]]}}{{#if:{{{2|}}}| for {{{2}}}.|.}}}}</onlyinclude> | |#default=Purchase {{#if: {{{4|}}}|{{{4}}}}} from {{RenderLink|{{{1}}}}} found in [[{{{3}}}]]{{#if: {{{5|}}}| located in [[{{{5}}}]]}}{{#if:{{{2|}}}| for {{{2}}}.|.}}}}</onlyinclude> |
Revision as of 16:13, 9 March 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 found in Hammer and Chain for 15gp. |
{{VendorPurchase|Jolene Dander||Eveningstar|10}} | Purchase 10 from Jolene Dander found in Eveningstar. |
{{VendorPurchase|Jolene Dander||Liquid Charm|10|House Kundarak}} | Purchase 10 from Jolene Dander found in Liquid Charm located in House Kundarak. |
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.
Purchase from [[{{{1}}}]] found in [[{{{3}}}]].