Difference between revisions of "Template:VendorPurchase"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 5: | Line 5: | ||
|example1 = <nowiki>{{VendorPurchase|Kaelpit Dourstroke|15gp|Hammer and Chain}}</nowiki> | |example1 = <nowiki>{{VendorPurchase|Kaelpit Dourstroke|15gp|Hammer and Chain}}</nowiki> | ||
|example1output = {{VendorPurchase|Kaelpit Dourstroke|15gp|Hammer and Chain}} | |example1output = {{VendorPurchase|Kaelpit Dourstroke|15gp|Hammer and Chain}} | ||
|example2 = <nowiki>{{VendorPurchase|Jolene Dander|{{Price|||5|2}}|Eveningstar|10}}</nowiki> | |||
|example2output = {{VendorPurchase|Jolene Dander|{{Price|||5|2}}|Eveningstar|10}} | |||
|parameter1name = Which Vendor | |parameter1name = Which Vendor | ||
|parameter1description = This is the name of the NPC that you would purchase from | |parameter1description = This is the name of the NPC that you would purchase from | ||
|parameter2name = Cost | |parameter2name = Cost | ||
|parameter2description = This is the cost, include the currency in it (i.e. gp, pp, cp) | |parameter2description = This is the cost, include the currency in it (i.e. gp, pp, cp). Use [[Template: Price]] | ||
|parameter3name = Location | |parameter3name = Location | ||
|parameter3description = This is the location the NPC is found | |parameter3description = This is the location the NPC is found | ||
|parameter4name = Amount | |||
|parameter4description = This is the number you get for that price, only use if it is not one | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:VendorPurchase||[[Category:Items Purchable In-Game]]}}Purchase from [[{{{1}}}]] located in [[{{{3}}}]] for {{{2}}}.</onlyinclude> | <onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:VendorPurchase||[[Category:Items Purchable In-Game]]}}Purchase {{#if: {{{4|}}}|{{{4}}}}} from [[{{{1}}}]] located in [[{{{3}}}]] for {{{2}}}.</onlyinclude> |
Revision as of 18:51, 30 June 2019
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|{{Price|||5|2}}|Eveningstar|10}} | Purchase 10 from Jolene Dander located in Eveningstar for 5 ![]() ![]() |
Usage[edit]
{{VendorPurchase|(Which Vendor)|(Cost)|(Location)|(Amount)}}
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 |
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}}}]] for {{{2}}}.