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

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(sp)
imported>Sardanaphalus
(div)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
 
===Usage===
 
===Usage===
 
<pre>
 
<pre>
Line 19: Line 18:
 
</pre>
 
</pre>
 
produces:
 
produces:
{{-}}
+
<div style="clear:both;background:whitesmoke;">
 
{{collapsible sections option
 
{{collapsible sections option
 
  |list = "Origins", "CTCBS", "Leaders", "After", "RTC" or "Sisters"
 
  |list = "Origins", "CTCBS", "Leaders", "After", "RTC" or "Sisters"
 
  |example = Leaders
 
  |example = Leaders
 
}}
 
}}
 +
</div>
  
 
===See also===
 
===See also===

Revision as of 13:53, 18 April 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