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

 Actions

Template

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: Sell Button.png (sizes for these buttons should NOT be overridden if they appear in-line in text)
  • {{Button|Ancient Portal}} gives: Ancient Portal Button.png (sizes for these buttons should NOT be overridden if they appear in-line in text)
  • {{Button|Breeding}} gives: Breeding Button.png (sizes for these buttons should NOT be overridden if they appear in-line in text)
  • {{Button|Battle|30|link=Battle}} gives: Battle Button.png

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.

Template parameters

ParameterDescriptionTypeStatus
Button Name (without "Button" or file extension)1

no description

Example
Battle
Stringrequired
(Override, icon) width2 width

Enter a number to override default icon width for icons wider than they are tall

Default
25
Example
30
Numberoptional
(Optional) linklink

no description

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.