Bruger:PHansen/Sidebar with collapsible lists
|
- en:Template:Sidebar en metaskabelon
- {{start sidebar page}} - en:Template:start sidebar page : vedr. blot visning af dokumentation
- {{end sidebar page}} -en:Template:end sidebar page er blot tabelafslutning : |}
{{Sidebar with collapsible lists}}/en:Template:Sidebar with collapsible lists is a version of {{Sidebar}}/Bruger:PHansen/Sidebar offering {{collapsible list}}s as an alternative to Sidebar's content parameters.
Pro forma (for collapsible list-related parameters)
[redigér | rediger kildetekst]Parameters with infrequent use omitted.
{{Sidebar with collapsible lists ...Insert title/image/etc parameters per Template:Sidebar here... |listtitlestyle = |liststyle = |list1name = |list1title = |list1 = |list2name = |list2title = |list2 = ...... |list15name = |list15title = |list15 = ...Possible portal/tnavbar-related parameters per Template:Sidebar... }}
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 collapsible list-related parameters
[redigér | rediger kildetekst]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.
Handling long links
[redigér | rediger kildetekst]As with {{Sidebar}}, {{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 {{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.
See also
[redigér | rediger kildetekst]- {{Sidebar}}
- {{Sidebar with heading backgrounds}}
- {{Sidebar with dividers}}
- {{Collapsible list}}
- {{Collapsible lists option}}
- {{Navbox with collapsible groups}}
- {{PhysicsNavigation}}
- {{Sidebar with dividers}}
- {{Sidebar with heading backgrounds}}
- {{Sidebar with collapsible lists}}
- {{PhysicsNavigation}}
- en:template:Sidebar with dividers
- en:template:Sidebar with heading backgrounds
- en:template:Sidebar with collapsible lists
- en:template:PhysicsNavigation