Open main menu

Template:Headless TOC

Revision as of 15:00, 29 December 2018 by Johannes Axner (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Example

This template allow

words or desired phrases

words or desired phrases
to be

linked in the table of contents

linked in the table of contents

without a new section

without a new section
but must be enclosed in a table to avoid creating line breaks.

However, as shown in the preceding line, it is easy to make a table look like a normal paragraph. {{TOC tab}} is an alias.

With the

depth

depth
parameter, you can set this to
deeper
deeper
and deeper
and deeper
subhead levels.
Template documentation[create]