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

 Actions

Template

Template:ValElem/doc

From Dragon Mania Legends (DML) Wiki

< Template:ValElem
Documentation subpage
View this documentation's related template:
Template:ValElem

Example(s)

  • {{valElem|Metal|Attack}} gives:

-1.8

  • {{valElem | Ancient | sort }} gives:

14

  • {{valElem| Primal | Breeding}} gives:

0

  • {{valElem| Tyrant | Hatching}} gives:

1.2

  • {{valElem| Tyrant | Breeding}} gives:

0

See Also

  • {{ValType}}, the template that provides formula values and/or sorting values based on rarity/type.

Outputs a value for the element {{{1}}} provided based on the desired value type {{{2}}} to output (value for formula or for sorting). Used by numerous templates. For sorting the ''param1'' can also be the Rarity.<br>

Template parameters

ParameterDescriptionTypeStatus
Element1

no description

Example
Fire
Stringrequired
Value type2

Input a value type to provide an element value for

Suggested values
Attack Breeding Hatching sort
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.