Template:Headless TOC

From Thetacola Wiki
Revision as of 00:23, 15 August 2022 by Thetacola (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Example

This template allows words or desired phrases to be linked in the table of contents 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 parameter, you can set this to deeper and deeper subhead levels.