Template:Button
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)
{{Button|Sell}}
gives: (sizes for these buttons should NOT be overridden if they appear in-line in text){{Button|Ancient Portal}}
gives: (sizes for these buttons should NOT be overridden if they appear in-line in text){{Button|Breeding}}
gives: (sizes for these buttons should NOT be overridden if they appear in-line in text){{Button|Battle|30|link=Battle}}
gives:
Shortcut for inserting a button image, particularly for round buttons, for which the default size is set. Image buttons should generally NOT have text (which is non-translatable); rather, buttons that need text for understanding, should make use of the {btn} template instead, so that text is translatable. This template mainly used for either round image buttons, or to display main UI buttons that must be displayed at a relevant scale to each other.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Button Name (without "Button" or file extension) | 1 | no description
| String | required |
(Override, icon) width | 2 width | Enter a number to override default icon width for icons wider than they are tall
| Number | optional |
(Optional) link | link | no description | String | optional |