From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
m (category fix)
Line 14: Line 14:
|width=250px
|width=250px
|title=Sidebar example
|title=Sidebar example
|contents=You can put whatever you want here.  This is sort of like using really large parenthesis.
|contents=You can put whatever you want here.  This is sort of like using really large parentheses.
}}
}}
<pre>{{sidebar
<pre>{{sidebar

Revision as of 11:36, 7 June 2018

Documentation for {{Sidebar}}.
This template is used to provide additional information in a sidenote style. It is used as follows:

{{sidebar
|float=left, right, or none (default: right)
|class=Variant class (e.g. "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''.
}}