Template:Monthly archive list/doc
Appearance
This is a documentation subpage for Template:Monthly archive list. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 4,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Function
[edit]Creates links to any archives located under the /YYYY/Month schema.
Usage
[edit]{{Monthly archive list
| startyear = <!-- required -->
| monthformat = <!-- required -->
| root =
| auto =
| list =
| image =
| link =
| alt =
| search =
| search-break =
| search-width =
| search-button-label =
| target =
| bot =
| age =
| index =
| collapsible =
| collapsed =
| style =
| title =
| editbox =
}}
- startyear – first year that has an archive. Should always be specified as it cuts down the number of expensive parser functions (too many of these will break the display of the page)
- monthformat – format used for months in the naming scheme. Should almost always be specified with one of the following values: (it also cuts down the number of expensive parser functions)
m
– numerical, single digits for 1 to 9mm
– numerical, double digits for 01 to 09mmm
orshortname
– short names (Jan, Feb, etc)mmmm
orlongname
orname
– long names (January, February, etc)- If omitted or set to anything else, the default is to check for numerical (either single or double digits) and long names. This involves around three times as many expensive parser functions, and should be avoided if possible
- root - should be used to specify the root of the archive structure (./Archives for example). Defaults to current page
- Also allows through most of the other parameters of {{Archives}} (note that, for this template, the default for title is Archives)
Tracking categories
[edit]- Category:MonthlyArchive without startyear (3,748)
- Category:MonthlyArchive without monthformat (3,751)
Related templates
[edit]