Template:Events by month links

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

This template generates a navigational box with a list of links to up to a decade of months.


By default, the template will determine the year from the article name, when transcluded in an article. If this fails, it will use a "center year" equal to the current year minus four years, which corresponds to a decade of links starting from the current year. To override the value used for the center year, set |year=YYYY.

How to manage this template's initial visibility
To manage this template's visibility when it first appears, add the parameter:

|state=collapsed to show the template in its collapsed state, i.e. hidden apart from its titlebar – e.g. {{Events by month links |state=collapsed}}
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{Events by month links |state=expanded}}
|state=autocollapse to show the template in its collapsed state but only if there is another template of the same type on the page – e.g. {{Events by month links |state=autocollapse}}

Unless set otherwise (see the |state= parameter in the template's code), the template's default state is collapsed.