Difference between revisions of "Template:IngotPurchase"
From DDO Compendium
MNDeveloper (talk | contribs) (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...") |
MNDeveloper (talk | contribs) |
||
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]]}}</onlyinclude> |
Revision as of 00:08, 30 March 2022
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 ![]() |
{{IngotPurchase|Silver|True}} | Morten Edgewright: Purchase for ![]() |
{{IngotPurchase|All}} | Morten Edgewright: Purchase for
|
Usage[edit]
{{IngotPurchase|(Ingot)|(Epic)}}
Parameter Documentation | |
Ingot | Which ingot Possible Values:
|
Epic | Is 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]]
|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}}
}}