From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search

This page has been transcluded from Template:Sidebar/Documentation.


This template is used to provide additional information in a sidenote style. It is used as follows:

{{sidebar
|float=left, right, or center (default: right)
|clear=left, right, or both (default: empty)
|styles=Guide-specific variant classes. (ex. eternal-sonata; default: empty)
|class=Variant class (ex. "banner"; default: empty)
|width=Box width (CSS syntax)
|title=Box title
|contents=Box contents
}}

Example

Sidebar example
You can put whatever you want here. This is sort of like using really large parentheses.
{{sidebar
|float=right
|width=250px
|title=Sidebar example
|contents=You can put whatever you want here.  This is sort of like using really large parentheses.
}}
Banner class example
This is using the "banner" class.
{{sidebar
|float=right
|class=banner
|width=250px
|title=Banner class example
|contents=This is using the "banner" ''class''.
}}

Used to create a sidebar next to the main text.

Template parameters[Edit template data]

This template has custom formatting.

ParameterDescriptionTypeStatus
Floatfloat

On which side of the page the sidebar should appear.

Suggested values
left right center
Example
right
Stringsuggested
Clearclear

no description

Suggested values
left right both
Stringoptional
Stylesstyles

Any guide-specific CSS classes to apply to the sidebar box.

Stringoptional
Classclass

The name of a CSS class that modifies the display of the sidebar.

Stringoptional
Widthwidth

The width of the sidebar, using CSS syntax.

Stringoptional
Titletitle

Text to display at the top of the sidebar box.

Example
Sidebar Title
Stringrequired
Contentscontents

The content to display within the sidebar.

Contentrequired