Predložak:TOC limit

Izvor: KiWi

(Usporedba među inačicama)
Skoči na: orijentacija, traži
Goranigaly (Razgovor | doprinosi)
(Nova stranica: <includeonly><css> .toclimit-2 .toclevel-2, .toclimit-3 .toclevel-3, .toclimit-4 .toclevel-4, .toclimit-5 .toclevel-5, .toclimit-6 .toclevel-6, .toclimit-7 .toclevel-7 { display: none…)

Trenutačna izmjena od 16:11, 17. ožujka 2015.

Usage

This template inserts a table of contents that limits subheadings lower than a certain level. This helps keep the table of contents short and no cluttered. To use it, type:

Predložak:NoWikiTemp

Predložak:Parameter


For example, {{TOC limit|3}} allows headings with =, == and ===, but nothing further, like =====. This can be seen below:

Predložak:ShowExamplePredložak:Show <css> .toclimit-2 .toclevel-2, .toclimit-3 .toclevel-3, .toclimit-4 .toclevel-4, .toclimit-5 .toclevel-5, .toclimit-6 .toclevel-6, .toclimit-7 .toclevel-7 { display: none; } </css>

Header 1

Header 2

Header 2.1

Header 2.1.2 (Not displayed in the TOC)

Header 2.1.2 (Not displayed in the TOC)

Header 2.1.2.1 (Not displayed in the TOC)

Header 2.2

Header 3

Predložak:Show

Predložak:Cat

Osobni alati