Difference between revisions of "Template:VendorPurchase"

From DDO Compendium
Line 25: Line 25:
|#default={{#bootstrap_popover:Purchase from {{RenderLink|{{{1}}}}}| text= {{#if: {{{4|}}}|Stack Size: {{{4}}}}}, Found in: [[{{{3}}}]]{{#if: {{{5|}}}|Located in: [[{{{5}}}]]}}{{#if:{{{2|}}}|Cost: {{{2}}}}}}} | heading="Details"|placement=bottom}}
|#default={{#bootstrap_popover:Purchase from {{RenderLink|{{{1}}}}}| text= {{#if: {{{4|}}}|Stack Size: {{{4}}}}}, Found in: [[{{{3}}}]]{{#if: {{{5|}}}|Located in: [[{{{5}}}]]}}{{#if:{{{2|}}}|Cost: {{{2}}}}}}} | heading="Details"|placement=bottom}}


<bootstrap_popover heading="Details" text="{{#if: {{{4|}}}|Stack Size: {{{4}}}}}, Found in: [[{{{3}}}]]{{#if: {{{5|}}}|Located in: [[{{{5}}}]]}}{{#if:{{{2|}}}|Cost: {{{2}}}}}}}!">Purchase from {{RenderLink|{{{1}}}}}</bootstrap_popover></onlyinclude>
<bootstrap_popover heading="Details" text="Purchase from {{RenderLink|{{{1}}}}}">{{#if: {{{4|}}}|Stack Size: {{{4}}}}}, Found in: [[{{{3}}}]]{{#if: {{{5|}}}|Located in: [[{{{5}}}]]}}{{#if:{{{2|}}}|Cost: {{{2}}}}}}}!</bootstrap_popover></onlyinclude>

Revision as of 18:10, 12 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}}{{#bootstrap_popover:Purchase from Kaelpit Dourstroke| text= , Found in: Hammer and ChainCost: 15gp}}
{{VendorPurchase|Jolene Dander||Eveningstar|10}}{{#bootstrap_popover:Purchase from Jolene Dander| text= Stack Size: 10, Found in: Eveningstar}}
{{VendorPurchase|Jolene Dander||Liquid Charm|10|House Kundarak}}{{#bootstrap_popover:Purchase from Jolene Dander| text= Stack Size: 10, Found in: Liquid CharmLocated in: House Kundarak}}

Usage[edit]

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

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
AreaThis 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.


{{#bootstrap_popover:Purchase from [[{{{1}}}]]| text= , Found in: [[{{{3}}}]]}}