Template:Mat/doc
From Dragon Mania Legends (DML) Wiki
< Template:MatDocumentation subpage |
---|
View this documentation's related template: Template:Mat |
Usage
Accepted values for mats are:
1 / Fair 2 / Average 3 / Good 4 / Excellent 5 / Extraordinary
Example(s)
{{Mat}}
gives:{{Mat|Fire|2}}
gives:{{Mat|Fire|Average}}
gives:{{Mat|Fire|3}}
gives:{{Mat|Fire|Good}}
gives:{{Mat|Fire|4}}
gives:{{Mat|Fire|Excellent}}
gives:{{Mat|Fire|5}}
gives:{{Mat|Fire|Extraordinary}}
gives:{{Mat|Legendary|5|20}}{{Mat|Water|1|20}}{{Mat|Divine|4|20}}{{Mat|Metal|3|20}}{{Mat|Light|2|20}}{{Mat|Ancient|5|20}}
gives:
Fail Case
{{Mat|Fire|6}}
gives:[[File: 2 Materials - Fire.png|20px]]{{Mat|Fire|Agerage}}
gives:[[File: 2 Materials - Agerage.png|20px]] (typing mistake)
Shortcut to display Enchantment Materials icons, in the correct width automatically, so that they appear at about the same height. Has 15px base value for the tallest icon, and adds to that base for images that would normally appear smaller if not adjusted larger; this allows the images to appear to scale proportionally despite having the same base value set. Can be adjusted up to 20px and still appear proportional to one another.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Element | 1 | The enchantment element to display.
| String | required |
Rarity | 2 | The Element Rarity (simply count the numbers of points it has).
| Number | required |
(override, base) size | px 3 | no description
| Number | optional |