Jump to content

Template:Sidebar/doc

From mediawiki.org

See the Sidebar template on Wikipedia, the Wikipedia version is Lua updated via the Sidebar Lua module.

Template data

[edit]

meta-template for the creation of sidebar templates

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The sidebar's name, i.e. the name following "Template:" in the title shown at the top of the sidebar's page.

Suggested values
{{subst:PAGENAME}}
Stringoptional
Sidebar floating behaviorfloat

Accepts the values none and left. The former aligns the box left without floating and the latter with floating behavior. The default float is right and does not need specifying. Prefer this parameter (and passing it to any using templates such as with {{Helpbox}}) to specifying your own floats in TemplateStyles.

Suggested values
none left
Stringoptional
Wrap links?wraplinks

Enable link wrapping (disabling nowraplinks CSS class) for the whole template

Booleanoptional
Body CSS classbodyclass class

CSS class to apply to the sidebar's body

Stringoptional
Body stylebodystyle style

Additional CSS styles to apply to the sidebar's body

Unknowndeprecated
Sidebar widthwidth

Width of the sidebar

Auto value
22em
Stringoptional
Table cell spacingcellspacing

Amount of distance/spacing between table cells

Auto value
0.4em 0
Unknownoptional
Outer titleoutertitle

Title to show on the outside of the sidebar

Stringsuggested
Outer title CSS classoutertitleclass

CSS class to apply to the sidebar's outer title

Stringoptional
Outer title styleoutertitlestyle

Additional CSS styles to apply to the sidebar's outer title

Stringdeprecated
Top imagetopimage

An image to show at the top of the sidebar

Contentsuggested
Top image CSS classtopimageclass

CSS class to apply to the sidebar's top image

Stringoptional
Top image styletopimagestyle

Additional CSS styles to apply to the sidebar's top image

Stringdeprecated
Top captiontopcaption

Caption for the sidebar's top image

Contentsuggested
Top caption styletopcaptionstyle

Additional CSS styles to apply to the sidebar's top image caption

Stringoptional
Pre-titlepretitle

Use to place a line such as "Part of the X series on" before the title.

Example
Part of the X series on
Stringoptional
Pre-title CSS classpretitleclass

CSS class to apply to the sidebar pre-title

Stringoptional
Pre-title stylepretitlestyle

Additional CSS styles to apply to the sidebar pre-title

Stringdeprecated
Titletitle

Use to place a title at the top of the sidebar

Stringsuggested
Title CSS classtitleclass

CSS class to apply to the sidebar title ("title" parameter)

Stringoptional
Title styletitlestyle

Additional CSS styles to apply to the sidebar title ("title" parameter)

Stringdeprecated
Imageimage

Use to place an image between the |title= (if used) and first section.

Stringsuggested
Image CSS classimageclass

CSS class to apply to the sidebar image ("image" parameter)

Stringoptional
Image styleimagestyle

Additional CSS styles to apply to the sidebar image ("image" parameter)

Stringdeprecated
Captioncaption

A caption for the sidebar image

Stringsuggested
Caption stylecaptionstyle

Additional CSS styles to apply to the sidebar image caption ("caption" parameter)

Stringoptional
Aboveabove

Optional text to appear above the group/list section

Stringsuggested
Above CSS classaboveclass

CSS class to apply to above sidebar content ("above" parameter)

Stringoptional
Above styleabovestyle

Additional CSS styles to apply to above sidebar content ("above" parameter)

Stringdeprecated
Heading CSS classheadingclass

CSS class to apply to all heading parameters

Stringoptional
Heading styleheadingstyle

Additional CSS styles to apply to all heading parameters

Stringdeprecated
Content CSS classcontentclass

CSS class to apply to all content parameters

Stringoptional
Content stylecontentstyle

Additional CSS styles to apply to all content parmaeters

Stringdeprecated
Heading 1heading1

no description

Stringoptional
Heading 1 styleheading1style

Additional CSS styles for "heading1"

Stringdeprecated
Content 1content1

no description

Stringoptional
Content 1 stylecontent1style

Additional CSS styles for "content1"

Stringdeprecated
Heading 2heading2

no description

Stringoptional
Heading 2 styleheading2style

Additional CSS styles for "heading2"

Stringdeprecated
Content 2content2

no description

Stringoptional
Content 2 stylecontent2style

Additional CSS styles for "content2"

Stringdeprecated
Heading 3heading3

no description

Stringoptional
Heading 3 styleheading3style

Additional CSS styles for "heading3"

Stringdeprecated
Content 3content3

no description

Stringoptional
Content 3 stylecontent3style

Additional CSS styles for "content3"

Stringdeprecated
Heading 4heading4

no description

Stringoptional
Heading 4 styleheading4style

