Template:Sidebar: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
use styles for each guide
(correction)
(use styles for each guide)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="t_sidebar {{#if:{{{class|}}}|t_sidebar_{{{class|}}}}}" style="margin-right:20px;float:{{{float|right}}};{{#if:{{{width|}}}|width:{{{width}}}}}">{{#if:{{{title|}}}|<div class="t_sidebar_title" style="text-align:center;">{{{title}}}</div>}}{{#ifeq:{{{class|}}}|banner|<div style="padding:3px">}}
<templatestyles src="Template:Sidebar/styles.css" />{{#if:{{{styles|}}}|{{#tag:templatestyles||src=Template:Sidebar/styles-{{{styles|}}}.css}}}}<div class="t_sidebar t_sidebar_{{{float|right}}} {{#if:{{{class|}}}|t_sidebar_{{{class|}}}}}" style="{{#if:{{{width|}}}|width:{{{width}}};}}{{#if:{{{clear|}}}|clear:{{{clear}}};}}">
{{{contents}}}{{#ifeq:{{{class|}}}|banner|</div>}}</div></includeonly><noinclude>
{{#if:{{{title|}}}|<div class="t_sidebar_title">{{{title|}}}</div>}}
<div class="t_sidebar_contents">
{{{contents|}}}</div>
</div><noinclude>
{{Documentation}}
{{Documentation}}


[[Category:Templates|S]]</noinclude>
[[Category:Templates]]</noinclude>