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.
"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Headless_TOC&oldid=504668" වෙතින් සම්ප්‍රවේශනය කෙරිණි