I tried to add a TOClimit template but it doesn't seem to work:
How to template is supposed to work: here
Page I'm having difficulties with: here
Any clue what I did wrong?
I tried to add a TOClimit template but it doesn't seem to work:
How to template is supposed to work: here
Page I'm having difficulties with: here
Any clue what I did wrong?
It appears that you did not limit the headings. You have {{TOClimit}}
where you need to have {{TOClimit|2}}
. Give it a whirl and see if it works. Lady Aleena (talk) 04:34, October 1, 2017 (UTC)
It could also be that you did not include the requisite CSS in your wiki's css to go with the template. Lady Aleena (talk) 04:38, October 1, 2017 (UTC)
The template is coded to automatically limit the headings at three if no limit is given.
Also I can't edit the CSS in the KND wiki since I'm not an admin there though I was able to find the requisite CSS for it:/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for instance, will limit to showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MoS). */ .toclimit-2 .toclevel-2 {display:none;} .toclimit-3 .toclevel-3 {display:none;} .toclimit-4 .toclevel-4 {display:none;} .toclimit-5 .toclevel-5 {display:none;} .toclimit-6 .toclevel-6 {display:none;} .toclimit-7 .toclevel-7 {display:none;}
Talk to your admin about adding the css needed. Lady Aleena (talk) 05:30, October 1, 2017 (UTC)
Unfortunately, there hasn't been an active administrator since May.
Could a staff member here add it?
You can always ask. Lady Aleena (talk) 06:10, October 1, 2017 (UTC)