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

 Actions

Template

Template:HatchingTime

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)

Example(s)

{{HatchingTime|Fire|Metal|type=Common}} : 510   8 hours and 30 minutes

{{HatchingTime|Fire|Water|type=Common| breedTime=90}} : 150   2 hours and 30 minutes

(actually the Boiling Dragon also has a hatching override of 2 hours).
Whereas without the correct time {{HatchingTime|Fire|Water|type=Common}} it would give : 390

{{HatchingTime|Tyrant|Legendary|Fire|type=Tyrant}} : 6920   4 days, 19 hours and 20 minutes

which gives the same as
{{HatchingTime|Tyrant|Foo|Bar|type=Tyrant}} : 6920

Calculates the hatching time in minutes based on the breedingTime (or the calculated BreedingTime for the elements (1-3) and type stated as type parameter by making use of the BreedingTime template). The {{valElem}} template gets called with the elements and the type to get the values for "Hatching". This Template is used by the DragonBox template, to calculate the Hatching times (non-vip and vip).

Template parameters

ParameterDescriptionTypeStatus
Element 11

The Base Element of the Dragon

Example
Fire
Stringrequired
Element 22

Second Element of the Dragon (if any)

Default
[empty]
Example
Wind
Stringoptional
Element 33

Third Element of the Dragon (if any)

Default
[empty]
Example
Earth
Stringoptional
Type4 type

The type of the Dragon

Default
Common
Example
Epic
Stringoptional
Vip?vip

If this parameter is set, the result is multiplied by 0.8.

Default
false
Example
1
Booleanoptional
Breeding time presetbreedTime

If not specified, the template uses the elements and type to calculate the Breeding time, otherwise this value is used as base.

Default
[empty]
Example
780
Numberoptional


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.