Difference between revisions of "Template:RelicPurchase"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 24: | Line 24: | ||
}}{{#switch: {{lc:{{#dplvar:vendorformat}}}} | }}{{#switch: {{lc:{{#dplvar:vendorformat}}}} | ||
|table=<tr><td>[[{{#dplvar:vendorname}}]]</td><td>[[Gianthold]]</td><td>1</td><td>{{VendorIngredientList|{{#dplvar:itemname}}|{{{2}}}}}</td><td></td></tr> | |table=<tr><td>[[{{#dplvar:vendorname}}]]</td><td>[[Gianthold]]</td><td>1</td><td>{{VendorIngredientList|{{#dplvar:itemname}}|{{{2}}}}}</td><td></td></tr> | ||
|#default=[[{{#dplvar:vendorname}}]]: Turn in {{ | |#default=[[{{#dplvar:vendorname}}]]: Turn in {{Ingredient|{{#dplvar:itemname}}|{{{2|}}}}} | ||
}}{{#ifeq: {{FULLPAGENAME}} |Template:RelicPurchase||[[Category:{{#dplvar:cat}}]]}}{{#dplvar:set|itemname|}}{{#dplvar:set|cat|}}{{#dplvar:set|vendorname|}}</onlyinclude> | }}{{#ifeq: {{FULLPAGENAME}} |Template:RelicPurchase||[[Category:{{#dplvar:cat}}]]}}{{#dplvar:set|itemname|}}{{#dplvar:set|cat|}}{{#dplvar:set|vendorname|}}</onlyinclude> |
Revision as of 11:11, 1 April 2022
RelicPurchase[edit]
This template is used on equipment to correctly format where that equipment is received from buying from a collector using any of the Gianthold Relics.
Example Usage | |
{{RelicPurchase|Elven|15}} | Hoorunoe: Turn in ![]() |
{{RelicPurchase|Dragon|15|true}} | Sangefar: Turn in ![]() |
Usage[edit]
{{RelicPurchase|(Type)|(Cost)|(Restored?)}}
Parameter Documentation | |
Type | Which relic is used: Possible Values:
|
Cost | How many Relics are needed |
Restored? | Are they restored relics? |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[]]: Turn in 1x [[]]