<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ASidebar%2Fdoc</id>
	<title>Template:Sidebar/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ASidebar%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Template:Sidebar/doc&amp;action=history"/>
	<updated>2026-04-15T04:21:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://linguifex.com/w/index.php?title=Template:Sidebar/doc&amp;diff=247&amp;oldid=prev</id>
		<title>Waahlis: Created page with &quot;{{documentation subpage}}  This template is intended as a metatemplate for sidebar templates (vertically-aligned navigation (navbox) templat...&quot;</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Template:Sidebar/doc&amp;diff=247&amp;oldid=prev"/>
		<updated>2012-11-11T22:22:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{documentation subpage}}  This template is intended as a metatemplate for sidebar templates (vertically-aligned &lt;a href=&quot;http://en.wikipedia.org/wiki/Navigation_templates&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Navigation templates&quot;&gt;navigation (navbox)&lt;/a&gt; templat...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation subpage}}&lt;br /&gt;
&lt;br /&gt;
This template is intended as a metatemplate for sidebar templates (vertically-aligned [[Wikipedia:Navigation templates|navigation (navbox)]] templates usually positioned on the right-hand sides of pages) in the same spirit as {{tl|Infobox}} for [[Wikipedia:Manual of Style/Infoboxes|infobox]] templates and {{tl|Navbox}} for navbox templates.&lt;br /&gt;
&lt;br /&gt;
{{tl|Sidebar with collapsible lists}} adds collapsibility to a Sidebar&amp;#039;s sections, i.e. the means to show or hide sections by clicking links beside their headings.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{sidebar&lt;br /&gt;
| name       = {{PAGENAME}}&lt;br /&gt;
| outertitle = {{{outertitle}}}&lt;br /&gt;
| topimage   = {{{topimage}}}&lt;br /&gt;
| topcaption = {{{topcaption}}}&lt;br /&gt;
| pretitle   = {{{pretitle}}}&lt;br /&gt;
| title      = {{{title}}}&lt;br /&gt;
| image      = {{{image}}}&lt;br /&gt;
&lt;br /&gt;
| above      = {{{above}}}&lt;br /&gt;
| heading1   = {{{heading1}}}&lt;br /&gt;
| content1   = {{{content1}}}&lt;br /&gt;
| heading2   = {{{heading2}}}&lt;br /&gt;
| content2   = {{{content2}}}&lt;br /&gt;
| heading3   = {{{heading3}}}&lt;br /&gt;
| content3   = {{{content3}}}&lt;br /&gt;
| content4   = ................&lt;br /&gt;
| heading35  = {{{heading35}}}&lt;br /&gt;
| content35  = {{{content35}}}&lt;br /&gt;
| below      = {{{below}}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Parameters with infrequent use omitted.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow: auto;&amp;quot;&amp;gt;&lt;br /&gt;
{{sidebar&lt;br /&gt;
| name       = {{subst:PAGENAME}}&lt;br /&gt;
| outertitle = &lt;br /&gt;
| topimage   = &lt;br /&gt;
| pretitle   = &lt;br /&gt;
| title      = &lt;br /&gt;
| image      = &lt;br /&gt;
&lt;br /&gt;
| headingstyle = &lt;br /&gt;
| contentstyle = &lt;br /&gt;
&lt;br /&gt;
| heading1 = &lt;br /&gt;
| content1 = &lt;br /&gt;
&lt;br /&gt;
| heading2 = &lt;br /&gt;
| content2 = &lt;br /&gt;
&lt;br /&gt;
| heading3 = &lt;br /&gt;
| content3 = &lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
| heading35 = &lt;br /&gt;
| content35 = &lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
No parameters are required unless {{tl|navbar}} links ({{small|V - T - E}}) are to appear at the bottom of the sidebar, in which case the {{para|name}} parameter is needed (see entry in the table immediately below).&lt;br /&gt;
&lt;br /&gt;
=== Principal ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;line-height: 1.4em;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 7.0em;&amp;quot; | Parameter !! Explanation&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|name}}&lt;br /&gt;
| The sidebar&amp;#039;s name, i.e., the name following &amp;quot;Template:&amp;quot; in the page&amp;#039;s name. Required for the {{tl|navbar}} links at the bottom of the sidebar to function correctly, unless these are omitted (see {{para|navbar}} at the bottom of this table). It is recommended to use &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{subst:PAGENAME}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039; for this field.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|outertitle}}&lt;br /&gt;
| Use to place a title for the sidebar immediately above the sidebar.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|topimage}}&lt;br /&gt;
| Use to place an image at the top of the sidebar, i.e., above any {{para|title}} included.&amp;lt;br /&amp;gt;&lt;br /&gt;
Full wikisyntax expected (i.e., &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[File:...]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;).&amp;lt;br /&amp;gt;&lt;br /&gt;
To add a caption below the image, use {{para|topcaption}}.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|pretitle}}&lt;br /&gt;
| Use to place a line such as &amp;quot;Part of the &amp;#039;&amp;#039;X&amp;#039;&amp;#039; series on&amp;quot; before the title.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|title}}&lt;br /&gt;
| Use to place a title for the sidebar at the top of the sidebar (immediately below the {{para|topimage}}, if used).&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|image}}&lt;br /&gt;
| Use to place an image between the {{para|title}} (if used) and first section.&amp;lt;br /&amp;gt;&lt;br /&gt;
As with {{para|topimage}}, full wikisyntax expected (i.e., &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[File:...]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;).&amp;lt;br /&amp;gt;&lt;br /&gt;
To add a caption below the image, use {{para|caption}}.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|headingstyle}}&lt;br /&gt;
| Use to alter the default [[Help:Cascading Style Sheets|CSS]] styling set for section headings.&amp;lt;br /&amp;gt;&lt;br /&gt;
To alter the CSS styling for a specific section&amp;#039;s heading, use {{para|heading&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;style}}, where &amp;#039;&amp;#039;n&amp;#039;&amp;#039; is the number of the section.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|contentstyle}}&lt;br /&gt;
| Use to alter the default CSS styling set for section content.&amp;lt;br /&amp;gt;&lt;br /&gt;
To alter the CSS styling for a particular section&amp;#039;s content, use {{para|content&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;style}}, where &amp;#039;&amp;#039;n&amp;#039;&amp;#039; is the number of the section.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|heading1}} || First section&amp;#039;s heading (if needed).&lt;br /&gt;
|-&lt;br /&gt;
| {{para|&amp;#039;&amp;#039;&amp;#039;content1&amp;#039;&amp;#039;&amp;#039;}} || First section&amp;#039;s content (required).&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|heading2}} || Second section&amp;#039;s heading (if needed).&lt;br /&gt;
|-&lt;br /&gt;
| {{para|content2}} || Second section&amp;#039;s content (if needed).&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|heading3}} || Third section&amp;#039;s heading (if needed).&lt;br /&gt;
|-&lt;br /&gt;
| {{para|content3}} || Third section&amp;#039;s content (if needed).&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | ...... etc ......&lt;br /&gt;
|-&lt;br /&gt;
| {{para|heading35}} || rowspan=&amp;quot;2&amp;quot; | Currently, the last possible section heading and/or content (if needed).&lt;br /&gt;
|-&lt;br /&gt;
| {{para|content35}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Other parameters ===&lt;br /&gt;
{| class=&amp;quot;wikitable plainlist&amp;quot; style=&amp;quot;line-height: 1.4em;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 10.0em;&amp;quot; | Parameter !! Explanation&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|above}}&lt;br /&gt;
| Corresponds to {{para|above}} offered by {{tl|Navbox}}.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*{{para|bodyclass}} (or {{para|class}})&lt;br /&gt;
*{{para|outertitleclass}}&lt;br /&gt;
*{{para|topimageclass}}&lt;br /&gt;
*{{para|pretitleclass}}&lt;br /&gt;
*{{para|titleclass}}&lt;br /&gt;
*{{para|imageclass}}&lt;br /&gt;
*{{para|aboveclass}}&lt;br /&gt;
*{{para|headingclass}}&lt;br /&gt;
*{{para|contentclass}}&lt;br /&gt;
*{{para|belowclass}}&lt;br /&gt;
|&lt;br /&gt;
[[Wikipedia:WikiProject Microformats#What are microformats?|Microformat]] classes for the corresponding parameters.&amp;lt;br /&amp;gt;&lt;br /&gt;
({{para|bodyclass}} (or {{para|class}}) applies to the sidebar as a whole.)&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|below}}&lt;br /&gt;
| Use to, e.g., add one or more portal links to the bottom of the template (by default in bold).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*{{para|bodystyle}} (or {{para|style}})&lt;br /&gt;
*{{para|outertitlestyle}}&lt;br /&gt;
*{{para|topimagestyle}}&lt;br /&gt;
*{{para|topcaptionstyle}}&lt;br /&gt;
*{{para|pretitlestyle}}&lt;br /&gt;
*{{para|titlestyle}}&lt;br /&gt;
*{{para|imagestyle}}&lt;br /&gt;
*{{para|captionstyle}}&lt;br /&gt;
*{{para|abovestyle}}&lt;br /&gt;
*{{para|headingstyle}}&lt;br /&gt;
*{{para|heading&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;style}}&lt;br /&gt;
*{{para|contentstyle}}&lt;br /&gt;
*{{para|content&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;style}}&lt;br /&gt;
*{{para|belowstyle}}&lt;br /&gt;
*{{para|navbarstyle}} (or {{para|tnavbarstyle}})&lt;br /&gt;
|&lt;br /&gt;
Use to alter default [[Help:Cascading Style Sheets|CSS]] styling for the corresponding parameters.&amp;lt;br /&amp;gt;&lt;br /&gt;
({{para|bodystyle}} (or {{para|style}}) applies to the sidebar as a whole.)&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|cellspacing}}&lt;br /&gt;
| Use to amend the default cellspacing set for the infobox-class table with which the sidebar is built.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|cellpadding}}&lt;br /&gt;
| Ditto the default cellpadding.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|navbar}} (or {{para|tnavbar}})&lt;br /&gt;
| Set to &amp;quot;none&amp;quot; (without the quotes) to remove the {{tl|navbar}} links appearing at the bottom of the sidebar.&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| {{para|navbarfontstyle}} (or {{para|tnavbarfontstyle}})&lt;br /&gt;
| Use to specify the font style used by the navbar at the bottom of the sidebar (see {{tl|navbar}} for options available).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Handling long links ==&lt;br /&gt;
{{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|&amp;#039;&amp;#039;longlinkname&amp;#039;&amp;#039;}}, where {{para||&amp;#039;&amp;#039;longlinkname&amp;#039;&amp;#039;}} is the long link without its square brackets.&lt;br /&gt;
&lt;br /&gt;
Use the {{para|wraplinks|true}} parameter to turn link wrapping off for the whole template.&lt;br /&gt;
&lt;br /&gt;
== Full blank syntax ==&lt;br /&gt;
(omitting sections 4 to penultimate)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow: auto;&amp;quot;&amp;gt;&lt;br /&gt;
{{Sidebar&lt;br /&gt;
| name        = {{subst:PAGENAME}}&lt;br /&gt;
| bodyclass   = &amp;lt;!--or class--&amp;gt;&lt;br /&gt;
| bodystyle   = &amp;lt;!--or style--&amp;gt;&lt;br /&gt;
| width       = &lt;br /&gt;
| cellspacing = &lt;br /&gt;
| cellpadding = &lt;br /&gt;
&lt;br /&gt;
| outertitle      = &lt;br /&gt;
| outertitleclass = &lt;br /&gt;
| outertitlestyle = &lt;br /&gt;
&lt;br /&gt;
| topimage        = &lt;br /&gt;
| topimageclass   = &lt;br /&gt;
| topimagestyle   = &lt;br /&gt;
| topcaption      = &lt;br /&gt;
| topcaptionstyle = &lt;br /&gt;
&lt;br /&gt;
| pretitle      = &lt;br /&gt;
| pretitleclass = &lt;br /&gt;
| pretitlestyle = &lt;br /&gt;
| title         = &lt;br /&gt;
| titleclass    = &lt;br /&gt;
&lt;br /&gt;
| image        = &lt;br /&gt;
| imageclass   = &lt;br /&gt;
| imagestyle   = &lt;br /&gt;
| caption      = &lt;br /&gt;
| captionstyle = &lt;br /&gt;
&lt;br /&gt;
| above      = &lt;br /&gt;
| aboveclass = &lt;br /&gt;
| abovestyle = &lt;br /&gt;
&lt;br /&gt;
| headingclass = &lt;br /&gt;
| headingstyle = &lt;br /&gt;
| contentclass = &lt;br /&gt;
| contentstyle = &lt;br /&gt;
&lt;br /&gt;
| heading1style = &lt;br /&gt;
| heading1      = &lt;br /&gt;
| content1style = &lt;br /&gt;
| content1      = &lt;br /&gt;
&lt;br /&gt;
| heading2style = &lt;br /&gt;
| heading2      = &lt;br /&gt;
| content2style = &lt;br /&gt;
| content2      = &lt;br /&gt;
&lt;br /&gt;
| heading3style = &lt;br /&gt;
| heading3      = &lt;br /&gt;
| content3style = &lt;br /&gt;
| content3      = &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--etc.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| heading35style = &lt;br /&gt;
| heading35      = &lt;br /&gt;
| content35style = &lt;br /&gt;
| content35      = &lt;br /&gt;
&lt;br /&gt;
| below      = &lt;br /&gt;
| belowclass = &lt;br /&gt;
| belowstyle = &lt;br /&gt;
&lt;br /&gt;
| navbar          = &amp;lt;!--or tnavbar--&amp;gt;&lt;br /&gt;
| navbarstyle     = &amp;lt;!--or tnavbarstyle--&amp;gt;&lt;br /&gt;
| navbarfontstyle = &amp;lt;!--or tnavbarfontstyle--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| wraplinks = true/false&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Templates]][[Category:Template documentation]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Waahlis</name></author>
	</entry>
</feed>