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

 Actions

Template

Template:EventBox/Profile

From Dragon Mania Legends (DML) Wiki

< Template:EventBox
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)

Important Icon.png
 
Important: This template automatically looks for, and uses, ads that are uploaded to match a page name containing a date, only with / slashes replaced by . in dates. In this (and most) cases, the |ad= parameter should not be used, instead the file should be named accordingly.

Example 1

  • {{EventBox/Profile}} gives:
Banner
Event Generic Banner.jpg

Example 2

  • {{EventBox/Profile|ad=Clam Sale (1600 Gems)}} gives:
Promotion
Clam Sale (1600 Gems).jpg

Example 3

  • {{EventBox/Profile|picture=Clam Sale (1600 Gems)}} gives:
Clam Sale (1600 Gems).jpg

Example 4

  • {{EventBox/Profile|banner=Clam Sale (1600 Gems)}} gives:
Banner
Clam Sale (1600 Gems).jpg

Example 5

  • {{EventBox/Profile|special=y}} gives:

See Also

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.

Template parameters

ParameterDescriptionTypeStatus
ad (accepts png or jpg)ad

Used to specify an ad image, and determines if the "promotion" or "banner" header should be set. If {{{ad|}}} is set, or if there's an existing image for the {{{prize|}}} name.

Stringoptional
(Override) banner (.jpg)banner

If set, allows a banner to be added, with the heading "banner" above it. If not set, selects a default banner based on event type and generic event banners.

Stringoptional
picture (.jpg)picture

Enter the name only for a jpg image. Produces no header text above the image itself, unlike other settings.

Stringoptional
(unused?) specialspecial

If given a value, produces no image, though still produces an (empty) section

Booleanoptional
(EventBox, dragon) prizeprize

Passes EventBox prize, so that if no {{{ad|}}} is set, checks if an existing {{{prize|}}} dragon image exists, and if so uses that.

Stringoptional
(EventBox) typetype

Passes EventBox type, to this template, to determine automatic banner type.

Stringoptional
(EventBox) vipvip

Passes EventBox VIP value (if exists) to this template to set VIP banners.

Stringoptional
(Eventbox, past use-only) endedended

Passes EventBox {{{ended|}}} date exists, and checks to see if it was before 20 November 2015, if so applies a different image

Dateoptional


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.