مندرجات کا رخ کریں

سانچہ:Horizontal TOC

آزاد دائرۃ المعارف، ویکیپیڈیا سے

لوا خطا: unknown error۔


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 suppress the parentheses around subsection lists, use:

{{horizontal TOC|noparens=yes}}

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

{{horizontal TOC|limit=2}}

To float the table of contents to the center of the page, use:

{{horizontal TOC|align=center}}

For country and state lists with flag icons, see these examples: Legality of cannabis by country. And: Legality of cannabis by U.S. jurisdiction.

Limitations

[ترمیم]

Since the Vector 2022 skin forces the table of contents into a sidebar or a pop-up menu, this template does not control the placement of the TOC in that skin.