Шаблон:Sidebar with collapsible lists

Пређи на навигацију Пређи на претрагу
Документација шаблона[прикажи] [уреди] [историја] [освежи]

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


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 = 



Детаљније: Template:Sidebar § 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.
|expanded= and |listnname=
|expanded= is used to indicate which (if any) list named |listnname= is shown expanded when the template is first displayed; see {{Collapsible lists option}}.

A |listn= without a |listntitle= displays the default title ("List").

Handling long links

See Template:Sidebar#Handling long links.


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

The top-level {{sidebar with collapsible lists}} class.
The class is a container when either |listntitle= or |listn= is provided in {{sidebar with collapsible lists}}.
The class associated with a |listntitle=. Every list title will have this class.
The class associated with a |listn=. 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.
Sets the framestyle (see {{Collapsible list}}) for the lists.
Sets the framestyle for listN, overriding listframestyle.
Sets the titlestyle for listN, overriding listtitlestyle above.
Sets the liststyle for listN, overriding liststyle above.

See also

The article is a derivative under the Creative Commons Attribution-ShareAlike License. A link to the original article can be found here and attribution parties here. By using this site, you agree to the Terms of Use. Gpedia Ⓡ is a registered trademark of the Cyberajah Pty Ltd.