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)
- Automatically grabs existing ads matching the event name (though date
/
slashes must be replaced by.
in the file names). - The
|ad=
parameter in most cases should not be used. Its purpose is for overriding the automatic ad name lookup, for cases when an event page name has a restricted character that can't be put in a file name or the file name must differ from the page name.
Example 1
{{EventBox/Profile|page=Dragon Grid (24/04/19)|type=Dragon Grid}}
gives:
Example 2 (debug)
{{EventBox/Profile|type=Food Gathering|debug=y}}
gives:
Note: Debug doesn't apply when a found promotion image matches the page name, or when |ad=
is specified.
Other Examples
{{EventBox/Profile|The Great Dragon Race (24/04/29)|debug=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 | |
---|---|---|---|---|
(Override automatic) ad | ad | If the ad MUST have a different name than the standard convention, specify a value to override automatic ad image grabbing. | 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 |
(Override, page) 1 | 1 page | To override page name, specify a value.
| Page name | optional |
(Optional) debug | debug | Specify any value to output in debug mode (plain text instead of an image). | String | optional |