វិគីភីឌា:សារ ទំព័រគំរូ/តារាងមតិកា

ផ្លូវកាត់s:
WP:TM/TOC
WP:TMTOC
WP:CTOC

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.

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

What to type What it makes Notes
{{CompactTOC8}}
Talk

See template page for numerous examples. This highly customizable template can replace most other templates listed below, which are in the process of being switched over to its code.

 
{{AlphanumericTOC}}
Talk
Variable, see template page for examples  
{{CompactTOC}}
Talk

មាតិកា: 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

 
{{CompactTOC2}}
Talk
Contents: 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

ទំព័រគំរូ:CompactTOC4

 
{{CompactTOC5}}
Talk

ទំព័រគំរូ:CompactTOC5

 
{{CompactTOC5T}}
Talk

ទំព័រគំរូ:CompactTOC5T

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

ទំព័រគំរូ:CompactTOCrefs

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

ទំព័រគំរូ:CompactTOCrefs2

CompactTOCrefs without the forced linebreak.
{{CompactTOC7}}
Talk

ទំព័រគំរូ:CompactTOC7

 
{{CompactTOC7body}}
Talk

ទំព័រគំរូ:CompactTOC7body

 
{{CompactTOCprefix|prefix=!}}
Talk

ទំព័រគំរូ:CompactTOCprefix

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

ទំព័រគំរូ:TOCUSStates

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

ទំព័រគំរូ:TOCDecades

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

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

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

ទំព័រគំរូ:CategoryTOClc

{{CatAZ}}
Talk

ទំព័រគំរូ:CatAZ

{{CategoryYearTOC}}
Talk

ទំព័រគំរូ:CategoryYearTOC

{{LargeCategoryTOC}}

មាតិកា: 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

What to type What it makes
{{CategoryTOC-Numeric}}
Talk
{{CategoryIPTOC}}
Talk

ទំព័រគំរូ:CategoryIPTOC