साँचा:Sidebar with collapsible lists/doc

मुक्त ज्ञानकोश विकिपीडिया से
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा:namespace detect

| type = notice | image = | imageright = | class = | style = margin-bottom:1.0em; | textstyle = | text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }} साँचा:missing information

साँचा:tl is a version of साँचा:tl which offers collapsible lists as an alternative to Sidebar's content parameters.

Usage

Sidebar with collapsible lists/doc
Employerसाँचा:main other
Organizationसाँचा:main other
Agentसाँचा:main other
Notable work
साँचा:main other
Opponent(s)साँचा:main other
Criminal charge(s)साँचा:main other
Spouse(s)साँचा:main other
Partner(s)साँचा:main other
Parent(s)स्क्रिप्ट त्रुटि: "list" ऐसा कोई मॉड्यूल नहीं है।साँचा:main other

साँचा:template otherसाँचा:main other

Parameters with infrequent use omitted.

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

| headingstyle   = 
| listtitlestyle = 
| liststyle      = 
| contentstyle   =   <!--(same as |liststyle = ...?)-->

| 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

The topmost parameters (including name, outertitle, topimage, pretitle, title, image, headingstyle, contentstyle) are described at साँचा:tl. Other साँचा:tlf parameters not shown here (e.g. navbar) may also be used.

expanded साँचा:nobold listNname
expanded is used to indicate which (if any) list named listNname is shown expanded when the template is first displayed; see साँचा:tl.
listtitlestyle साँचा:nobold liststyle
These are the equivalent of, respectively, साँचा:tl's titlestyle and liststyle parameters.

Any listN used without an accompanying listNtitle is still presented as a collapsible list under साँचा:tlf's default title ("List"); see example opposite. साँचा:smaller

Other parameters

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

listframestyle
Sets the framestyle (see साँचा:tl) 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

As with the sidebar template, साँचा:tl 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 from becoming too wide. Use साँचा:tlx, where साँचा:para is the long link without its square brackets.

Use the साँचा:para parameter to turn link wrapping off for the whole template.

Examples

Examples of this template can be found by checking the template's backlinks with What links here.

See also