This message will disappear after all relevant tasks have been resolved.
Semantic MediaWiki
There are 1 incomplete or pending task to finish installation of Semantic MediaWiki. An administrator or user with sufficient rights can complete it. This should be done before adding new data to avoid inconsistencies.1. Usage
The TOCMaxDepth template is used to limit the table of contents depth. If this template is not used, the depth of the table of contents can contain up to 6 levels and could be then unreadable. This template must be set just before the first title of the article to be aligned with normal TOC. The TOC is displayed where the template is used. This template can be used only once per article.
Usage: {{TOCMaxDepth| maxdepth=<MaxDepth>}}
Where:
- <MaxDepth> is heading levels (up to level 5) that must be displayed in the TOC. If value is 2, the TOC is 2 levels deep
2. Templatedata
Customized TOC
Parameter | Description | Type | Status | |
---|---|---|---|---|
maxdepth | maxdepth | Limits heading levels (up to level 5). If value is 2, the TOC is 2 levels deep
| Number | required |
3. Basic examples
3.1. Level2: created especially for test
3.1.1. Level3: created especially for test
3.1.1.1. Level4: created especially for test
3.1.1.1.1. Level5: created especially for test
You type | You get |
---|---|
TOC displaying only 3 levels
{{TOCMaxDepth| maxdepth=3}} |
|
4. Maintenance
This template is a template common to all ST wikis.
Modifications must be done into the WikiModel. They must be reviewed by all ST wikis maintainers.
When approved, the template can be pushed/merged towards all ST wikis.