Template:Headless TOC: Difference between revisions

From Doc-Wiki
Jump to navigation Jump to search
m typo
 
m 1 revision imported
 
(No difference)

Latest revision as of 14:38, 1 January 2026

Example

This template allows

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.