Template:Sidebar/Documentation: Difference between revisions

Template page
w:c:strategywiki>DrBob
(Moved from template)
 
w:c:strategywiki>Notmyhandle
(additions)
Line 1: Line 1:
<noinclude>''Documentation for {{t|Sidebar}}.''<br/></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 6: Line 7:
|contents=Box contents
|contents=Box contents
}}</pre>
}}</pre>
==Example==
<pre>{{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.
}}</pre>
;The above displays the box shown below:
{{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.
}}
<includeonly>[[Category:Templates|S]]</includeonly>

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