Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:TOC Limit/doc: Difference between revisions

Template page
Shirra (talk | contribs)
Created page with "{{Documentation/Header}} Template for hiding headings in TOC. Hidden headings are still visible in the TOC on the left side of the page. ==Syntax== {{T|TOC Limit|v1=heading number|v2=right=float TOC to the right}} ==CSS== To work, this template requires the following CSS: <pre> TOC hide headings: .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul {..."
 
Shirra (talk | contribs)
m doesn't work
Tag: Replaced
 
Line 1: Line 1:
{{Documentation/Header}}
{{Delete}}
Template for hiding headings in TOC. Hidden headings are still visible in the TOC on the left side of the page.
 
==Syntax==
{{T|TOC Limit|v1=heading number|v2=right=float TOC to the right}}
 
==CSS==
To work, this template requires the following CSS:
<pre>
/* TOC hide headings */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
</pre>