Difference between revisions of "Template:Horizontal TOC"

From DMARC Wiki
Jump to navigation Jump to search
(Is there a special reason to stuff all non-included code on one line and make it completely imparsable by humans?)
(add TOC limit option)
Line 1: Line 1:
<div class="hlist {{#if:{{{nonum|}}}|nonumtoc}}">__TOC__</div><noinclude>
+
<div class="hlist {{#if:{{{nonum|}}}|nonumtoc}}">{{#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 and language links on the /doc sub-page, not here -->
 
</noinclude>
 
</noinclude>

Revision as of 12:46, 10 November 2013

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}