Additional CSS styles for "heading4"

Stringdeprecated
Content 4content4

no description

Stringoptional
Content 4 stylecontent4style

Additional CSS styles for "content4"

Stringdeprecated
Heading 5heading5

no description

Stringoptional
Heading 5 styleheading5style

Additional CSS styles for "heading5"

Stringdeprecated
Content 5content5

no description

Stringoptional
Content 5 stylecontent5style

Additional CSS styles for "content5"

Stringdeprecated
Heading 6heading6

no description

Stringoptional
Heading 6 styleheading6style

Additional CSS styles for "heading6"

Stringdeprecated
Content 6content6

no description

Stringoptional
Content 6 stylecontent6style

Additional CSS styles for "content6"

Stringdeprecated
Heading 7heading7

no description

Stringoptional
Heading 7 styleheading7style

Additional CSS styles for "heading7"

Stringdeprecated
Content 7content7

no description

Stringoptional
Content 7 stylecontent7style

Additional CSS styles for "content7"

Stringdeprecated
Heading 8heading8

no description

Stringoptional
Heading 8 styleheading8style

Additional CSS styles for "heading8"

Stringdeprecated
Content 8content8

no description

Stringoptional
Content 8 stylecontent8style

Additional CSS styles for "content8"

Stringdeprecated
Heading 9heading9

no description

Stringoptional
Heading 9 styleheading9style

Additional CSS styles for "heading9"

Stringdeprecated
Content 9content9

no description

Stringoptional
Content 9 stylecontent9style

Additional CSS styles for "content9"

Stringdeprecated
Heading 10heading10

no description

Stringoptional
Heading 10 styleheading10style

Additional CSS styles for "heading10"

Stringdeprecated
Content 10content10

no description

Stringoptional
Content 10 stylecontent10style

Additional CSS styles for "content10"

Stringdeprecated
Heading 11heading11

no description

Stringoptional
Heading 11 styleheading11style

Additional CSS styles for "heading11"

Stringdeprecated
Content 11content11

no description

Stringoptional
Content 11 stylecontent11style

Additional CSS styles for "content11"

Stringdeprecated
Heading 12heading12

no description

Stringoptional
Heading 12 styleheading12style

Additional CSS styles for "heading12"

Stringdeprecated
Content 12content12

no description

Stringoptional
Content 12 stylecontent12style

Additional CSS styles for "content12"

Stringdeprecated
Heading 13heading13

no description

Stringoptional
Heading 13 styleheading13style

Additional CSS styles for "heading13"

Stringdeprecated
Content 13content13

no description

Stringoptional
Content 13 stylecontent13style

Additional CSS styles for "content13"

Stringdeprecated
Heading 14heading14

no description

Stringoptional
Heading 14 styleheading14style

Additional CSS styles for "heading14"

Stringdeprecated
Content 14content14

no description

Stringoptional
Content 14 stylecontent14style

Additional CSS styles for "content14"

Stringdeprecated
Heading 15heading15

no description

Stringoptional
Heading 15 styleheading15style

Additional CSS styles for "heading15"

Stringdeprecated
Content 15content15

no description

Stringoptional
Content 15 stylecontent15style

Additional CSS styles for "content15"

Stringdeprecated
Heading 16heading16

no description

Stringoptional
Heading 16 styleheading16style

Additional CSS styles for "heading16"

Stringdeprecated
Content 16content16

no description

Stringoptional
Content 16 stylecontent16style

Additional CSS styles for "content16"

Stringdeprecated
Heading 17heading17

no description

Stringoptional
Heading 17 styleheading17style

Additional CSS styles for "heading17"

Stringdeprecated
Content 17content17

no description

Stringoptional
Content 17 stylecontent17style

Additional CSS styles for "content17"

Stringdeprecated
Heading 18heading18

no description

Stringoptional
Heading 18 styleheading18style

Additional CSS styles for "heading18"

Stringdeprecated
Content 18content18

no description

Stringoptional
Content 18 stylecontent18style

Additional CSS styles for "content18"

Stringdeprecated
Heading 19heading19

no description

Stringoptional
Heading 19 styleheading19style

Additional CSS styles for "heading19"

Stringdeprecated
Content 19content19

no description

Stringoptional
Content 19 stylecontent19style

Additional CSS styles for "content19"

Stringdeprecated
Heading 20heading20

no description

Stringoptional
Heading 20 styleheading20style

Additional CSS styles for "heading20"

Stringdeprecated
Content 20content20

no description

Stringoptional
Content 20 stylecontent20style

Additional CSS styles for "content20"

Stringdeprecated
Heading 21heading21

no description

Stringoptional
Heading 21 styleheading21style

Additional CSS styles for "heading21"

Stringdeprecated
Content 21content21

