Difference between revisions of "Template:Horizontal TOC"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{nonum|}}}|{{nonumtoc}}}}{{#if:{{{limit|}}}|toclimit-{{{limit}}}}}<div class="hlist horizontal-toc {{#if:{{{align|}}}|horizontal-toc-align-{{lc:{{{align|}}}}}}} {{#if:{{{clear|}}}|horizontal-toc-align-{{lc:{{{clear}}}}}}} {{#if:{{{limit|}}}|toclimit-{{{limit}}}}}">__TOC__</div>
+
{{#if:{{{nonum|}}}|{{nonumtoc}}}}<div class="hlist {{#if:{{{limit|}}}|toclimit-{{{limit}}}}} {{#ifeq:{{lc:{{{align|}}}}}|center|center}}" style="{{#switch:{{lc:{{{align|}}}}}
 +
|left=float:left; clear:{{{clear|left}}};
 +
|right=float:right; clear:{{{clear|right}}};
 +
|center=clear:{{{clear|none}}};
 +
|#default=clear:{{{clear|left}}};
 +
}}">__TOC__</div><noinclude>[[Category:Templates]][[Category:Table of contents templates]]</noinclude>

Latest revision as of 17:08, 20 July 2020