Difference between revisions of "Template:IngotPurchase"

From DDO Compendium
(Created page with "<noinclude>{{TemplateDocumentation |name = IngotPurchase |description = This template is used on equipment to correctly format where that equipment is received from buying an item with ingots from Borderlands. |category = DropLocation Templates |example1 = <nowiki>{{IngotPurchase|Silver}}</nowiki> |example1output = {{IngotPurchase|Silver}} |example2 = <nowiki>{{IngotPurchase|Silver|True}}</nowiki> |example2output = {{IngotPurchase|Silver|True}} |example3 = <nowiki>{{Ingo...")
 
 
(2 intermediate revisions by the same user not shown)
Line 20: Line 20:
}}
}}
</noinclude><onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}}
</noinclude><onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}}
|table=<tr><td>[[Morten Edgewright]]</td><td>[[The Keep on the Borderlands]]</td><td>1</td><td>1</td><td>{{#ifeq: {{lc:{{{1|}}}}}|all|{{VendorIngredientList|Arcane Ingot|1|Ethereal Ingot|1|Silver Ingot|1|}}|{{VendorIngredientList|{{#if: {{{2|}}}|Epic}} {{{1}}} Ingot}}}}</td></tr>
|table=<tr><td>[[Morten Edgewright]]</td><td>[[The Keep on the Borderlands]]</td><td>1</td><td>1</td><td style="white-space:nowrap">{{#ifeq: {{lc:{{{1|}}}}}|all|{{VendorIngredientList|Arcane Ingot|1|Ethereal Ingot|1|Silver Ingot|1|}}|{{VendorIngredientList|{{#if: {{{2|}}}|Epic}} {{{1}}} Ingot}}}}</td></tr>
|#default=[[Morten Edgewright]]: Purchase for {{#ifeq: {{lc:{{{1|}}}}}|all|{{VendorIngredientList|Arcane Ingot|1|Ethereal Ingot|1|Silver Ingot|1|}}|{{Ingredient|{{#if: {{{2|}}}|Epic}} {{{1}}} Ingot}}}}
|#default=[[Morten Edgewright]]: Purchase for {{#ifeq: {{lc:{{{1|}}}}}|all|{{VendorIngredientList|Arcane Ingot|1|Ethereal Ingot|1|Silver Ingot|1|}}|{{Ingredient|{{#if: {{{2|}}}|Epic}} {{{1}}} Ingot}}}}
}}{{#ifeq: {{FULLPAGENAME}} |Template:IngotPurchase||[[Category:Borderlands Purchasable Weapons]]}}</onlyinclude>
}}{{#ifeq: {{FULLPAGENAME}} |Template:IngotPurchase||[[Category:Borderlands Purchasable Weapons]]}}{{#dplvar:set|seodroplocation|{{#dplvar:seodroplocation}}
 
* Purchase from Morten Edgewright in The Keep on the Borderlands}}</onlyinclude>
 
<nowiki>
|quaal = Purchase from [[Quaal of Vesve]] in the Keep on the Borderlands for {{#switch: {{lc:{{{3}}}}}
| mount = {{Ingredient|Quaal Feather Token|15}}
| upgrade = {{Ingredient|Enchanted Horseshoe}}
}}
</nowiki>

Latest revision as of 03:30, 23 December 2024

IngotPurchase[edit]

This template is used on equipment to correctly format where that equipment is received from buying an item with ingots from Borderlands.

Example Usage
{{IngotPurchase|Silver}}Morten Edgewright: Purchase for Silver Ingot Icon.png 1x Silver Ingot
{{IngotPurchase|Silver|True}}Morten Edgewright: Purchase for Silver Ingot Icon.png 1x Epic Silver Ingot
{{IngotPurchase|All}}Morten Edgewright: Purchase for

Usage[edit]

{{IngotPurchase|(Ingot)|(Epic)}}

Parameter Documentation
IngotWhich ingot
Possible Values:
  • Silver
  • Ethereal
  • Arcane
  • All
EpicIs this the epic version

Template

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


Morten Edgewright: Purchase for 1x [[ {{{1}}} Ingot]]