Template:Event/doc
From Dragon Mania Legends (DML) Wiki
< Template:EventDocumentation subpage |
---|
View this documentation's related template: Template:Event |
Example(s)
{{Event|Stepping Stones Craziness|24-02-23|2024/03/01|Stone Spending}}
gives:
{{Event|Dragon Grid|2022-12-05|2022/12/12|Dragon Grid}}
gives:
{{Event|Bottomless Dungeon|2023-01-16|2023/01/23|Bottomless Dungeon}}
gives:
{{Event|Dragon Runner|2023-08-14|2023/08/21|Dragon Runner}}
gives:
{{Event|Cake Craze|2021-12-13|2021/12/26|Cake Craze}}
gives:
{{Event|Mystic Pasture|2021-12-13|2021/12/26|link=Mystic Pasture|image=Mystic Pasture Event Icon|countdown=If unplayed for 2+ weeks.}}
gives:
See Also
{{EventBox.sliderdpltablerow}}
, the row formatting template that feeds parameter values from{{slider}}
to this one, to format single results.{{Slider}}
, the template calls{{EventBox.sliderdpltablerow}}
to format each row of output, after feeding values to it. It creates a set of results for use on the Main Page.{{EventBox}}
, the template from which theparameter is accepted.
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}}
Parameter | Description | Type | Status | |
---|---|---|---|---|
Event Name | 1 | Name of the event that is occurring as it appears in Game.
| String | required |
Start Date | 2 | Date when the event started (used to generate the auto-link to the event page)
| Date | required |
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].
| Date | required |
(Override, event) type | 4 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.
| String | optional |
Vip? | vip | If this is a VIP only event, enter a "VIP" here.
| String | optional |
(Override) image | image | 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.
| File | optional |
(Override, icon) width | width | The image width can be overridden with this (without "px").
| Number | optional |
(Override) link | link | The auto generated link to the event page can be exchanged against this link to the event page.
| Page name | optional |
(Override) countdown | countdown | To override the countdown display with wikitext, enter a value. Otherwise, leave blank. | String | optional |