Template:ElementButtons
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)
{{ElementButtons}}
{{ElementButtons|all=y}}
{{ElementButtons|All}}
{{ElementButtons|Fire, Water, Energy}}
{{ElementButtons|Fire, Water, Energy|px=30}}
See Also
{{RarityButtons}}
, which creates:{{forEach}}
, which is used by this template.
Insert filters buttons depending on names of elements in a comma separated list. Note: Uses the {{forEach}} template.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Display | 1 | 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. | String | optional |
all | all | If this parameter is set, the "All" filter icon is also shown at the end.
| Boolean | optional |
(Override, size) px | px | If set to a number (without "px"), overrides the default size
| Number | optional |