Template:Sidebar

From KayakWiki


This is the Sidebar Template.

For more information on templates - see About Templates

A Sidebar is used to include information on a page that is related to a topic but does not fit in the page inline. It can also be used to provide definitions for a page or other similar uses. Please use this template for all KayakWiki sidebars - that will enable us to maintain a common look for all pages. A real example of this sidebar is on the Main Page - the yellow KayakWiki Project box is a sidebar. Take a look to see how it works.

Copy the template text between the lines below (no need to edit, just mark and copy) and paste it into the edit page. Then fill in the parameters. If a parameter does not apply, you can delete the parameter and its associated pipe (|).

Copy below this line:


{{Sidebar
|Width=
|TitleColor=
|BGColor=
|TitleText=
|BodyText=
}}


Copy above this line.


[edit] Parameter definitions

Parameter Description Mandatory or Default value
Width The width of the sidebar (in percent of content area width) 25
TitleColor The background colour for the title bar pale green
BGColor The background colour for the content white
TitleText The title of the sidebar Title
BodyText The content of the sidebar Example

The template follows (you won't see the whole thing if null defaults exist in the template):


Title

Example