Difference between revisions of "Template:RemnantPurchase"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
|example2 = <nowiki>{{RemnantPurchase|10000|+1 Tome of Magical Resistance|True}}</nowiki> | |example2 = <nowiki>{{RemnantPurchase|10000|+1 Tome of Magical Resistance|True}}</nowiki> | ||
|example2output = {{RemnantPurchase|10000|+1 Tome of Magical Resistance|True}} | |example2output = {{RemnantPurchase|10000|+1 Tome of Magical Resistance|True}} | ||
|example3 = <nowiki>{{RemnantPurchase||+1 Tome of Magical Resistance}}</nowiki> | |||
|example3output = {{RemnantPurchase||+1 Tome of Magical Resistance}} | |||
|parameter1name = Cost | |parameter1name = Cost | ||
|parameter1description = This is the number of collectables the item costs | |parameter1description = This is the number of collectables the item costs | ||
Line 14: | Line 16: | ||
|parameter3description = This is set if the item is only in the store for a limited time. | |parameter3description = This is set if the item is only in the store for a limited time. | ||
}} | }} | ||
</noinclude> | </noinclude><onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}} | ||
<onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}} | |table=<tr><td>{{#if: {{{4|}}}|[[Champion Hunter]] Week|[[Monster Hunter]]}} {{#if: {{{2|}}}| {{#if: {{{1|}}|(Upgrade)|(Exchange)}}}}</td><td>[[Hall of Heroes (Eberron)]]</td><td>1</td><td>{{#if: {{{1|}}}|{{VendorIngredientList|Mysterious Remnant|{{{1|}}}}}|Free}}</td><td></td></tr> | ||
|table=<tr><td>{{#if: {{{4|}}}|[[Champion Hunter]] Week|[[Monster Hunter]]}} {{#if: {{{2|}}}| (Upgrade)}}</td><td>[[Hall of Heroes (Eberron)]]</td><td>1</td><td>{{VendorIngredientList|Mysterious Remnant|{{{1|}}}}}</td><td></td></tr> | |#default=[[Monster Hunter]]: {{#if: {{{1|}}}|{{#if: {{{2|}}}|Upgrade from {{RenderLink|{{{2}}}}}|Purchase}} for {{Ingredient|Mysterious Remnant|{{{1|}}}}}|Exchange{{#if: {{{2|}}}| with {{RenderLink|{{{2}}}}}}}}}{{#if: {{{3|}}}|. This is only available during [[Champion Hunter Week]].}}}}{{#ifeq: {{FULLPAGENAME}} |Template:RemnantPurchase||[[Category:Mysterious Remnant Items]]}}</onlyinclude> | ||
|#default=[[Monster Hunter]]: {{#if: {{{2|}}}|Upgrade from {{RenderLink|{{{2}}}}}|Purchase}} for {{Ingredient|Mysterious Remnant|{{{1|}}}}}{{#if: {{{3|}}}|. This is only available during [[Champion Hunter Week]].}} | |||
}}{{#ifeq: {{FULLPAGENAME}} |Template:RemnantPurchase||[[Category:Mysterious Remnant Items]]}}</onlyinclude> |
Latest revision as of 02:04, 23 September 2022
RemnantPurchase[edit]
This template is used on equipment to correctly format where that equipment is received from buying from a collector using a Remnant.
Example Usage | |
{{RemnantPurchase|10000||True}} | Monster Hunter: Purchase for 10,000x Mysterious Remnant. This is only available during Champion Hunter Week. |
{{RemnantPurchase|10000|+1 Tome of Magical Resistance|True}} | Monster Hunter: Upgrade from +1 Tome of Magical Resistance for 10,000x Mysterious Remnant. This is only available during Champion Hunter Week. |
{{RemnantPurchase||+1 Tome of Magical Resistance}} | Monster Hunter: Exchange with +1 Tome of Magical Resistance |
Usage[edit]
{{RemnantPurchase|(Cost)|(Upgrade Item)|(Limited Time)}}
Parameter Documentation | |
Cost | This is the number of collectables the item costs |
Upgrade Item | If this is an upgrade, what it was upgraded from |
Limited Time | This is set if the item is only in the store for a limited time. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Monster Hunter: Exchange