User:Makyen/sandbox/template/Archives years of months

{{Archives years of months
 * firstyear = first year to display, default: {{CURRENTYEAR}}
 * lastyear  = last year to display, default: {{CURRENTYEAR}}
 * abbrev3   = Use 3 character month names (e.g. Jan, Feb, Mar, ...) instead of the full names.
 * archprefix = Use as text in the page names between base name and YYYY/Month, default is "Archives/"

This produces lines formatted for use in an archive box. There is one line per year. The lise either increase, or decrease in date. The value of firstyear will be at the top and lastyear on the bottom. If either, or both, of the years are not defined then the default value of {{CURRENTYEAR}} is used.

Useage: {{Archives years of months|lastyear=2008}} {{Archives years of months|firstyear=2008}} {{Archives years of months|firstyear=2008|lastyear=2009}} {{Archives years of months|firstyear=2010}}

{{documentation}}