Template:ValElem/doc
From Dragon Mania Legends (DML) Wiki
< Template:ValElemDocumentation 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>
Parameter | Description | Type | Status | |
---|---|---|---|---|
Element | 1 | no description
| String | required |
Value type | 2 | Input a value type to provide an element value for
| String | optional |