Template:EventDurationFromName
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
{{EventDurationFromName|Golden Gatherer}}
gives 3 Days{{EventDurationFromName|Solo}}
gives 10 Days{{EventDurationFromName|Castle}}
gives default{{EventDurationFromName|Movie Marathon}}
gives 7 Days{{EventDurationFromName|Dragon Runner}}
gives 7 Days{{EventDurationFromName|Arcade}}
(for Dragon's Delight) gives 4 Days{{EventDurationFromName|Stone Spending}}
gives 6 Days 16 Hours
Returns standard event durations, based on event name. Uses the {EventTypeFromName} template to get event type from name, feeds the event type to a switch statement that then has a standard duration set for each event type.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Event Name | 1 | Name of the event as it appears in Game
| String | required |