Template:Horizontal TOC/doc: Difference between revisions

From Sarkarverse
Jump to navigation Jump to search
m (1 revision)
 
(clean up)
 
Line 2: Line 2:
<!-- Categories and interwikis go at the bottom of this page. -->
<!-- Categories and interwikis go at the bottom of this page. -->


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 [[SV:HLIST|horizontal list]] rather than a vertical one.


== Usage ==
== Usage ==

Latest revision as of 07:37, 12 April 2014

This template lays out the table of contents in a horizontal list rather than a vertical one.

Usage

{{horizontal TOC}}

There is no need to specify __NOTOC__: this template handles that automatically.

To hide the generated heading numbers, use:

{{horizontal TOC|nonum=yes}}

To limit the depth of the generated headings to the first headings only, use:

{{horizontal TOC|limit=2}}

See also