Template:ExpandCollapse
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) |
Tests
{{ExpandCollapse|social,technical}}
gives{{ForEachNoTemplate|{{{1|technical,social}}}|mw-customtoggle-||separator={{sp}}}}
gives:
mw-customtoggle-technical mw-customtoggle-social
Creates an "Expand All" and "Collapse All" link based on the parameter(s) entered for the style suffix. A comma separated list may be fed to the template to declare more than one, as the {{ForEachNoTemplate|}} template is employed to prepend "mw-customtoggle-" to each value provided.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Toggle Name | 1 | Enter the toggle name (camel case)
| String | required |