Difference between revisions of "Template:Horizontal TOC"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
{{#if:{{{nonum|}}}|{{nonumtoc}}}}{{#if:{{{limit|}}}|toc limit-{{{limit}}}}}<div class="hlist horizontal-toc {{#if:{{{align|}}}|horizontal-toc-align-{{lc:{{{align|}}}}}}} {{#if:{{{clear|}}}|horizontal-toc-align-{{lc:{{{clear}}}}}}} {{#if:{{{limit|}}}|toc limit-{{{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>

Revision as of 23:23, 6 April 2019