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

From blackwiki
Jump to navigation Jump to search
imported>CsDix
(→‎Usage: <pre>)
(added example)
Line 4: Line 4:
 
===Usage===
 
===Usage===
 
<pre>
 
<pre>
{{Collapsible sections option
+
{{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

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