Difference between revisions of "Template:Horizontal TOC"
Jump to navigation
Jump to search
(add TOC limit option) |
Dmarcadmin (talk | contribs) m (17 revisions imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <div class="hlist {{#if:{{{nonum|}}}|nonumtoc}}">{{#if:{{{limit|}}}|<div class="toclimit-{{{limit}}}">}}__TOC__</div>{{#if:{{{limit|}}}|</div>}}<noinclude> | + | <div class="hlist {{#if:{{{nonum|}}}|nonumtoc}} {{#ifeq:{{lc:{{{align|}}}}}|center|center}}" style="{{#switch:{{lc:{{{align|}}}}} |
+ | |left=float: left; clear: {{{clear|left}}}; | ||
+ | |right=float: right; clear: {{{clear|right}}}; | ||
+ | |center= width:auto; margin:auto; clear: {{{clear|none}}}; | ||
+ | |#default=clear: {{{clear|left}}}; | ||
+ | }}">{{#if:{{{limit|}}}|<div class="toclimit-{{{limit}}}">}}__TOC__</div>{{#if:{{{limit|}}}|</div>}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
− | <!-- place category | + | <!-- place category links on the /doc sub-page, not here --> |
</noinclude> | </noinclude> |
Latest revision as of 02:11, 17 July 2015
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}