Template:ValSell
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)
{{#expr:7 * 0.25}} vs {{ValSell|7}}
gives:
1.75 vs 1
{{#expr:90 * 0.25}} vs {{ValSell|90}}
gives:
22.5 vs 22
{{ValSell|200,000}}
(Fountain of Youth) gives:
50,000
{{ValSell|50|tokens}}
(Sword Sculpture Dungeon Decoration) gives:
12
{{ValSell|50|gems}}
(Boss Habitat) gives:
6,250
See Also
{{valXP}}
, a similar template but for XP values.- Data templates, for other templates that calculate or do stuff with data.
Calculates the selling value (in Gold), rounded down to the nearest integer, of a building or decoration based on its "gold", "tokens", or "gems" cost specified. Few standard items deviate from this formula.
Parameter | Description | Type | Status | |
---|---|---|---|---|
(Cost) 1 | 1 | Enter the item cost. | String | required |
(Override cost type) 2 | 2 | To override cost type, set a value.
| Unknown | optional |