Difference between revisions of "Template:RaidRunePurchase"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(26 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|example1 = <nowiki>{{RaidRunePurchase|Tempest|1250}}</nowiki> | |example1 = <nowiki>{{RaidRunePurchase|Tempest|1250}}</nowiki> | ||
|example1output = {{RaidRunePurchase|Tempest|1250}} | |example1output = {{RaidRunePurchase|Tempest|1250}} | ||
|example2 = <nowiki>{{RaidRunePurchase| | |example2 = <nowiki>{{RaidRunePurchase|Vault|1250}}</nowiki> | ||
|example2output = {{RaidRunePurchase| | |example2output = {{RaidRunePurchase|Vault|1250}} | ||
|example3 = <nowiki>{{VendorPurchaseTable|{{RaidRunePurchase|Vault|1250}}}}</nowiki> | |||
|example3output = {{VendorPurchaseTable|{{RaidRunePurchase|Vault|1250}}}} | |||
|parameter1name = Which Runes | |parameter1name = Which Runes | ||
|parameter1description = This is the store that it is bought from | |parameter1description = This is the store that it is bought from | ||
Line 12: | Line 14: | ||
* Tempest | * Tempest | ||
* Xorian | * Xorian | ||
* Strahd | * Strahd (Turn in) | ||
* Strahd2 (Double Click) | |||
* Codex1 (Alter of Fecundity) | * Codex1 (Alter of Fecundity) | ||
* Codex2 (Legendary Alter of Devastation) | * Codex2 (Legendary Alter of Devastation) | ||
Line 18: | Line 21: | ||
* Kor Kaza | * Kor Kaza | ||
* Forge | * Forge | ||
* Artificer | |||
* Blades (Turn in) | |||
* Blades2 (Double Click) | |||
* Vision | |||
* Time | |||
* Demigod | |||
* Hunter | |||
* Defiler | |||
* Vault | |||
* Thunderpeak | |||
* Deathwyrm | |||
* Sands | |||
* chrono | |||
* Ceremony | |||
|parameter2name = Cost | |parameter2name = Cost | ||
|parameter2description = This is the amount the item costs | |parameter2description = This is the amount the item costs | ||
|parameter3name = Count | |||
|parameter3description = This is the number of items, the default is 1 | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
| tempest ={{# | | tempest ={{#dplvar:set|vendor|Dagobard Kell|loc|House Jorasco|rune|Tempest Rune|cat|Tempest Rune Turn in Items}} | ||
| | |||
| | | xorian ={{#dplvar:set|vendor|Niara Tonant|loc|The Marketplace Bazaar|rune|Xorian Rune|cat|Xorian Rune Turn in Items|area|The Marketplace}} | ||
| | |||
| | | strahd = {{#dplvar:set|vendor|Rudolph van Richten|loc|Blood on the Vine Tavern|rune|Strahd Rune|cat|Strahd Rune Turn in Items|area|The Land of Barovia}} | ||
| | | strahd2 = {{#dplvar:set|vendor|self|loc|Blood on the Vine Tavern|rune|Strahd Rune|cat|Strahd Rune Turn in Items|area|The Land of Barovia}} | ||
| hut= {{#dplvar:set|vendor|Adrian Martikov|loc|Blue Water Inn|rune|Hut Rune|cat|Hut Rune Turn in Items|area|The Land of Barovia}} | |||
| | |||
| codex1={{#dplvar:set|vendor|Alter of Fecundity|loc||rune|Codex Rune|cat|Codex Rune Turn in Items|area|}} | |||
}}</onlyinclude> | |||
| codex2={{#dplvar:set|vendor|Legendary Altar of Devastation|loc||rune|Codex Rune|cat|Codex Rune Turn in Items|area|}} | |||
| kor kaza ={{#dplvar:set|vendor|Dalwyneth|loc|The Marketplace|rune|Kor Kaza Rune|cat|Kor Kaza Rune Turn in Items|area|}} | |||
| forge ={{#dplvar:set|vendor|self|loc|Alcorin's Forge - Staging Area|rune|Forge Rune|cat|Forge Rune Turn in Items|area|}} | |||
| nemesis ={{#dplvar:set|vendor|self|loc|Alcorin's Forge - Staging Area|rune|Nemesis Rune|cat|Nemesis Rune Turn in Items|area|}} | |||
| artificer ={{#dplvar:set|vendor|self|loc|House Cannith Enclave|rune|Artificer Rune|cat|Artficer Rune Turn in Items|area|}} | |||
| hunter ={{#dplvar:set|vendor|Maes Toben|loc|Court of the Wild Hunt|rune|Hunter Rune|cat|Hunter Rune Turn in Items|area|}} | |||
| blades ={{#dplvar:set|vendor|Kenneth d'Cannith|loc|House Cannith Enclave|rune|Blades Rune|cat|Blades Rune Turn in Items|area|}} | |||
| blades2 ={{#dplvar:set|vendor|self|loc|House Cannith Enclave|rune|Blades Rune|cat|Blades Rune Turn in Items|area|}} | |||
| vision ={{#dplvar:set|vendor|self|loc|The Marketplace Bazaar|rune|Vision Rune|cat|Vision Rune Turn in Items|area|The Marketplace}} | |||
| time ={{#dplvar:set|vendor|self|loc|The Marketplace|rune|Time Rune|cat|Time Rune Turn in Items|area|}} | |||
| demigod ={{#dplvar:set|vendor|self|loc||rune|Demigod Rune|cat|Demigod Rune Turn in Items|area|}} | |||
| defiler ={{#dplvar:set|vendor|Melene|loc|Amrath|rune|Defiler Rune|cat|Defiler Rune Turn in Items|area|}} | |||
| vault ={{#dplvar:set|vendor|self|loc||rune|Vault Rune|cat|Vault Rune Turn in Items|area|}} | |||
| thunderpeak ={{#dplvar:set|vendor|self|loc||rune|Thunderpeaks Rune|cat|Thunderpeaks Rune Turn in Items|area|}} | |||
| deathwyrm ={{#dplvar:set|vendor|self|loc||rune|Deathwyrm Rune|cat|Deathwyrm Rune Turn in Items|area|}} | |||
| sands ={{#dplvar:set|vendor|self|loc||rune|Sands Rune|cat|Sands Rune Turn in Items|area|}} | |||
| dread ={{#dplvar:set|vendor|self|loc||rune|Dread Rune|cat|Dread Rune Turn in Items|area|}} | |||
| ceremony ={{#dplvar:set|vendor|self|loc||rune|Ceremony Rune|cat|Ceremony Rune Turn in Items|area|}} | |||
| chrono ={{#dplvar:set|vendor|self|loc||rune|Chronoscope Rune|cat|Chronoscope Rune Turn in Items|area|}} | |||
| #default={{#dplvar:set|vendor||loc||rune||cat|Invalid Rune Types|area|}} | |||
}}{{#switch: {{lc:{{#dplvar:vendorformat}}}} | |||
|table=<tr><td>{{#ifeq: {{#dplvar:vendor}}|self|Double-Click|{{RenderLink|{{#dplvar:vendor}}}}}}</td><td>{{#if: {{#dplvar:loc|}}|{{RenderLink|{{#dplvar:loc}}}}}}</td><td>{{#if: {{{3|}}}|{{{3}}}|1}}</td><td style="white-space:nowrap">{{VendorIngredientList|{{#dplvar:rune}}|{{{2}}}}}</td><td>{{#if: {{#dplvar:area|}}|{{RenderLink|{{#dplvar:area}}}}}}</td></tr> | |||
|#default={{#ifeq: {{#dplvar:vendor}}|self|Double-Click|{{RenderLink|{{#dplvar:vendor}}}}}}, Purchase {{#if: {{{3|}}}|{{{3}}}}} for {{Ingredient|{{#dplvar:rune}}|{{{2}}}}} | |||
}}{{#ifeq: {{FULLPAGENAME}} |Template:RaidRunePurchase||[[Category:{{#dplvar:cat}}]]}}{{#dplvar:set|vendor||loc||rune||cat||area|}} | |||
</onlyinclude> |
Latest revision as of 02:00, 20 September 2023
RaidRunePurchase[edit]
This template is used on equipment to correctly format where that equipment is received from turning in Raid Runes
Example Usage | |
{{RaidRunePurchase|Tempest|1250}} | Dagobard Kell, Purchase for 1,250x Tempest Rune |
{{RaidRunePurchase|Vault|1250}} | Double-Click, Purchase for 1,250x Vault Rune |
{{VendorPurchaseTable|{{RaidRunePurchase|Vault|1250}}}} |
Usage[edit]
{{RaidRunePurchase|(Which Runes)|(Cost)|(Count)}}
Parameter Documentation | |
Which Runes | This is the store that it is bought from Possible Values:
|
Cost | This is the amount the item costs |
Count | This is the number of items, the default is 1 |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[]], Purchase for {{{2}}}x [[]]