Template:Sidebar/Documentation: Difference between revisions

Template page
w:c:strategywiki>Prod
m (→‎Example: sidebar on the side)
w:c:strategywiki>Prod
(→‎Example: grammar)
Line 19: Line 19:
|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>
}}</pre>

Revision as of 23:35, 23 February 2008

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)
|width=Box width (CSS syntax)
|title=Box title
|contents=Box contents
}}

Example

Page Template:Sidebar/styles.css has no content.

Sidebar Example
You can put whatever you want here. This is sort of like using really large parenthesis.
{{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.
}}