Template:ToC/cell
[[ToC/cell#{{{3}}}|{{{2}}} {{{3}}}]]
{{ToC/cell|1|2|3}} 1 - The number of times to indent the table. (for subheadings) 2 - The number to be displayed by the table of contents entry. 3 - The name of the anchor you want it to jump to.