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

From Catglobe Wiki
Jump to: navigation, search
(Created page with "<h2>Usage</h2> Parameters with infrequent use omitted. <pre style="overflow:auto;"> {{Sidebar with collapsible lists | name = {{subst:PAGENAME}} | outertitle = | ...")
 
(No difference)

Latest revision as of 03:15, 28 December 2011

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