Difference between revisions of "Template:DragonScalePurchase"

From DDO Compendium
 
(2 intermediate revisions by the same user not shown)
Line 23: Line 23:
|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}}}}}}
|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}}|{{Ingredient|Black Dragon Scale|20}}}}}}


|white={{#dplvar:set|vendorname|Rukts}}{{#dplvar:set|cat|{{#if: {{{2|}}}|Flawless}} White Dragon Scale Items}}{{#dplvar:set|cost|{{#if: {{{2|}}}|{{VendorIngredientList|Flawless White Dragon Scale|20|Restored Dragon Relic|10|Restored Giant Relic|10|Restored Elven Relic|10|Commendation of Heroism|3}}|{{VendorIngredientList|White Dragon Scale|20}}}}}}
|white={{#dplvar:set|vendorname|Rukts}}{{#dplvar:set|cat|{{#if: {{{2|}}}|Flawless}} White Dragon Scale Items}}{{#dplvar:set|cost|{{#if: {{{2|}}}|{{VendorIngredientList|Flawless White Dragon Scale|20|Restored Dragon Relic|10|Restored Giant Relic|10|Restored Elven Relic|10|Commendation of Heroism|3}}|{{Ingredient|White Dragon Scale|20}}}}}}
}}{{#switch: {{lc:{{#dplvar:vendorformat}}}}
}}{{#switch: {{lc:{{#dplvar:vendorformat}}}}
|table=<tr><td>[[{{#dplvar:vendorname}}]]</td><td>[[Gianthold]]</td><td>1</td><td>{{#dplvar:cost}}</td><td></td></tr>
|table=<tr><td>[[{{#dplvar:vendorname}}]]</td><td>[[Gianthold]]</td><td>1</td><td>{{#dplvar:cost}}</td><td></td></tr>
|#default=[[{{#dplvar:vendorname}}]]: Purchase for {{#dplvar:cost}}
|#default=[[{{#dplvar:vendorname}}]]: Purchase for {{#dplvar:cost}}
}}{{#ifeq: {{FULLPAGENAME}} |Template:DragonScalePurchase||[[Category:{{#dplvar:cat}}]]}}{{#dplvar:set|vendorname|}}{{#dplvar:set|cat|}}{{#dplvar:set|cost}}</onlyinclude>
}}{{#ifeq: {{FULLPAGENAME}} |Template:DragonScalePurchase||[[Category:{{#dplvar:cat}}]]}}{{#dplvar:set|seodroplocation|{{#dplvar:seodroplocation}}
* Purchase from {{#dplvar:vendorname}} found in Gianthold}}{{#dplvar:set|vendorname|}}{{#dplvar:set|cat|}}{{#dplvar:set|cost}}</onlyinclude>

Latest revision as of 21:22, 22 December 2024

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 Blue Dragon Scale Icon.png 20x Blue Dragon Scale
{{DragonScalePurchase|Black}}Regnak: Purchase for Black Dragon Scale Icon.png 20x Black Dragon Scale
{{DragonScalePurchase|White}}Rukts: Purchase for White Dragon Scale Icon.png 20x White Dragon Scale
{{DragonScalePurchase|White|True}}Rukts: Purchase for

Usage[edit]

{{DragonScalePurchase|(Color)|(Flawless)}}

Parameter Documentation
ColorWhat color dragonscales
Possible Values:
  • Blue
  • Black
  • White
FlawlessAre 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