Please remember to make use of the DML Wiki Manual of Style and Code of Conduct during your stay.

 Actions

Template

Template:EventBox

From Dragon Mania Legends (DML) Wiki

Sticker - Meh.png
When new event types are added, the following needs updates: Template:Event, Template:Calendar, EventInfos table (recreation, switch-in when populated). See Template:EventBox/Values which stores the Cargo table values passed to it by this template, and the Talk page for old documentation.
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)


Example(s)

  • {{EventBox|type=Gem Spending|prize=Earth|dragon=Plant}} gives:
OVERVIEW
Banner
VIP Event Generic Banner.jpg
Spend as many Gems as you can to win awesome rewards!
INFORMATION

VIP Status Icon.png Limited Event

Started 6 April 2024
Ended 10 April 2024
Duration 4 Days
Type Gem Spending
First Prize Earth Dragon Icon.png Earth Dragon

The requirements stated in this article are that of the highest-level brackets while the leaderboard and 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

Milestones Progress Marker Blue Icon.png Milestones Progress Marker Blue Icon.png Milestones Progress Marker Blue Icon.png
250 750 1,700
Gems Icon.png
50
Gems Icon.png
200
Plant Dragon Egg.png
Plant

Leaderboard Prizes

1-5 Earth Dragon Egg.png Earth Dragon
6-10 Gems Icon.png 150    Food Icon.png 750,000    Gold Icon.png 2,250,000
11-20 Gems Icon.png 75     Food Icon.png 375,000     Gold Icon.png 1,125,000
21-100 Gems Icon.png 20     Food Icon.png 150,000    Gold Icon.png 525,500
101-250 Gems Icon.png 10     Food Icon.png 37,500      Gold Icon.png 300,000
251-500 Gems Icon.png 3      Food Icon.png 15,000
501-2000 Gems Icon.png 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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
ad (image)ad

Normally, {{Exists}} checks against either the title of the page or the value of prize to retrieve a matching ad. The name of the file must either follow this pattern: File:{NameEvent} (yy.mm.dd) Promotion.jpg, File:{prize} Dragon Event.jpg or this pattern: File:{prize} Dragon Promotion (NameEvent).jpg. In those cases, in which a pattern is not found, the advertisement must be manually inserted. Add the name of the image while omitting File: and its extension, as in "Chemistry Dragon & Duskwing Dragon Promotion (Weekend Events)" for example.

Example
Chemistry Dragon & Duskwing Dragon Promotion (Weekend Events)
Stringoptional
started (date)started

Date of the start of the event. If omitted, the start date is generated from the page title. Required when an event starts earlier than expected, particularly if hours ahead, in which case hours are added

Example
8 May 2023 OR 8 May 2023 00:00:00
Dateoptional
ended (override auto end date)ended

Required when an event ends early, or lacks an auto-calculated end date. Used by the Main Page events slider to correctly calculate when to drop events out of slider

Example
8 May 2023 OR 8 May 2023 00:00:00
Stringoptional
durationduration

Number of days the event took place. The ended date is calculated by either the type or with the duration.

Example
2 Days
Stringoptional
type (event type)type

Type of the event. Choose from: Arcade, Calendar, Castle, Chain Breeding, Clan, Collection, Community, Dragon Dice, Feeding, Food Gathering, Gem Spending, Gold Collecting, Gold Spending, Hatching, Relay, Sigil, Solo. Or enter the new type.

Example
Calendar
Stringoptional
prize (dragon)prize

Add the name of the Dragon, while omitting the additional "Dragon" from the name. This parameter is to be used only if the Dragon is the main reward of the event. In the case of regular events, it is the prize for placing in the highest spots of the leaderboard at the end of the event. For other events, it is the prize given for completing the event. If no prize should get displayed, specify the {specific=Prize} parameter.

Example
Don
Stringoptional
vip (vip-only event?)vip

Enter "VIP" if this event was only available with active VIP status

Example
VIP
Stringoptional
generic (leaderboard)generic

