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

 Actions

Template

Template:Event

From Dragon Mania Legends (DML) Wiki

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)

  • {{Event|Stepping Stones Craziness|24-02-23|2024/03/01|Stone Spending}} gives:
Bottomless Dungeon Icon.png
Stepping Stones Craziness (24/02/23)
  • {{Event|Dragon Grid|2022-12-05|2022/12/12|Dragon Grid}} gives:
Dragon Grid Event Icon.png
Dragon Grid (22/12/05)
  • {{Event|Bottomless Dungeon|2023-01-16|2023/01/23|Bottomless Dungeon}} gives:
Bottomless Dungeon Icon.png
Bottomless Dungeon (23/01/16)
  • {{Event|Dragon Runner|2023-08-14|2023/08/21|Dragon Runner}} gives:
Dragon Runner Event Icon.png
Dragon Runner (23/08/14)
  • {{Event|Cake Craze|2021-12-13|2021/12/26|Cake Craze}} gives:
Cake Craze Event Icon.png
Cake Craze (21/12/13)
  • {{Event|Mystic Pasture|2021-12-13|2021/12/26|link=Mystic Pasture|image=Mystic Pasture Event Icon|countdown=If unplayed for 2+ weeks.}} gives:
Mystic Pasture Event Icon.png
Mystic Pasture

If unplayed for 2+ weeks.


See Also

Used in the Slider template and EventBox.sliderdpltablerow for added logic, this template displays the event with the corresponding icon and a link to the event together with a countdown until the event ends. It works by feeding data to the template like so: {{Event|Name-without-date|start|end|type-override}} {{Event|Dragon Grid|2022-12-05|2022/12/12|Dragon Grid}}

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Event Name1

Name of the event that is occurring as it appears in Game.

Example
Clan Siege
Stringrequired
Start Date2

Date when the event started (used to generate the auto-link to the event page)

Example
27 July 2020
Daterequired
End Date (+Time)3

Date when the event ends. If the ending time (UTC) is none of the standard times (see Category:Events for those), add the ending time as [hh:mm:ss].

Default
#now + 1h
Example
31 July 2020 09:00:00
Daterequired
(Override, event) type4 type

If you need to specify the event type as it doesn't have a generic name, enter the type here. See Category:Events for a list of the currently known events.

Example
Clan
Stringoptional
Vip?vip

If this is a VIP only event, enter a "VIP" here.

Example
VIP
Stringoptional
(Override) imageimage

If there is no image for this event type or you want to use a different one, enter the filename here (has to be a .png image), without the ".png" extension.

Example
Ancient Collection Event Icon
Fileoptional
(Override, icon) widthwidth

The image width can be overridden with this (without "px").

Default
80
Example
50
Numberoptional
(Override) linklink

The auto generated link to the event page can be exchanged against this link to the event page.

Example
Origin of Water#Ancient Chest
Page nameoptional
(Override) countdowncountdown

To override the countdown display with wikitext, enter a value. Otherwise, leave blank.

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.