no description

Stringoptional
Content 21 stylecontent21style

Additional CSS styles for "content21"

Stringdeprecated
Heading 22heading22

no description

Stringoptional
Heading 22 styleheading22style

Additional CSS styles for "heading22"

Stringdeprecated
Content 22content22

no description

Stringoptional
Content 22 stylecontent22style

Additional CSS styles for "content22"

Stringdeprecated
Heading 23heading23

no description

Stringoptional
Heading 23 styleheading23style

Additional CSS styles for "heading23"

Stringdeprecated
Content 23content23

no description

Stringoptional
Content 23 stylecontent23style

Additional CSS styles for "content23"

Stringdeprecated
Heading 24heading24

no description

Stringoptional
Heading 24 styleheading24style

Additional CSS styles for "heading24"

Stringdeprecated
Content 24content24

no description

Stringoptional
Content 24 stylecontent24style

Additional CSS styles for "content24"

Stringdeprecated
Heading 25heading25

no description

Stringoptional
Heading 25 styleheading25style

Additional CSS styles for "heading25"

Stringdeprecated
Content 25content25

no description

Stringoptional
Content 25 stylecontent25style

Additional CSS styles for "content25"

Stringdeprecated
Heading 26heading26

no description

Stringoptional
Heading 26 styleheading26style

Additional CSS styles for "heading26"

Stringdeprecated
Content 26content26

no description

Stringoptional
Content 26 stylecontent26style

Additional CSS styles for "content26"

Stringdeprecated
Heading 27heading27

no description

Stringoptional
Heading 27 styleheading27style

Additional CSS styles for "heading27"

Stringdeprecated
Content 27content27

no description

Stringoptional
Content 27 stylecontent27style

Additional CSS styles for "content27"

Stringdeprecated
Heading 28heading28

no description

Stringoptional
Heading 28 styleheading28style

Additional CSS styles for "heading28"

Stringdeprecated
Content 28content28

no description

Stringoptional
Content 28 stylecontent28style

Additional CSS styles for "content28"

Stringdeprecated
Heading 29heading29

no description

Stringoptional
Heading 29 styleheading29style

Additional CSS styles for "heading29"

Stringdeprecated
Content 29content29

no description

Stringoptional
Content 29 stylecontent29style

Additional CSS styles for "content29"

Stringdeprecated
Heading 30heading30

no description

Stringoptional
Heading 30 styleheading30style

Additional CSS styles for "heading30"

Stringdeprecated
Content 30content30

no description

Stringoptional
Content 30 stylecontent30style

Additional CSS styles for "content30"

Stringdeprecated
Heading 31heading31

no description

Stringoptional
Heading 31 styleheading31style

Additional CSS styles for "heading31"

Stringdeprecated
Content 31content31

no description

Stringoptional
Content 31 stylecontent31style

Additional CSS styles for "content31"

Stringdeprecated
Heading 32heading32

no description

Stringoptional
Heading 32 styleheading32style

Additional CSS styles for "heading32"

Stringdeprecated
Content 32content32

no description

Stringoptional
Content 32 stylecontent32style

Additional CSS styles for "content32"

Stringdeprecated
Heading 33heading33

no description

Stringoptional
Heading 33 styleheading33style

Additional CSS styles for "heading33"

Stringdeprecated
Content 33content33

no description

Stringoptional
Content 33 stylecontent33style

Additional CSS styles for "content33"

Stringdeprecated
Heading 34heading34

no description

Stringoptional
Heading 34 styleheading34style

Additional CSS styles for "heading34"

Stringdeprecated
Content 34content34

no description

Stringoptional
Content 34 stylecontent34style

Additional CSS styles for "content34"

Stringdeprecated
Heading 35heading35

no description

Stringoptional
Heading 35 styleheading35style

Additional CSS styles for "heading35"

Stringdeprecated
Content 35content35

no description

Stringoptional
Content 35 stylecontent35style

Additional CSS styles for "content35"

Stringdeprecated
Belowbelow

Optional text to appear below the group/list section

Stringsuggested
Below CSS classbelowclass

CSS class to apply to below sidebar content ("below" parameter)

Stringoptional
Below stylebelowstyle

Additional CSS styles for below sidebar content ("below" parameter)

Stringdeprecated
Show navbar?navbar

Whether to show a "(v ¡ t ¡ e)" navigation bar, for view / talk page / edit

Suggested values
off none
Stringoptional
Navbar stylenavbarstyle

no description

Stringoptional
Navbar font stylenavbarfontstyle

no description

Stringoptional
Top navbartnavbar

no description

Stringoptional
Top navbar styletnavbarstyle

no description

Stringoptional
Top navbar font styletnavbarfontstyle

no description

Stringoptional