Template:MonthlyLinks/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:MonthlyLinks. It contains usage information, categories and other content that is not part of the original template page. |
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
Related Templates