Last edited 8 months ago
by Demo writer

Template:TOClimit: Difference between revisions

hw>Mlink-rodrigue
No edit summary
 
(Created page with "<div {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div>")
Tag: 2017 source edit
Line 1: Line 1:
<includeonly><templatestyles src="TOClimit/styles.css" />
<div {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div>
<div class="{{#if:{{{limit|}}}|toclimit-{{{limit|}}}}}">__TOC__</div></includeonly><noinclude>
<templatedata>
{
"params": {
"limit": {
"description": {
"en": "Limits heading levels (up to level 4). If value is 2, the TOC is 2 levels deep",
"de": "Ermöglicht die Tiefe des Inhaltsverzeichnisses zu bestimmen (bis Level 4)"
},
"example": "2",
"default": "4",
"required": true
}
},
"description": {
"en": "TOClimit",
"de": "TOClimit"
}
}
</templatedata>
</noinclude>

Revision as of 11:54, 3 December 2021