Template:EventBox/Profile
From Dragon Mania Legends (DML) Wiki
< Template:EventBoxTemplate 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)
/
slashes replaced by .
in dates. In this (and most) cases, the |ad=
parameter should not be used, instead the file should be named accordingly.- See Bottomless Dungeon (23/06/05) event page, where File:Bottomless Dungeon (23.06.05) Promotion.jpg is automatically displayed by the without having
|ad=
set, or specifying the file name anywhere.
Example 1
{{EventBox/Profile}}
gives:
Example 2
{{EventBox/Profile|ad=Clam Sale (1600 Gems)}}
gives:
Example 3
{{EventBox/Profile|picture=Clam Sale (1600 Gems)}}
gives:
Example 4
{{EventBox/Profile|banner=Clam Sale (1600 Gems)}}
gives:
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
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. | String | optional |
(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. | String | optional |
picture (.jpg) | picture | Enter the name only for a jpg image. Produces no header text above the image itself, unlike other settings. | String | optional |
(unused?) special | special | If given a value, produces no image, though still produces an (empty) section | Boolean | optional |
(EventBox, dragon) prize | prize | Passes EventBox prize, so that if no {{{ad|}}} is set, checks if an existing {{{prize|}}} dragon image exists, and if so uses that. | 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 |
(Eventbox, past use-only) ended | ended | Passes EventBox {{{ended|}}} date exists, and checks to see if it was before 20 November 2015, if so applies a different image | Date | optional |