EventBox: Difference between revisions
From Dragon Mania Legends (DML) Wiki
CrystalClear (talk | contribs) (Nope, just needed for sigil campaign and movie marathon, the rest have a top notice I forgot about XD.) |
CrystalClear (talk | contribs) (K, as the leaderboard template will have "of the highest (modifier) level" now, that part should be gone from top text of those that have it. Also fixed some old stuff being mixed full amount vs modifier amount (as stated, strange) which would render the text incorrect.) |
||
Line 150: | Line 150: | ||
<!---------- remarks (highest bracket / League / {mult} = double rewards ------------ | <!---------- remarks (highest bracket / League / {mult} = double rewards ------------ | ||
-->{{#iferror:{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|7 April 2015}}|{{#switch:{{EventTypeFromName | {{{type|{{#explode:{{PAGENAME}}|(|0}} }}} }}|Feeding|Food Gathering|Gem Spending|Gold Collecting|Gold Spending|Hatching=<p style="{{EventBox/BackgroundColor|{{{type|}}}}}; border:1px; padding-left: 5px; padding-right: 5px; border-style:solid; border-color:#969696; color:#FFFFFF; -webkit-border-radius: 0px 25px 0px 0px; | -->{{#iferror:{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|7 April 2015}}|{{#switch:{{EventTypeFromName | {{{type|{{#explode:{{PAGENAME}}|(|0}} }}} }}|Feeding|Food Gathering|Gem Spending|Gold Collecting|Gold Spending|Hatching=<p style="{{EventBox/BackgroundColor|{{{type|}}}}}; border:1px; padding-left: 5px; padding-right: 5px; border-style:solid; border-color:#969696; color:#FFFFFF; -webkit-border-radius: 0px 25px 0px 0px; | ||
-moz-border-radius: 0px 25px 0px 0px; border-radius: 0px 25px 0px 0px;">''The requirements stated in this article are that of the '''[[:Category:Events|{{color|FFF|highest-level brackets}}]]''' while the | -moz-border-radius: 0px 25px 0px 0px; border-radius: 0px 25px 0px 0px;">''The requirements stated in this article are that of the '''[[:Category:Events|{{color|FFF|highest-level brackets}}]]''' while the milestone rewards belong to the '''[[Level Modifier|{{color|FFF|highest level modifier}}]]'''.''</p>}}}}}}{{#if:{{{text|}}}||{{#switch:{{#explode:{{PAGENAME}}|(|0}}<!-- | ||
-->|The Great Dragon Race|Emerald Wars|Sugar Rush={{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|4 July 2018}}|<p style="{{EventBox/BackgroundColor|{{{type|}}}}}; border:1px; padding-left: 5px; padding-right: 5px; border-style:solid; border-color:#969696; color:#FFFFFF">''The requirements, milestone rewards, and [[Clan Coins|{{color|FFF|Clan Coin}}]] rewards stated in this article are that of [[Clans#Leagues|{{color|FFF|Clan League 5}}]], while the [[Food|{{color|FFF|Food}}]] and [[Gold|{{color|FFF|Gold}}]] rewards belong to the [[Level Modifier|{{color|FFF|highest level modifier}}]].{{#if:{{{mult|}}}|<br>The rewards for this particular event were doubled.}}''</p><!-- | -->|The Great Dragon Race|Emerald Wars|Sugar Rush={{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|4 July 2018}}|<p style="{{EventBox/BackgroundColor|{{{type|}}}}}; border:1px; padding-left: 5px; padding-right: 5px; border-style:solid; border-color:#969696; color:#FFFFFF">''The requirements, milestone rewards, and [[Clan Coins|{{color|FFF|Clan Coin}}]] rewards stated in this article are that of [[Clans#Leagues|{{color|FFF|Clan League 5}}]], while the [[Food|{{color|FFF|Food}}]] and [[Gold|{{color|FFF|Gold}}]] rewards belong to the [[Level Modifier|{{color|FFF|highest level modifier}}]].{{#if:{{{mult|}}}|<br>The rewards for this particular event were doubled.}}''</p><!-- | ||
-- before 4th July 18 -->|{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|4 July 2017}}|<p style="{{EventBox/BackgroundColor|{{{type|}}}}}; border:1px; padding-left: 5px; padding-right: 5px; border-style:solid; border-color:#969696; color:#FFFFFF">''The requirements, milestone rewards and [[Clan Coins|{{color|FFF|Clan Coin}}]] rewards stated in this article are that of [[Clans#Leagues|{{color|FFF|Clan League 4}}]], the highest league open at the time of this event, while the [[Food|{{color|FFF|Food}}]] and [[Gold|{{color|FFF|Gold}}]] rewards belong to the [[Level Modifier|{{color|FFF|highest level modifier}}]].''</p>}}}}<!-- | -- before 4th July 18 -->|{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|4 July 2017}}|<p style="{{EventBox/BackgroundColor|{{{type|}}}}}; border:1px; padding-left: 5px; padding-right: 5px; border-style:solid; border-color:#969696; color:#FFFFFF">''The requirements, milestone rewards and [[Clan Coins|{{color|FFF|Clan Coin}}]] rewards stated in this article are that of [[Clans#Leagues|{{color|FFF|Clan League 4}}]], the highest league open at the time of this event, while the [[Food|{{color|FFF|Food}}]] and [[Gold|{{color|FFF|Gold}}]] rewards belong to the [[Level Modifier|{{color|FFF|highest level modifier}}]].''</p>}}}}<!-- | ||
Line 401: | Line 401: | ||
{{#ifeq:{{{table|}}}|1|<!-- no table ---> | {{#ifeq:{{{table|}}}|1|<!-- no table ---> | ||
|<h2>Sigil Contest</h2> | |<h2>Sigil Contest</h2> | ||
{{#lst:Category:Sigil Campaign Events|contest}} | {{#lst:Category:Sigil Campaign Events|contest}}<br> | ||
<br> | |||
{{Leaderboard | {{Leaderboard | ||
| 1 | {{i|Premium Sigil Chest|i|40}} x5 | | 1 | {{i|Premium Sigil Chest|i|40}} x5 | ||
Line 461: | Line 460: | ||
{{!}}- | {{!}}- | ||
!Lap 2 | !Lap 2 | ||
{{!}}{{#if:{{{ticket|}}}|{{i|{{{ticketType|Divine}}} Ticket {{#ifeq:{{#sub:{{{ticket|}}}|0|1}}|(||- }}{{{ticket|}}}|i|25}} {{{specific|15}}}|{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|10 May 2019}}|{{i|Food}} 100,000|{{i|Gold}} | {{!}}{{#if:{{{ticket|}}}|{{i|{{{ticketType|Divine}}} Ticket {{#ifeq:{{#sub:{{{ticket|}}}|0|1}}|(||- }}{{{ticket|}}}|i|25}} {{{specific|15}}}|{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|10 May 2019}}|{{i|Food}} 100,000|{{i|Gold}} 300,000)}}}} | ||
{{!}}- | {{!}}- | ||
!Lap 3 | !Lap 3 | ||
{{!}}{{#if:{{{ticket|}}}|{{i|{{{ticketType|Divine}}} Ticket {{#ifeq:{{#sub:{{{ticket|}}}|0|1}}|(||- }}{{{ticket|}}}|i|25}} {{{specific|15}}}|{{#iferror:{{#ifexpr:{{#time:U|{{getDate}}}} < {{#time:U|20 September 2018}}|{{i|Food}} | {{!}}{{#if:{{{ticket|}}}|{{i|{{{ticketType|Divine}}} Ticket {{#ifeq:{{#sub:{{{ticket|}}}|0|1}}|(||- }}{{{ticket|}}}|i|25}} {{{specific|15}}}|{{#iferror:{{#ifexpr:{{#time:U|{{getDate}}}} < {{#time:U|20 September 2018}}|{{i|Food}} 30,000|{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|10 May 2019}}|[[File:Dragon Fury Essence Bottles.png|25px|link=Dragon Fury#Dragon Fury Essence]] 3|{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|28 February 2019}}|{{i|Food}} 75,000|[[File:Habitat Limit Extender.png|25px|link=Category:Habitats#Habitat Types]] 1}}}}}}}}}} | ||
{{!}}- | {{!}}- | ||
!Lap 4 | !Lap 4 | ||
Line 735: | Line 734: | ||
{{!}}{{#switch:{{{type|{{#explode:{{PAGENAME}}|(|0}} }}}|Gem Spending={{i|Dragon Egg|i|22}} [[{{{dragon}}} Dragon]]|Gold Collecting|Hatching|Feeding|Food Gathering|Crowded Nursery|Golden Gatherer|Dinnertime!|Farming Fanatic={{i|Gems}} 5}} | {{!}}{{#switch:{{{type|{{#explode:{{PAGENAME}}|(|0}} }}}|Gem Spending={{i|Dragon Egg|i|22}} [[{{{dragon}}} Dragon]]|Gold Collecting|Hatching|Feeding|Food Gathering|Crowded Nursery|Golden Gatherer|Dinnertime!|Farming Fanatic={{i|Gems}} 5}} | ||
{{!}}}{{#ifeq:{{{table|}}}|2||<h2>Leaderboard Prizes</h2> | {{!}}}{{#ifeq:{{{table|}}}|2||<h2>Leaderboard Prizes</h2> | ||
{{ModifierText}} | |||
{{{!}}class{{=}}"wikitable" | {{{!}}class{{=}}"wikitable" | ||
!Position | !Position | ||
Line 961: | Line 961: | ||
<!---- | <!---- | ||
{{EventBox|type=Emerald Wars}} | {{EventBox|type=Emerald Wars}} | ||
<!---- | <!---- | ||
{{EventBox|type=Feeding|prize=Wind}} | {{EventBox|type=Feeding|prize=Wind}} | ||
<!---- | <!---- | ||
Line 971: | Line 971: | ||
<!---- | <!---- | ||
{{EventBox|type=Gold Spending|prize=Shadow}} | {{EventBox|type=Gold Spending|prize=Shadow}} | ||
<!---- | <!---- | ||
{{EventBox|type=Hatching|prize=Fire|badge=Matchmaker|note=This is the default event.}} | {{EventBox|type=Hatching|prize=Fire|badge=Matchmaker|note=This is the default event.}} | ||
<!---- | <!---- | ||
Line 979: | Line 979: | ||
<!---- | <!---- | ||
{{EventBox|type=Movie Marathon|table=|specific=}} | {{EventBox|type=Movie Marathon|table=|specific=}} | ||
<!---- | <!----> | ||
{{EventBox|type=Relay|prize=Seahorse}} | {{EventBox|type=Relay|prize=Seahorse}} | ||
<!---- | <!---- |
Revision as of 15:19, 26 April 2024
|
Relay Events are limited-time competitions in which each Trainer participates individually. These events follow a single path made from a series of tiles, each containing a different, restrictive battle.
Mechanics
The main reward is earned by beating a series of Boss-like Dragons. 1 Gem is given for defeating the first Boss of a lap, 2 Gems for defeating the second, 3 Gems for the third, and 4 Gems for the fourth. Regular Dragons appear between bosses, and when defeated award smaller rewards such as Food, Scrolls, or Gold, based on Level Modifier. Enemy Dragons, apart from the Boss-like Dragons, are usually random, thus not all Trainers face the same Dragons. The levels of all opposing Dragons are in relation to the levels of the Trainer's own Dragons at the moment the Boss Challenge started.
Element Restrictions
The Elements used in Boss Battles are gradually restricted, with all Elements allowed for the first battles. Defeating a Boss-like Dragon reduces the allowed Elements by 1 random Element, making the restrictions more severe after each Dragon. A maximum of 6 are restricted in the hardest battles, leaving only the highest 4 Elements allowed in all battles. The remaining 2 Elements are random, and change each time a Boss Battle is won. Element restrictions can be refreshed, but a waiting period is required before the next fight is started, and it only lasts until the next Boss is defeated. Every battle also requires a cooldown period before the next battle is started, though any waiting period may be skipped using Gems.
Laps
When a lap is finished, a reward is given and the map resets with a new set of battles. The main prize Dragon is awarded once the 4th lap is complete. Any subsequent lap after the fourth offers a repeatable reward consisting of 10 Dragon Piece Tickets. Laps are usually unlimited with infinite rounds.
Rewards
The amount of Food and Gold awarded depends on Trainer Level, provided numbers are of the highest Level Modifier. See Level Modifier for more information.
Tier | Reward |
---|---|
Lap 1 | 1,000,000 |
Lap 2 | 100,000 |
Lap 3 | 3 |
Lap 4 | Seahorse Dragon |
Lap 5+ | 10 |
Template documentation |
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this template's documentation. (About template documentation) |
Notes:
- To convert scalable Food or Gold by Level Modifier use:
{{modifier|5,000}}
.
Example(s)
{{EventBox|type=Gem Spending|prize=Earth|dragon=Plant}}
gives:
|
The requirements stated in this article are that of the highest-level brackets while the milestone rewards belong to the highest level modifier.
Gem Spending Events are limited-time competitions in which Trainers compete against each other, reach individual milestones, and move up on the leaderboard by spending Gems on any game feature.
Mechanics
Each one Gem spent is equal to one point, regardless of what it is spent on.
Qualifiers
These events are always exclusive to Trainers with an active VIP Status. Trainers must select the Participate! button to begin, any Gems spent before this are not counted.
Progress Rewards
250 | 750 | 1,700 | ||||||||||||
|
|
|
Leaderboard Prizes
The amount of Food or Gold awarded depends on Trainer Level, provided numbers are of the highest Level Modifier. See Level Modifier for more information.
1-5 | Earth Dragon |
---|---|
6-10 | 150 750,000 2,250,000 |
11-20 | 75 375,000 1,125,000 |
21-100 | 20 150,000 525,500 |
101-250 | 10 37,500 300,000 |
251-500 | 3 15,000 |
501-2000 | 1 |
Test(s)
{{EventBox|type=Hatching|prize=Fire|badge=Matchmaker|note=This is the default event.}}
{{EventBox|ended=28 September 2018|duration=7 Days|type=Hatching|prize=Heavenly|exclusive={{wp|China}}|occasion={{wp|Mid-Autumn Festival}}}}
{{EventBox|type=Feeding|prize=Wind}}
{{EventBox|type=Gold Collecting|prize=Shadow}}
{{EventBox|type=Food Gathering|prize=Light}}
{{EventBox|type=Clan Siege}}
{{EventBox|type=The Great Dragon Race|mult=2}}
{{EventBox|type=Emerald Wars}}
{{EventBox|type=Relay|specific=17|prize=Seahorse|ticket= (Fire)|ticketType=Ancient}}
{{EventBox|type=Chain Breeding}}
{{EventBox|type=Dragon Dice|reward=<center>{{di|Capricorn}}{{rt|Note|Double Dice Reward}}<br>{{di|Envoy}}</center>|duration=35 Days}}
{{EventBox|type = Milestone Rewards| started = 3 August 2020| duration = 34 Days| prize = Fairy Dust}}
{{EventBox|type=Chest Opening| started = 4 April 2022|duration = 14 Days|prize=River|text=This event took place during the [[Divine Fest - Springtime Passions]] Divine event series - Part I. |icons=Holy Talisman (Springtime Passions), Dragon Pieces, Divine (Element)|image=Divine Chest - Spring's Renewal (Divine Fest)}}
{{EventBox|type=Cake Craze|prize=Cheesecake}}
{{EventBox|type=Sigil Campaign|prize=Dreamcatcher|table=|duration=30 Days}}
{{EventBox|type=Movie Marathon|table=|specific=}}
{{EventBox|type=Dragon Grid|duration=7 Days}}
{{EventBox|type=Bottomless Dungeon|prize=Fifth}}
{{EventBox|type=Bottomless Dungeon|prize=Fifth|dungeonoffer=Quartern,Sixth|note=Catchup Dungeon}}
{{EventBox|type=Bottomless Dungeon|prize=Fifth|dragon=Ladybug,Sixth|icons=Ancient Ticket (Fire), Ancient (Element)}}
This template is used for all Events taking place. It's quite extensive to satisfy every event type. More extensive documentation can be found on the Talk page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
(date) started | started | Start date. If omitted, date is generated from page title. Required when an event starts earlier than expected, particularly if hours ahead, in which case hours are added.
| Date | optional |
(Override) ended | ended | Required for early endings, or lacks auto-calculated end date. Used by the Main Page events slider to correctly calculate when to drop events out of slider.
| String | optional |
duration | duration | Number of days the event took place for. The "ended" date is calculated by either the type, or using duration.
| String | optional |
(Event) type | type | Event type if not auto-generated from page title. Choose from an existing event category.
| String | optional |
(Dragon) prize | prize | Add the Dragon name, omitting the word "Dragon". Used only for the prize dragon awarded for completing the event. If no prize should be displayed, specify the {specific=Prize} parameter.
| String | optional |
(Event type) vip | vip | Enter "VIP" if this event was only available with active VIP status.
| String | optional |
(Leaderboard) generic | generic | Compare the generated Leaderboard with actual event leaderboard. There are several generics for the majority of regular events (this param sets them). Some events have their own generic leaderboard (such as Hatching, Gem Spending Events and Clan Events). Other events typically use a particular generic leaderboard: VIP = 1. Gold Collecting/Spending = 2. VIP Food Gathering = 3. Hatching with Dragon as main prize = 4. Feeding/Food Gathering = 5.
| Number | optional |
(Name of) badge | badge | Displays the badge obtained within an event. Add the badge name omitting the word "Badge". | String | optional |
(Additional) badge2 | badge2 | Enter the badge name omitting the word "Badge". | String | optional |
(Required dragon) hero | hero | Indicates the Hero Dragon required to participate in Hero's Challenge. Add the name omitting the word "Dragon".
| String | optional |
(soon to be retired) dragon | dragon | Used ONLY for dragon given for final Gem Spending milestone, or the Dungeon Shop Dragon. As with prize, add the dragon name omitting "Dragon".
| String | optional |
(Dragon) dungeonoffer | dungeonoffer | Used ONLY for Dungeon Shop dragons (can be a comma separated list, omitting "Dragon").
| String | optional |
section | section | Used to indicate the total days (Calendar), levels (Castle) or tiers (Solo) an event has.
| Number | optional |
(Non-dragon) reward | reward | Apart from Clan Events and the majority of Hatching Events, all other events almost always offer Dragons as their main prize. Since the prizes for Hatching Events are automatically generated, this parameter is only used when either a generic prize is not applicable or when a Dragon is not the main prize of the event (thus the prize parameter is not to be used). The parameter is also applicable to any other event that does not offer Dragons as a prize, such as the aforementioned Clan Events, to override the generic default.
| String | optional |
(Skip) table | table | Use to supress table generation if the generic parameter cannot retrieve matching data. Negates the leaderboard or milestones and leaderboard. Depending on what is excluded, the prizes must be manually added through the use of {{Milestones}} or/and {{Leaderboard}}. Note milestone negation is not possible without the inclusion of the leaderboard because milestone is generated before the leaderboard. Even if a milestone is generic (but a leaderboard is not) both must be negated.
| Number | optional |
(Atypical rewards) specific | specific | Used when a Calendar Event does not double the prizes for Trainers with an active VIP Status (=novip) or the amount of (Divine) Tickets per round in a Relay Event is apart from the default of 15. If set to "Prize" then no reward (Dragon or other) is shown.
| String | optional |
(# req, calendar) pieces | pieces | no description | Number | optional |
(top) text | text | Some observations that can be made include whether this type of event had double prizes, took place in the game for the very first or the very last time, or if the event was not available in a particular region because of a concurrent and exclusive event for that region, or any other factual and objective notes. Make sure to follow the writing style as specified in the Manual of Style.
| String | optional |
(Override) description | description | Displays the custom, in-game description. It is used only when an event does not have a generic, built-in description. When a unique description exists, write it exactly as it is written in the game.
| String | optional |
(Optional) ticket | ticket | Ticket name excluding "Icon" and extension.
| String | optional |
(For BDGD page chest column) note | note | For plain-wikitext notes only ("|icons=" is for icons), when used with the"|badge=" parameter, becomes ref text which can only use text! For Catch-Up dungeon events, please don't also specify icons as DPL3 can only display one or the other, not both (keeping capabilities consistent between extensions, and so the results match with prior event entries). | String | optional |
(Optional) icons | icons | Used to specify a comma-separated list of icons only. "|icons=" are for chest prize icons (except catch-up dungeons, that use only "note" text only), this is because DPL3 can display "|icons=" OR "|note=" not both, and to keep Cargo consistent with DPL3 capabilities. | String | optional |
(Breeding) token | token | Used if the prize is only a breeding token, enter the Dragon Name (without "Dragon")
| String | optional |
(Optional) exclusive | exclusive | Adds "Exclusivity: [content]" (to side infobox > information section) | String | optional |
(Optional) occasion | occasion | Adds "Occasion: [content]" (to side infobox > information section) | String | optional |
(Override, multiplier) mult | mult | Used if clan rewards were doubled
| Number | optional |
(Override) element | element | Used if a specific element dragon must be fed, and not just any dragon
| String | optional |
(Override) synopsis | synopsis | Used to override synopsis text | String | optional |
(Override) mvp | mvp | Override clan coins/rewardsamount | String | optional |
(Slider) image | image | If specified, overrides the Main Page event slider image, as that template looks at this one for data. The value is passed to that template.
| String | optional |
(Override) page | page | Allows overriding page name for testing and debugging only. | Page name | optional |
Parameters Passed
This template passes parameters to the {{EventBox/Profile}}
template, meaning they are specified in the {{EventBox}}
template.
Creates/populates the EventBox "Overview" section image and text header, either automatically or depending on the ad/banner/picture set. Used by EventBox to format event page infoboxes.
Parameter | Description | Type | Status | |
---|---|---|---|---|
(Override automatic) ad | ad | If the ad MUST have a different name than the standard convention, specify a value to override automatic ad image grabbing. | String | optional |
(EventBox) type | type | Passes EventBox type, to this template, to determine automatic banner type. | String | optional |
(EventBox) vip | vip | Passes EventBox VIP value (if exists) to this template to set VIP banners. | String | optional |
(Override, page) 1 | 1 page | To override page name, specify a value.
| Page name | optional |
(Optional) debug | debug | Specify any value to output in debug mode (plain text instead of an image). | String | optional |