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

 Actions

Template

Template:ElementButtons/doc

From Dragon Mania Legends (DML) Wiki

< Template:ElementButtons
Documentation subpage
View this documentation's related template:
Template:ElementButtons

Example(s)

  • {{ElementButtons}} Fire Wind Earth Water Plant Metal Energy Void Light Shadow Legendary Primal Divine Ancient Tyrant 
  • {{ElementButtons|all=y}} Fire Wind Earth Water Plant Metal Energy Void Light Shadow Legendary Primal Divine Ancient Tyrant All Icon.png
  • {{ElementButtons|All}} All Icon.png
  • {{ElementButtons|Fire, Water, Energy}} Fire Water Energy 
  • {{ElementButtons|Fire, Water, Energy|px=30}} Fire Water Energy 

See Also

Insert filters buttons depending on names of elements in a comma separated list. Note: Uses the {{forEach}} template.

Template parameters

ParameterDescriptionTypeStatus
Display1

If value specified is equal to "All" displays the "All" filter. If set to comma separated elememts (capitalized) displays each specified. If empty, displays all elements.

Stringoptional
allall

If this parameter is set, the "All" filter icon is also shown at the end.

Default
false
Example
y
Booleanoptional
(Override, size) pxpx

If set to a number (without "px"), overrides the default size

Default
20
Example
25
Numberoptional
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.