Difference between revisions of "Template:TOC"

m
(Tag: 2017 source edit)
m
(Tag: 2017 source edit)

Allows to specify how deep the TOC levels go (up to level 4)

Template parameters

Parameter Description Type Status
Limit limit

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
<div class="{{#if:{{{limit|}}}|toclimit-{{{limit|}}}}}">__TOC__</div>
            
            
            <noinclude>
            
            
            <templatedata>
            
            {
            
            	"params": {
            
            		"limit": {}
            
            	},
            
            	"description": "Allows to specify how deep the TOC levels go (up to level 4)"
            
            }
            
            
            </templatedata>
            
            
            </noinclude>
Line 1: Line 1:
 
<div class="{{#if:{{{limit|}}}|toclimit-{{{limit|}}}}}">__TOC__</div>
 
<div class="{{#if:{{{limit|}}}|toclimit-{{{limit|}}}}}">__TOC__</div>
 +
<noinclude>
 +
<templatedata>
 +
{
 +
"params": {
 +
"limit": {}
 +
},
 +
"description": "Allows to specify how deep the TOC levels go (up to level 4)"
 +
}
 +
</templatedata>
 +
</noinclude>

Attachments

Discussions