Plantilla:PutInTOC

De WikiEducator
Saltar a: navegación, buscar


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.

{{PutInTOC
}}





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

{{PutInTOC
|Title=My Section
|Depth=2
}}


My Section



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

{{PutInTOC
|Title=My Sub-section
|Depth=3
}}


My Sub-section



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

{{PutInTOC
|Title=My Sub-sub-section
|Depth=4
}}


My Sub-sub-section