Module:Archive list/doc explained

Module:Archive list can be applied to any talk page or discussion archive, and will return links to all the numbered archives of that page or its parent page. By default the module uses the naming convention specified at, Talk:PAGENAME/Archive 1, with a capital A, a space before the number, and no leading zeros. This module should not usually be substituted – that way, the list of links will update itself whenever a new numbered archive is added. For ease of access, can be used.

This module is used in to produce a box of numbered archive links without entering them all manually.

Usage

Main

The main function. Returns a list of archive links.

{{#invoke:Archive list|main
| root                = 
| links               = 
| nobr                = 
| prefix              = 
| prefixspace         = 
| linkprefix          = 
| linkprefixspace     = 
| sep                 = 
| linesep             = 
| start               = 
| max                 = 
| auto                =
| leavefirstcellblank =
}}
Count

The count function. Returns the number of the most recent archive.

{{#invoke:Archive list|count
| root            = 
| prefix          = 
| prefixspace     = 
}}

Parameters

Valid parameters are:

Limitations

The old template was limited to detecting 200 archives. This module has no such limitation. However, at very high numbers of archives this module might reach the expensive function call limit. On a page with no other templates that call expensive functions, this module should be able to output 400,000+ archive links. On pages with other templates that make expensive function calls, the module may fail sooner.