Difference between revisions of "Template:Collapsible sections option/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
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

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 |name where 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 overview has been set to be visible when the template appears.

See also