Template:Collapsible lists option: Difference between revisions
From WikiMD's Wellness Encyclopedia
en>Jonesey95 Use Template:Block indent instead of improper list markup. Aside from the improper markup, div-based templates don't like to be indented. |
m 1 revision imported |
(No difference)
| |
Latest revision as of 18:21, 8 March 2025
This template includes collapsible lists.
Page Template:Block indent/styles.css has no content.- Template:Blue To set it to display all lists when it appears (i.e. all lists expanded), use:
-
{{BASEPAGENAME |expanded=all}}
or, if enabled,{{ BASEPAGENAME |all}}(i.e. omitting "expanded=").
- Template:Blue To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
-
{{BASEPAGENAME |expanded=listname}}
or, if enabled,{{ BASEPAGENAME |listname}} - …where listname is one of the following (do not include any quotemarks):
- {{{listnames}}}
- [optional: ]
For example,{{ BASEPAGENAME |expanded={{{example}}}}}or, if enabled,{{ BASEPAGENAME |{{{example}}}}}
- [optional: ] [All lists have] / [The list named default has] been set to be shown when the template appears.