Template:Sidebar With Collapsible Lists
Get Template:Sidebar With Collapsible Lists essential facts below. View Videos or join the Template:Sidebar With Collapsible Lists discussion. Add Template:Sidebar With Collapsible Lists to your PopFlock.com topic list for future reference or share this resource on social media.
Template:Sidebar With Collapsible Lists
Template documentation

{{Sidebar with collapsible lists}} is a version of {{Sidebar}} which offers collapsible lists in addition to Sidebar's content parameters.

Usage

Parameters with infrequent use omitted.

{{Sidebar with collapsible lists
| name     = {{subst:PAGENAME}}
| pretitle = 
| title    = 
| image    = 
| templatestyles = 
| expanded = {{{expanded|}}}

| heading1   = 
| list1name  = 
| list1title = 
| list1      = 

| heading2   = 
| list2name  = 
| list2title = 
| list2      = 

<!-- ...... -->

| headingN =         <!-- Template:Sidebar's "headingN" and/or "contentN" parameters (where -->
| contentN =         <!-- N is a number) may be used to include uncollapsible lists/content -->

<!-- ...... -->

| below = 

}}

Parameters

This template takes all {{sidebar}} parameters. In addition:

The displayed title of the collapsible listn.
The contents of the collapsible listn.
A class can be added to target a specific list either with TemplateStyles or microformats. See Template:Sidebar#Classes.
In the context of TemplateStyles, specific list contents can be targeted like so: .templateclass .listnclass .sidebar-list-title for a specific list title and .templateclass .listnclass .sidebar-list for a specific list.
and
is used to indicate which (if any) list named is shown expanded when the template is first displayed; see {{Collapsible lists option}}.
Set to anything (though or are idiomatic) to make the sidebar list titles centered. This works around some not-great behavior in how centered text interacts with the collapsible toggle.

A without a displays the default title ("List").

Handling long links

See Template:Sidebar#Handling long links.

TemplateStyles

The classes available for styling, besides those listed in Template:Sidebar#TemplateStyles, are:

.sidebar-collapse
The top-level {{sidebar with collapsible lists}} class.
.sidebar-list
The class is a container when either or is provided in {{sidebar with collapsible lists}}.
.sidebar-list-title
The class associated with a . Every list title will have this class. Use the to center text instead of adding CSS here.
.sidebar-list-content
The class associated with a . Every list content will have this class.

Deprecated parameters

These parameters are deprecated for the same reason as the style parameters in Template:Sidebar.

listtitlestyle and liststyle
These are the equivalent of, respectively, {{Collapsible list}}'s titlestyle and liststyle parameters.
listframestyle
Sets the framestyle (see {{Collapsible list}}) for the lists.
listNframestyle
Sets the framestyle for listN, overriding listframestyle.
listNtitlestyle
Sets the titlestyle for listN, overriding listtitlestyle above.
listNstyle
Sets the liststyle for listN, overriding liststyle above.

See also


  This article uses material from the Wikipedia page available here. It is released under the Creative Commons Attribution-Share-Alike License 3.0.

Template:Sidebar_with_collapsible_lists
 



 



 
Music Scenes