Check the generated Leaderboard with the real one of the event. There are several generic leaderboards that are used for the vast majority of regular events. These can be found here. Some types of events have their own generic leaderboard (such as Hatching Events, Gem Spending Events and Clan Events). Other events make use, more often than not, of a particular generic leaderboard: VIP Events = Leaderboard 1. Gold Collecting/Spending Events = Leaderboard 2. VIP Food Gathering Events = Leaderboard 3. Hatching Events with a Dragon as the main prize = Leaderboard 4. Feeding /Food Gathering Events = Leaderboard 5.

Example
1
Numberoptional
badge (name, without "badge" or extension)badge

Displays the badge that can be obtained within an event. Add the name of the badge while omitting the additional "Badge" from the name. The first letter of each word in the badge name must be capitalized.

Stringoptional
badge2 (for additional badge)badge2

Enter the badge name omitting " Badge.png"

Stringoptional
hero (dragon, to be able to participate)hero

Used to indicate the Hero Dragon needed to participate in the Relay Event (Hero's Challenge). Add the name of the Dragon while omitting the additional "Dragon" from the name.

Example
Bludgeon
Stringoptional
dragondragon

Used ONLY for dragon given for final Gem Spending milestone, or the Dungeon Shop Dragon. As with prize, add the dragon name omitting "Dragon".

Example
Phoenix
Stringoptional
dungeon dragon offersdungeonoffer

Used ONLY for the dragons available in the Dungeon Shop (can be a comma separated list). As with prize, add the dragon name omitting "Dragon".

Example
Phoenix
Stringoptional
sectionsection

Used to indicate the total days (Calendar), levels (Castle) or tiers (Solo) an event has.

Example
8
Numberoptional
reward (non-dragon)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.

Example
{{#tag:center|525,000 {{i|Gold}}<br>45,000 {{i|Food}}<br>3 {{i|Scrolls}}}}
Stringoptional
table (skip generation)table

Use if an event has any built-in generic prize and the generic parameter can also not retrieve matching data. Used to either negate the leaderboard or the milestone along with the 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.

Example
1 / 2
Numberoptional
specific (for atypical rewards)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.

Example
17
Stringoptional
pieces (# req for calendar dragon)pieces

no description

Numberoptional
text (sidenote)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.

Example
This event was not available in Australia because of the concurrent G'Day event.
Stringoptional
description (override, event 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.

Example
Some dragons feel at home on both land and sea; welcome them by completing goals to earn rewards.
Stringoptional
ticket (with leading space, if any)ticket

Element part of ticket name, with leading space. Works with {{{ticketType}}} to generate ticket icon, see auto-value for example

Default
null
Example
(Wind)
Auto value
{{{ticketType}}} Ticket{{{ticket| (Wind)}}} Icon.png
Stringoptional
tiketType (type/rarity)ticketType

Used for the beginning of ticket file name

Default
Divine
Example
Ancient
Auto value
Stringoptional
note (for BDGD page chest column)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).

Stringoptional
icons (for BDGD Special column)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.

Stringoptional
banner (override)banner

Enter the image name (without.jpg)

Example
Used when there's no ad/promotion image
Stringoptional
token (breeding)token

Used if the prize is only a breeding token, enter the Dragon Name (without "Dragon")

Example
Echo
Stringoptional
exclusiveexclusive

Adds "Exclusivity: [content]" (to side infobox > information section)

Stringoptional
occasionoccasion

Adds "Occasion: [content]" (to side infobox > information section)

Stringoptional
picture (override)picture

Used when there's no ad/promotion, AND no banner image)

Stringoptional
mult (override, multiplier)mult

Used if clan rewards were doubled

Default
1
Example
2
Numberoptional
special (override)special

Used for no "Overview" image

Default
0
Example
1
Booleanoptional
element (override)element

Used if a specific element dragon must be fed, and not just any dragon

Default
null
Stringoptional
synopsis (override)synopsis

Used to override synopsis text

Stringoptional
mvp (override)mvp

Override clan coins/rewardsamount

Stringoptional
(Slider) imageimage

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.

Example
Solo Adventure (23.08.28) Icon
Stringoptional


This Wiki is created by players for other players and is not maintained by, or affiliated with, the game maker (Gameloft).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.