Template:TOClimit: Difference between revisions

No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 27: Line 27:
},
},
"suggested": true,
"suggested": true,
"type": "boolean"
"type": "boolean",
"autovalue": "0"
},
},
"notitle": {
"notitle": {
Line 39: Line 40:
},
},
"suggested": true,
"suggested": true,
"type": "boolean"
"type": "boolean",
"autovalue": "0"
},
},
"noborder": {
"noborder": {
Line 51: Line 53:
},
},
"suggested": true,
"suggested": true,
"type": "boolean"
"type": "boolean",
"autovalue": "0"
},
},
"fontlarge": {
"fontlarge": {
Line 63: Line 66:
},
},
"suggested": true,
"suggested": true,
"type": "boolean"
"type": "boolean",
"autovalue": "0"
},
},
"inline": {
"inline": {
Line 75: Line 79:
},
},
"type": "boolean",
"type": "boolean",
"suggested": true
"suggested": true,
"autovalue": "0"
}
}
},
},

Revision as of 07:48, 16 August 2023

Customized TOC

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
No numberingnonum

Removes numbering

Auto value
0
Booleansuggested
No titlenotitle

Removes the heading

Auto value
0
Booleansuggested
No bordernoborder

Removes the border

Auto value
0
Booleansuggested
Larger font sizefontlarge

Sets size to match the regular content size

Auto value
0
Booleansuggested
Display inlineinline

Aligns items in one row (only possible if limit is set to 1)

Auto value
0
Booleansuggested