Difference between revisions of "Template:Toclimit/doc"

From EVE University Wiki
Jump to: navigation, search
m (Docs needs updating)
Line 1: Line 1:
 +
{{update|Standardize the documentation according to the template {{t|documentation}}. [[User:Arin Mara|Arin Mara]] ([[User talk:Arin Mara|talk]]) 06:27, 23 April 2022 (UTC)}}
 
;Description
 
;Description
 
:This limits the level of heading displayed in the TOC. This uses <nowiki>__TOC__</nowiki>, so the TOC will appear where the heading is.
 
:This limits the level of heading displayed in the TOC. This uses <nowiki>__TOC__</nowiki>, so the TOC will appear where the heading is.

Revision as of 06:28, 23 April 2022

This page should be updated due to game changes.
Reason: Standardize the documentation according to the template {{documentation}}. Arin Mara (talk) 06:27, 23 April 2022 (UTC)
Description
This limits the level of heading displayed in the TOC. This uses __TOC__, so the TOC will appear where the heading is.
Required CSS
.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; }
toclevel-# is standard in all TOCs. toclimit-# is not; it is a div encasing the TOC when this template is used.
Syntax
{{toclimit|<limit>}}
limit is the highest level to display. It can be either the first parameter or the limit parameter.