Difference between revisions of "Template:DragonScalePurchase"
From DDO Compendium
MNDeveloper (talk | contribs) (Created page with "<noinclude>{{TemplateDocumentation |name = DragonScalePurchase |description = This template is used on equipment to correctly format where that equipment is received from buying an item with dragon scales. |category = DropLocation Templates |example1 = <nowiki>{{DragonScalePurchase|Blue}}</nowiki> |example1output = {{DragonScalePurchase|Blue}} |example2 = <nowiki>{{DragonScalePurchase|Black}}</nowiki> |example2output = {{DragonScalePurchase|Black}} |example3 = <nowiki>{{...") |
MNDeveloper (talk | contribs) |
||
Line 21: | Line 21: | ||
}} | }} | ||
</noinclude><onlyinclude>{{#switch: {{lc:{{{1|}}}}} | </noinclude><onlyinclude>{{#switch: {{lc:{{{1|}}}}} | ||
|blue={{#dplvar:set|vendorname|Armec Orem}}{{#dplvar:set|cat|{{#if: {{{2|}}}|Flawless}} Blue Dragon Scale Items}}{{#dplvar:set|cost|{{#if: {{{2|}}}|{{VendorIngredientList|Flawless Blue Dragon Scale|20|Restored Dragon Relic|10|Restored Giant Relic|10|Restored Elven Relic|10|Commendation of Heroism|3}}|{{ | |blue={{#dplvar:set|vendorname|Armec Orem}}{{#dplvar:set|cat|{{#if: {{{2|}}}|Flawless}} Blue Dragon Scale Items}}{{#dplvar:set|cost|{{#if: {{{2|}}}|{{VendorIngredientList|Flawless Blue Dragon Scale|20|Restored Dragon Relic|10|Restored Giant Relic|10|Restored Elven Relic|10|Commendation of Heroism|3}}|{{Ingredient|Blue Dragon Scale|20}}}}}} | ||
|black={{#dplvar:set|vendorname|Regnak}}{{#dplvar:set|cat|{{#if: {{{2|}}}|Flawless}} Black Dragon Scale Items}}{{#dplvar:set|cost|{{#if: {{{2|}}}|{{VendorIngredientList|Flawless Black Dragon Scale|20|Restored Dragon Relic|10|Restored Giant Relic|10|Restored Elven Relic|10|Commendation of Heroism|3}}|{{VendorIngredientList|Black Dragon Scale|20}}}}}} | |black={{#dplvar:set|vendorname|Regnak}}{{#dplvar:set|cat|{{#if: {{{2|}}}|Flawless}} Black Dragon Scale Items}}{{#dplvar:set|cost|{{#if: {{{2|}}}|{{VendorIngredientList|Flawless Black Dragon Scale|20|Restored Dragon Relic|10|Restored Giant Relic|10|Restored Elven Relic|10|Commendation of Heroism|3}}|{{VendorIngredientList|Black Dragon Scale|20}}}}}} |
Revision as of 21:03, 29 March 2022
DragonScalePurchase[edit]
This template is used on equipment to correctly format where that equipment is received from buying an item with dragon scales.
Example Usage | |
{{DragonScalePurchase|Blue}} | Armec Orem: Purchase for ![]() |
{{DragonScalePurchase|Black}} | Regnak: Purchase for |
{{DragonScalePurchase|White}} | Rukts: Purchase for
![]() |
{{DragonScalePurchase|White|True}} | Rukts: Purchase for
![]() ![]() ![]() ![]() ![]() |
Usage[edit]
{{DragonScalePurchase|(Color)|(Flawless)}}
Parameter Documentation | |
Color | What color dragonscales Possible Values:
|
Flawless | Are these flawless dragonscales |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[]]: Purchase for