Tagagamit:Bluemask/Temp/Wikipedia:Template messages/Compact tables of contents

Mula sa Wikipediang Tagalog, ang malayang ensiklopedya
Jump to navigation Jump to search
Mga tuwirang daan:

This page lists ways to create several kinds of compact tables of contents (TOC). Please note that a normal compact TOC will not work when put on Category pages; this page contains a separate section instructing you how to put a compact TOC on Category pages.

Non-Category pages[baguhin | baguhin ang batayan]

These should work on pages whose title does not begin with "Category:".

Alphabetical lists[baguhin | baguhin ang batayan]

What to type What it makes Notes
{{AlphanumericTOC}}
Talk
Variable, see template page for examples
{{compactTOC}}
Talk

Mga nilalaman: Top - 0–9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

 
{{compactTOC8}}
Talk

This highly customized template can replace most other templates, who are in the process of being switched.

{{compactTOC2}}
Talk
Mga nilalaman Top · 0–9 · A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
 
{{CompactTOC4}}
Talk

Padron:CompactTOC4

 
{{compactTOC5}}
Talk

Padron:CompactTOC5

 
{{compactTOC5T}}
Talk

Padron:CompactTOC5T

Decreases white space in CompactTOC5.
{{compactTOCrefs}}
Talk

Padron:CompactTOCrefs

CompactTOC5T with a References section and forced linebreak.
{{compactTOCrefs2}}
Talk

Padron:CompactTOCrefs2

CompactTOCrefs without the forced linebreak.
{{CompactTOCprefix|prefix=!}}
Talk

Padron:CompactTOCprefix

Similar to the above, includes the prefix in the links: designed for use with pages such as List of acronyms and initialisms: A.
{{TOCStates|before=|after=[[#Other section|Other section]]|noendlinks=}}
Talk

Padron:TOCStates

Use before= or after= to manually create links to other sections on the page. If after is left blank, links to [[#See also]] and [[#External links]] are automatically created unless you also set noendlinks=true.
{{TOCDecades}}
Talk

Padron:TOCDecades

Based on CompactTOC3. Up to 3 optional extra section links.

Category pages[baguhin | baguhin ang batayan]

Use one of these on pages whose title begins with "Category:".

Alphabetical lists[baguhin | baguhin ang batayan]

What to type What it makes
{{CategoryTOC}}
Talk
{{CategoryTOClc}}
Talk

Padron:CategoryTOClc

{{CatAZ}}
Talk
{{CategoryYearTOC}}
Talk

Padron:CategoryYearTOC

Numeric lists[baguhin | baguhin ang batayan]

What to type What it makes
{{NumericTOC}}
Talk

Padron:NumericTOC

{{CategoryIPTOC}}
Talk

Padron:CategoryIPTOC