Template:Headless TOC/sandbox

{{#invoke:ustring|rep|{{=}}|{{#expr:{{{depth|1}}}+2}}}}{{{2|{{{1}}}}}}{{#invoke:ustring|rep|{{=}}|{{#expr:{{{depth|1}}}+2}}}}

{{{1}}}

__TOC__

Example

style="border-collapse:collapse"

|This template allow {{TOC tab|words or desired phrases}} to be {{TOC tab|linked in the table of contents}} {{TOC tab| 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. {{tl|TOC tab}} is an alias. For now, this must be placed under a subhead.

{{documentation}}