Template:Sidebar: Difference between revisions

Template page
w:c:strategywiki>Notmyhandle
(cleanup (style moved to common.css))
w:c:strategywiki>Notmyhandle
(fix)
Line 1: Line 1:
<include><div style="float:{{{float|right}}};margin:0px 10px 10px 10px;padding:3px;width:{{{width}}}">{{#if:{{{title|}}}|<div class="t_sidebar_title" style="text-align:center;font-size:larger;">'''{{{title}}}'''</div>}}{{{contents}}}</div></include>
<includeonly><div style="float:{{{float|right}}};margin:0px 10px 10px 10px;padding:3px;width:{{{width}}}">{{#if:{{{title|}}}|<div class="t_sidebar_title" style="text-align:center;font-size:larger;">'''{{{title}}}'''</div>}}{{{contents}}}</div></includeonly>
<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:

Revision as of 23:10, 15 January 2008


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
}}