Difference between revisions of "Template:Collapsible sections option/doc"
Jump to navigation
Jump to search
imported>CsDix (→Usage: <pre>) |
(added example) |
||
| Line 4: | Line 4: | ||
===Usage=== | ===Usage=== | ||
<pre> | <pre> | ||
| − | {{ | + | {{collapsible sections option |
|list = | |list = | ||
|example = | |example = | ||
}} | }} | ||
</pre> | </pre> | ||
| + | |||
| + | ====Example==== | ||
| + | (from [[Template:American Civil War]]) | ||
| + | <pre> | ||
| + | {{collapsible sections option | ||
| + | |list = "Origins", "CTCBS", "Leaders", "After", "RTC" or "Sisters" | ||
| + | |example = Leaders | ||
| + | }} | ||
| + | </pre> | ||
| + | produces | ||
| + | {{collapsible sections option | ||
| + | |list = "Origins", "CTCBS", "Leaders", "After", "RTC" or "Sisters" | ||
| + | |example = Leaders | ||
| + | }} | ||
===See also=== | ===See also=== | ||
Revision as of 13:36, 17 January 2014
| 40px | This is a documentation subpage for Template:Collapsible sections option. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{collapsible sections option
|list =
|example =
}}
Example
(from Template:American Civil War)
{{collapsible sections option
|list = "Origins", "CTCBS", "Leaders", "After", "RTC" or "Sisters"
|example = Leaders
}}
produces
How to manage this template's collapsible groups/sections option
- This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter
|namewhere name is one of the following words that identify the groups/sections (omit any speech or quotation marks): "Origins", "CTCBS", "Leaders", "After", "RTC" or "Sisters"- For example:
{{Collapsible sections option/doc |Leaders}}
See also