Template:OnelinerTOC

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Contents: Top - [[#{{{1}}}|{{{1}}}]]
Template documentation (View · Edit · History · Purge)

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

Note: Parameters have to match subheader names

Usage[edit source]

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

Displays:

Contents: Top - Section1 - Section2 - See also - References - External links

no-top parameter[edit source]

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

Displays:

Contents: Section1 - Section2 - See also - References - External links

align parameter[edit source]

Possible values: left, right and center.

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

Displays:

Contents: Top - Section1 - Section2 - See also - References - External links

Visit Template:OnelinerTOC/doc to edit this text! (How does this work?) (Refresh this text - why?)