Jump to content

Template:OnelinerTOC/doc

From Wikipedia, the free encyclopedia

Display a compact TOC with up to 9 titles in one line.

Note: Parameters have to match subheader names

Usage

[edit]

{{OnelinerTOC|Section1|Section2|See also|References|External links}}

Displays:

no-top parameter

[edit]

{{OnelinerTOC|no-top=y|Section1|Section2|See also|References|External links}}

Displays:

align parameter

[edit]

Possible values: left, right and center.

{{OnelinerTOC|align=center|Section1|Section2|See also|References|External links}}

Displays:


primary parameter

[edit]

Possible values: false.

Set this to false if this ToC is not used as the primary ToC of a page. This makes sure that the title of this ToC does not show up in the primary ToC. A side effect of this is the disappearing of the show/hide toggle.