Difference between revisions of "Template:Horizontal TOC"

From DMARC Wiki
Jump to navigation Jump to search
(doc)
(fix)
Line 1: Line 1:
<table class="toc hlist" summary="Contents" align="{{{align|}}}"><tr>
+
<div class="toc hlist" summary="Contents" align="{{{align|}}}">
<td>
 
 
__TOC__
 
__TOC__
</td>
+
</div><noinclude>{{doc|content=
</tr>
 
</table><noinclude>{{doc|content=
 
  
 
This template lays out the table of contents in a [[WP:HLIST|horizontal list]] rather than a vertical one.
 
This template lays out the table of contents in a [[WP:HLIST|horizontal list]] rather than a vertical one.
 +
 +
== Usage ==
 +
 +
<pre>
 +
{{horizontaltoc}}
 +
</pre>
 +
 +
There is no need to specify <code><nowiki>__NOTOC__</nowiki></code>: this template handles that automatically.
  
 
[[Category:Wikipedia table of contents templates]]
 
[[Category:Wikipedia table of contents templates]]
</noinclude>
+
}}</noinclude>

Revision as of 15:27, 20 February 2012

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