Template:Headless TOC: Difference between revisions

From IxWiki
Jump to navigation Jump to search
wp>Codehydro
simplied CSS and HTML and fix minor bug
 
m 1 revision imported
 
(No difference)

Latest revision as of 18:03, 10 August 2020

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.