Template:PutInTOC

Usage
This template puts a Title in the TOC without making the heading visible in the wiki article. The initial idea is to use this inside pedagogical templates so that they can be included in the TOC. The depth={1,2,3,4,5,6}.

The following syntax does nothing. This is done to remain consistent with the original pedagogical templates that had no method for including them in the TOC.



The following syntax puts the "Title" in the TOC at at depth of 2 (Section).



The following syntax puts the "Title" in the TOC at at depth of 3 (Section):

The following syntax puts the "Title" in the TOC at at depth of 4 (Section):