Template:Sidebar: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
use styles for each guide
m (optional clear parameter)
(use styles for each guide)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:Sidebar/styles.css" /><div class="t_sidebar t_sidebar_{{{float|right}}} {{#if:{{{class|}}}|t_sidebar_{{{class|}}}}}" style="{{#if:{{{width|}}}|width:{{{width}}};}}{{#if:{{{clear|}}}|width:{{{clear}}};}}">
<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}}};}}">
{{#if:{{{title|}}}|<div class="t_sidebar_title">{{{title|}}}</div>}}
{{#if:{{{title|}}}|<div class="t_sidebar_title">{{{title|}}}</div>}}
<div class="t_sidebar_contents">{{{contents|}}}</div>
<div class="t_sidebar_contents">
{{{contents|}}}</div>
</div><noinclude>
</div><noinclude>
{{Documentation}}
{{Documentation}}


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