Difference between revisions of "Template:Sidebar with collapsible lists"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{Sidebar | wraplinks = {{{wraplinks|}}} | name = {{{name|{{PAGENAME}}}}} | class = {{{class|{{{bodyclass|}}}}}} | style = {{{style|{{{bodyst...")
 
(No difference)

Latest revision as of 03:14, 28 December 2011

<accesscontrol>Administrators,,Cem(ro),,Maysunshine(ro),,mod</accesscontrol>

Template:Sidebar with collapsible lists

Template documentation

Usage

Parameters with infrequent use omitted.

{{Sidebar with collapsible lists
| name           = {{subst:PAGENAME}}
| outertitle     = 
| topimage       = 
| pretitle       = 
| title          = 
| image          = 
| headingstyle   = 
| contentstyle   = 
| heading1       = 

| listtitlestyle = 
| liststyle      = 

| list1name      = 
| list1title     = 
| list1          = 

| list2name      = 
| list2title     = 
| list2          = 

| list15name      = 
| list15title     = 
| list15          = 

}}

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

Other collapsible list-related parameters

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

listframestyle  
Sets the framestyle 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.

Handling long links

Use {{normalwraplink|longlinkname}}, where longlinkname is the long link without its square brackets.

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

Examples