Difference between revisions of "Template:Collapsible sections option/doc"
Jump to navigation
Jump to search
imported>Sardanaphalus (→See also: link) |
imported>Sardanaphalus (→See also: sandbox non-categorisation) |
||
| Line 30: | Line 30: | ||
<includeonly> | <includeonly> | ||
| + | {{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
[[Category:Wikipedia metatemplates]] | [[Category:Wikipedia metatemplates]] | ||
| Line 36: | Line 37: | ||
[[ja:Template:Collapsible sections option]] | [[ja:Template:Collapsible sections option]] | ||
[[pt:Predefinição:Collapsible sections option]] | [[pt:Predefinição:Collapsible sections option]] | ||
| + | }} | ||
</includeonly> | </includeonly> | ||
Revision as of 11:23, 7 July 2014
| File:Edit-copy green.svg | 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 =
| default =
}}
Parameters example and default are optional.
Example
{{Collapsible sections option
| list = overview, "two-word groupname", concepts, details, related
| example = two-word groupname
| default = overview
}}
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): overview, "two-word groupname", concepts, details, related- For example:
{{Collapsible sections option/doc |two-word groupname}}
- The group/section named
overviewhas been set to be visible when the template appears.
See also