Difference between revisions of "Template:VendorSaleMultipleCost"

From DDO Compendium
Line 7: Line 7:
|example2 = <nowiki>{{VendorSaleMultipleCost|Silver Flame Lesser Healing Potion||{{Price|10}}}}</nowiki>
|example2 = <nowiki>{{VendorSaleMultipleCost|Silver Flame Lesser Healing Potion||{{Price|10}}}}</nowiki>
|example2output = {{VendorSaleMultipleCost|Silver Flame Lesser Healing Potion||{{Price|10}}}}
|example2output = {{VendorSaleMultipleCost|Silver Flame Lesser Healing Potion||{{Price|10}}}}
|example3=<nowiki>{{VendorSaleTable|{{VendorSaleMultipleCost|Oil of Serious Repair|10|{{VendorIngredientList|Crystallized Magma Shard|150}}|{{VendorIngredientList|Jeweled Goblet|150}}|{{VendorIngredientList|Orthon Metal Scrap|150}}|{{VendorIngredientList|Arcanaloth Scroll|150}}}}}}</nowiki>
|example3output={{VendorSaleTable|{{VendorSaleMultipleCost|Oil of Serious Repair|10|{{VendorIngredientList|Crystallized Magma Shard|150}}|{{VendorIngredientList|Jeweled Goblet|150}}|{{VendorIngredientList|Orthon Metal Scrap|150}}|{{VendorIngredientList|Arcanaloth Scroll|150}}}}}}
|parameter1name = Item
|parameter1name = Item
|parameter1description = This is the item that is being sold
|parameter1description = This is the item that is being sold

Revision as of 20:21, 22 May 2022

VendorSaleMultipleCost[edit]

This template is used on equipment to correctly format what a vendor is selling, when you can buy stuff with different prices

Example Usage
{{VendorSaleMultipleCost|+1 Ghost Touch Silver Flame Arrow|100|{{Price|10}}}}* 100 +1 Ghost Touch Silver Flame Arrow - 10 Platinum
{{VendorSaleMultipleCost|Silver Flame Lesser Healing Potion||{{Price|10}}}}*  Silver Flame Lesser Healing Potion - 10 Platinum
{{VendorSaleTable|{{VendorSaleMultipleCost|Oil of Serious Repair|10|{{VendorIngredientList|Crystallized Magma Shard|150}}|{{VendorIngredientList|Jeweled Goblet|150}}|{{VendorIngredientList|Orthon Metal Scrap|150}}|{{VendorIngredientList|Arcanaloth Scroll|150}}}}}}

Usage[edit]

{{VendorSaleMultipleCost|(Item)|(Amount)|(Cost)}}

Parameter Documentation
ItemThis is the item that is being sold
AmountThis is the number you get for that price, only use if it is not one
CostThis is the cost, include the currency in it (i.e. gp, pp, cp). Use Template: Price, this can be repeated 10 times, to get multiple rows with different costs

Template

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


[[{{{1}}}]]1