Last edited 8 months ago
by Demo writer

Template:TOClimit: Difference between revisions

m ((username removed) (log details removed))
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
<div {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div>
<includeonly><templatestyles src="TOClimit/styles.css" />
<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 14:48, 23 March 2022

TOClimit

Template parameters

ParameterDescriptionTypeStatus
limitlimit

Limits heading levels (up to level 4). If value is 2, the TOC is 2 levels deep

Default
4
Example
2
Unknownrequired