Difference between revisions of "Template:Sidebar/doc"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "This template is intended as a metatemplate for sidebar templates (vertically-aligned navigation (navbox) templates usually positioned on the r...")
 
Line 1: Line 1:
This template is intended as a metatemplate for sidebar templates (vertically-aligned [[Wikipedia:Navigation templates|navigation (navbox)]] templates usually positioned on the righthand sides of pages) in the same spirit as {{tl|Infobox}} for [[Wikipedia:Manual of Style (infoboxes)|infobox]] templates and {{tl|Navbox}} for navbox templates.
+
{{Template:Documentation
 
+
|Template-Documentation =
{{tl|Sidebar with collapsible lists}} adds collapsibility to a Sidebar's sections, i.e. the means to show or hide sections by clicking links beside their headings.
 
 
 
 
== Usage ==
 
== Usage ==
 
Parameters with infrequent use omitted.
 
Parameters with infrequent use omitted.
Line 209: Line 207:
 
}}
 
}}
 
</pre>
 
</pre>
 +
}}

Revision as of 07:15, 27 December 2011

Template:Sidebar/doc

Template documentation

, where longlinkname is the long link without its square brackets.

Use the wraplinks parameter to turn link wrapping off for the whole template.

Full blank syntax

(omitting sections 4 to penultimate)

{{Sidebar
| name  = {{subst:PAGENAME}}
| class =        <!--or bodyclass-->
| style =        <!--or bodystyle-->
| cellspacing = 
| cellpadding = 
| sectdivider = 

| outertitle = 
| outertitleclass = 
| outertitlestyle = 

| topimage = 
| topimageclass = 
| topimagestyle = 
| topcaption = 
| topcaptionstyle = 

| pretitle = 
| pretitlestyle = 

| title = 
| titleclass = 
| titlestyle = 

| image = 
| imageclass = 
| imagestyle = 
| caption = 
| captionstyle = 

| abovestyle = 
| above = 

| headingstyle = 
| contentstyle = 

| heading1style = 
| heading1 = 
| content1style = 
| content1 = 

| heading2style = 
| heading2 = 
| content2style = 
| content2 = 

| heading3style = 
| heading3 = 
| content3style = 
| content3 = 

<!--etc.-->

| heading35style = 
| heading35 = 
| content35style = 
| content35 = 

| belowstyle = 
| below = 

| navbar = 
| navbarstyle = 
| navbaroptions = 

| wraplinks = true/false
}}

}}