Wiktenauer logo.png

Template:Sidebar with collapsible lists

From Wiktenauer
Revision as of 02:29, 23 September 2012 by Michael Chidester (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[edit] [history] [purge] Documentation icon Template documentation

{{Sidebar with collapsible lists}} is a version of {{Sidebar}} offering collapsible lists as an alternative to Sidebar's content parameters.


Parameters with infrequent use omitted.

{{sidebar with collapsible lists
| name       = {{subst:PAGENAME}}
| outertitle = 
| topimage   = 
| pretitle   = 
| title      = 
| image      = 

| headingstyle   = 
| listtitlestyle = 
| contentstyle   = 

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

| heading2    = 
| list2name   = 
| list2title  = 
| list2       = 
| list20name  = 
| list20title = 
| list20      = 


The topmost parameters (including name, outertitle, topimage, pretitle, title, image, headingstyle, contentstyle) are defined in the Sidebar template page.

The listtitlestyle and liststyle parameters are the equivalent of {{collapsible list}}'s titlestyle and liststyle parameters, while each listNtitle and listN parameter is the equivalent of {{collapsible list}}'s title and unnamed list parameter, respectively.

The listNname parameters are used to identify which, if any, list is to be shown expanded; see {{collapsible lists option}}.

Other collapsible list-related parameters

In addition to the above, the following collapsible list-related parameters are also available:

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.

Handling long links

As with {{Sidebar}}, {{Normalwraplink}} may be used to handle links that should wrap within the sidebar or otherwise need to be made to wrap in order to prevent the sidebar becoming too wide. Use {{Normalwraplink|longlinkname}}, where |longlinkname is the long link without its square brackets.

Use the |wraplinks=true parameter to turn link wrapping off for the whole template.


Examples of this template can be found by checking "What links here" in template space.

See also

ar:قالب:Sidebar with collapsible lists bn:টেমপ্লেট:Sidebar with collapsible lists ca:Plantilla:Barra lateral amb llistes plegables mk:Шаблон:Странична лента со расклопни списоци ja:Template:Sidebar with collapsible lists pt:Predefinição:Sidebar with collapsible lists sl:Predloga:Sidebar with collapsible lists th:Template:Sidebar with collapsible lists ur:سانچہ:Sidebar with collapsible lists zh:Template:Sidebar with collapsible lists