Parameters ของ แม่แบบ:Sidebar

No parameters are required unless {{navbar}} links ("v·d·e") are to appear at the bottom of the sidebar, in which case the parameter name is needed (see entry in the table immediately below).

Principal

ParameterExplanation
nameThe sidebar's name, i.e. the name following "Template:" in the page's name. Required for the {{navbar}} links at the bottom of the sidebar to function correctly, unless these are omitted (see navbar at the bottom of this table). It is recommended to use {{subst:PAGENAME}} for this field.
outertitleUse to place a title for the sidebar immediately above the sidebar.
topimageUse to place an image at the top of the sidebar, i.e. above any title included.
Full wikisyntax expected (i.e. [[Image:...]]).
To add a caption below the image, use topimagecaption.
pretitleUse to place a line such as "Part of the X series on" before the title.
titleUse to place a title for the sidebar at the top of the sidebar (immediately below the topimage, if used).
imageUse to place an image between the title (if used) and first section.
As with topimage, full wikisyntax expected (i.e. [[Image:...]]).
To add a caption below the image, use imagecaption.
headingstyleUse to alter the default CSS styling set for section headings.
To alter the CSS styling for a specific section's heading, use headingNstyle, where N is the number of the section.
contentstyleUse to alter the default CSS styling set for section content.
To alter the CSS styling for a particular section's content, use contentNstyle, where N is the number of the section.
heading1First section's heading (if needed).
content1First section's content (required).
heading2Second section's heading (if needed).
content2Second section's content (if needed).
heading3Third section's heading (if needed).
content3Third section's content (if needed).
...... etc ......
heading35Currently, the last possible section heading and/or content (if needed).
content35
navbarSet to "none" (without the quotes) to remove the {{navbar}} links appearing at the bottom of the sidebar.

Other parameters

ParameterExplanation
aboveCorresponds to above parameter offered by {{Navbox}}.

class  (or bodyclass)
outertitleclass
topimageclass
titleclass
imageclass

Microformat classes for the corresponding parameters.
(class / bodyclass applies to the sidebar as a whole.)

belowUse to e.g. add one or more portal links to the bottom of the template (by default in bold).

style  (or bodystyle)
outertitlestyle
topimagestyle
topcaptionstyle
pretitlestyle
titlestyle
imagestyle
captionstyle
belowstyle
navbarstyle

Use to alter default CSS styling for the corresponding parameters.
(style / bodystyle applies to the sidebar as a whole.)

cellspacing Use to amend the default cellspacing set for the infobox-class table with which the sidebar is built.
cellpaddingDitto the default cellpadding.
navbaroptionsUse to specify more options for the navbar at the bottom of the sidebar (see {{navbar}} for options available).