http://wiki.wolfire.com/index.php?title=Template:Sidebar_with_collapsible_lists/doc&feed=atom&action=historyTemplate:Sidebar with collapsible lists/doc - Revision history2024-03-29T01:53:39ZRevision history for this page on the wikiMediaWiki 1.30.0http://wiki.wolfire.com/index.php?title=Template:Sidebar_with_collapsible_lists/doc&diff=3837&oldid=prevConner36: Created page with "{{documentation subpage}} <!---PLEASE ADD METADATA (categories, interwikis) TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE---> {{tl|Sidebar with collapsible lists}}..."2012-03-04T02:50:20Z<p>Created page with "{{documentation subpage}} <!---PLEASE ADD METADATA (categories, interwikis) TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE---> {{tl|Sidebar with collapsible lists}}..."</p>
<p><b>New page</b></p><div>{{documentation subpage}}<br />
<!---PLEASE ADD METADATA (categories, interwikis) TO THE <includeonly> SECTION<br />
AT THE BOTTOM OF THIS PAGE---><br />
{{tl|Sidebar with collapsible lists}} is a version of {{tl|Sidebar}} offering [[:Category:Collapse templates|collapsible]] lists as an alternative to Sidebar's ''content'' parameters.<br />
<br />
== Usage ==<br />
{{ sidebar with collapsible lists<br />
| name = {{PAGENAME}}<br />
| outertitle = {{{outertitle}}}<br />
| topimage = {{{topimage}}}<br />
| topcaption = {{{topcaption}}}<br />
| pretitle = {{{pretitle}}}<br />
| title = {{{title}}}<br />
| image = {{{image}}}<br />
| heading1 = {{{heading1}}}<br />
| list1title = {{{list1title}}}<br />
| list1 = {{{list1}}}<br />
<br />
| list2title = {{{list2title}}}<br />
| list2 = {{{list2}}}<br />
<br />
| list3title = {{{list3title}}}<br />
| list3 = {{{list3}}}<br />
<br />
| content4 = ................<br />
<br />
| list15title = {{{list15title}}}<br />
| list15 = {{{list15}}}<br />
<br />
| below = {{{below}}}<br />
}}<br />
Parameters with infrequent use omitted.<br />
<br />
<pre style="overflow:auto;"><br />
{{sidebar with collapsible lists<br />
| name = {{subst:PAGENAME}}<br />
| outertitle = <br />
| topimage = <br />
| pretitle = <br />
| title = <br />
| image = <br />
<br />
| headingstyle = <br />
| listtitlestyle = <br />
| contentstyle = <br />
<br />
| heading1 = <br />
| list1name = <br />
| list1title = <br />
| list1 = <br />
<br />
| heading2 = <br />
| list2name = <br />
| list2title = <br />
| list2 = <br />
<br />
| list15name = <br />
| list15title = <br />
| list15 = <br />
<br />
}}<br />
</pre><br />
<br />
The topmost parameters (including name, outertitle, topimage, pretitle, title, image, headingstyle, contentstyle) are defined [[Template:Sidebar|in the Sidebar template page]].<br />
<br />
The ''listtitlestyle'' and ''liststyle'' parameters are the equivalent of {{tl|collapsible list}}'s ''titlestyle'' and ''liststyle'' parameters, while each ''listNtitle'' and ''listN'' parameter is the equivalent of {{tl|collapsible list}}'s ''title'' and unnamed list parameter, respectively.<br />
<br />
The ''listNname'' parameters are used to identify which, if any, list is to be shown expanded; see {{tl|collapsible lists option}}.<br />
<br />
== Other collapsible list-related parameters ==<br />
<br />
In addition to the above, the following collapsible list-related parameters are also available:<br />
<br />
; ''listframestyle'' : Sets the framestyle (see {{tl|collapsible list}}) for the lists.<br />
; ''listNframestyle'' : Sets the framestyle for ''listN'', overriding ''listframestyle''.<br />
; ''listNtitlestyle'' : Sets the titlestyle for ''listN'', overriding ''listtitlestyle'' above.<br />
; ''listNstyle'' : Sets the liststyle for ''listN'', overriding ''liststyle'' above.<br />
<br />
== Handling long links ==<br />
<br />
As with {{tl|Sidebar}}, {{tl|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 {{tlx|Normalwraplink|''longlinkname''}}, where {{para||''longlinkname''}} is the long link without its square brackets.<br />
<br />
Use the {{para|wraplinks|true}} parameter to turn link wrapping off for the whole template.<br />
<br />
==Examples==<br />
Examples of this template can be found by checking "[//en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:Sidebar_with_collapsible_lists&namespace=10&hidelinks=1 What links here]" in template space.<br />
<br />
== See also ==<br />
* {{tl|Sidebar}}<br />
* {{tl|Collapsible list}}<br />
* {{tl|Collapsible lists option}}<br />
* {{tl|Navbox with collapsible groups}}<br />
<br />
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||<br />
<!--Categories--><br />
[[Category:Wikipedia metatemplates]]<br />
[[Category:Exclude in print]]<br />
<!--Interwikies--><br />
[[ar:قالب:Sidebar with collapsible lists]]<br />
[[ca:Plantilla:Barra lateral amb llistes plegables]]<br />
[[mk:Шаблон:Sidebar with collapsible lists]]<br />
[[ja:Template:Sidebar with collapsible lists]]<br />
[[pt:Predefinição:Sidebar with collapsible lists]]<br />
[[sl:Predloga:Sidebar with collapsible lists]]<br />
[[th:Template:Sidebar with collapsible lists]]<br />
[[zh:Template:Sidebar with collapsible lists]]<br />
}}</includeonly></div>Conner36