सामग्री पर जाएँ

फलकम्:Sidebar with collapsible lists/doc

विकिपीडिया, कश्चन स्वतन्त्रः विश्वकोशः

{{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      =
| expanded   = {{{expanded|{{{1|}}}}}} <!-- displays a specific list -->

| headingstyle   =
| listtitlestyle =
| contentstyle   =

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

| heading2    =
| list2name   =
| list2title  =
| list2       =

<!-- ...  -->

}}

The topmost parameters (including name, outertitle, topimage, pretitle, title, image, headingstyle, contentstyle) are defined at 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 parameters

[सम्पादयतु]

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

listframestyle
Sets the framestyle (see {{collapsible list}}) 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.
[सम्पादयतु]

As with the sidebar template, {{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 from 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 the template's backlinks with "What links here".

इतोपि पश्य

[सम्पादयतु]


"https://sa.wikipedia.org/w/index.php?title=फलकम्:Sidebar_with_collapsible_lists/doc&oldid=268300" इत्यस्माद् प्रतिप्राप्तम्