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

From blackwiki
Jump to navigation Jump to search
(added example)
imported>Funandtrvl
(sp)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
<!---PLEASE ADD METADATA (categories, interwikis) TO THE <includeonly> SECTION
+
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
    AT THE BOTTOM OF THIS PAGE--->
+
 
 
===Usage===
 
===Usage===
 
<pre>
 
<pre>
Line 18: Line 18:
 
}}
 
}}
 
</pre>
 
</pre>
produces
+
produces:
 +
{{-}}
 
{{collapsible sections option
 
{{collapsible sections option
 
  |list = "Origins", "CTCBS", "Leaders", "After", "RTC" or "Sisters"
 
  |list = "Origins", "CTCBS", "Leaders", "After", "RTC" or "Sisters"

Revision as of 18:33, 29 January 2014

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 |name where 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