Template:Sidebar/Documentation: Difference between revisions

Template page
w:c:strategywiki>Notmyhandle
(spacing)
w:c:strategywiki>Prod
(cats belong on their page)
Line 1: Line 1:
<noinclude>''Documentation for {{t|Sidebar}}.''
<noinclude>''Documentation for {{t|Sidebar}}.''<br/></noinclude>
----</noinclude>
This template is used to provide additional information in a sidenote style. It is used as follows:
This template is used to provide additional information in a sidenote style. It is used as follows:
<pre>{{sidebar
<pre>{{sidebar
Line 23: Line 22:
|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 parenthesis.
}}
}}
<includeonly>[[Category:Templates|S]]</includeonly>

Revision as of 23:33, 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

{{sidebar
|float=left
|width=250px
|title=Sidebar Example
|contents=You can put whatever you want here.  This is sort of like using really large parenthesis.
}}
The above displays the box shown below

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.