Template:CategoryTOC: Difference between revisions

From [N8]
Jump to navigation Jump to search
Created page with "<table id="toc" class="toc plainlinks noprint" summary="Contents" align="center"> <tr><th></th><td style="white-space:nowrap"><!-- -->{{#ifeq:{{{top|yes}}}|yes|  &nb..."
 
No edit summary
 
Line 1: Line 1:
<table id="toc" class="toc plainlinks noprint" summary="Contents" align="center">
<table id="toc" class="toc plainlinks noprint" summary="Contents" align="center">
<tr><th></th><td style="white-space:nowrap"><!--
<tr><th>'''Contents:'''</th><td style="white-space:nowrap"><!--
-->{{#ifeq:{{{top|yes}}}|yes|&nbsp;&nbsp;&nbsp; [{{fullurl:{{FULLPAGENAME}}}} Top]}}<!--
-->{{#ifeq:{{{top|yes}}}|yes|&nbsp;&nbsp;&nbsp; [{{fullurl:{{FULLPAGENAME}}}} Top]}}<!--
-->{{#ifeq:{{{numerals|group}}}|group|&nbsp;&nbsp;'''·'''&nbsp; [{{fullurl:{{FULLPAGENAME}}|from=0}} 0–9]}}<!--
-->{{#ifeq:{{{numerals|group}}}|group|&nbsp;&nbsp;'''·'''&nbsp; [{{fullurl:{{FULLPAGENAME}}|from=0}} 0–9]}}<!--

Latest revision as of 21:18, 14 June 2020

Template documentation
This documentation is transcluded from Template:CategoryTOC/doc. [edit] [purge]

This template displays a table of contents for all the categories.

Usage

This template can be used by entering the following onto a relevant page.

{{CategoryTOC}}

Optionally, you may choose what links to show:

{{CategoryTOC|lowercase=yes|uppercase=no}}
{{CategoryTOC|numerals=separate}}
{{CategoryTOC|top=no}}

Data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

This template displays a table of contents for all the categories.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Toptop

Display link to top of page

Default
yes
Example
no
Stringoptional
Numeralsnumerals

Display numerals? (one of: group, separate, no)

Default
group
Example
separate
Stringoptional
Uppercaseuppercase

Display uppercase letters?

Default
yes
Example
no
Stringoptional
Lowercaselowercase

Display lowercase letters?

Default
no
Example
yes
Stringoptional