Difference between revisions of "Template:Horizontal TOC"

From DMARC Wiki
Jump to navigation Jump to search
(add nonum support)
m (17 revisions imported)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div class="hlist {{#if:{{{nonum|}}}|nonumtoc}}">__TOC__</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 and language links on the /doc sub-page, not here -->
+
<!-- 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}}}}}}