Template:MonthlyLinks
Appearance
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
Creates a bulleted list of links to all pages under some root directory using the naming scheme "year/month". Month can be in long name format, short name format, single or double digit numerical, or left off for yearly archives.
Usage
{{MonthlyLinks
|monthformat=
|root=
|year=
|num=
}}
- monthformat – Format used in naming scheme. Set to:
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 - Location to look for links. Defaults to current page
- year - Year to use in path for search. Defaults to {{CURRENTYEAR}}
- num - If equal to "yes" uses a numbered list instead of a bulleted list