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

 Actions

Template

Template:CalDay

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)

Examples

Example 1

{{CSSCounter|
{{CalDay|blue|{{i|Gold|i|40}}<br><br>202,300}}
{{CalDay|purple|[[File:Jingle Dragon.png|150px|link=Jingle Dragon]]}}
}}{{clear}}
{{CSSCounter|
{{CalDay|blue|Content|vip=VIP}}
{{CalDay|purple|Content|vip=VIP}}
{{CalDay|yellow|Content|vip=VIP}}
}}{{clear}}

Gives:

Gold Icon.png

202,300
Jingle Dragon.png
VIP Status Icon.png
Content
VIP Status Icon.png
Content
VIP Status Icon.png
Content

See Also

Template for creating the Calendar events looking like the Game (sort of at least). The day number gets auto-calculated from the css-counter (see "cal-day-day" class).

Template parameters

ParameterDescriptionTypeStatus
Border Colorcolor 1

Color of the border and heading (blue, purple, orange)

Default
blue
Stringoptional
Content2

Whatever goes into the box.

Default
Content
Example
[[File:Jingle Dragon.png|150px|link=Jingle Dragon]]
Stringoptional
VIP day?vip 3

If this day has special VIP rewards, enter a value. Leave empty otherwise.

Default
[empty]
Example
y
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.