Permanently protected template

Template:Year nav

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Millennium:
Centuries:
Decades:
  • '
Years:
  • '
Template documentation[view] [edit] [history] [purge]

Usage

Takes one optional parameter, the year-number. Prefix it with a minus sign for BC.

For AD years the number can be omitted if it is the page name.

The box width shrinks nearly 6% for smaller year-number sizes.

Example for "{{Year nav|2014}}" at right:
Millennium: 3rd millennium
Centuries:
Decades:
Years:
Example for "{{Year nav|14}}" at right:
Millennium: 1st millennium
Centuries:
Decades:
Years:
Example for "{{Year nav|2069}}" at right:
Millennium: 3rd millennium
Centuries:
Decades:
Years:
Example for "{{Year nav|-817}}" at right:
Millennium: 1st millennium BC
Centuries:
Decades:
Years:
Example for "{{Year nav|1}}" at right:
Millennium: 1st millennium
Centuries:
Decades:
Years:
Example for "{{Year nav|911}}" at right:
Millennium: 1st millennium
Centuries:
Decades:
Years:

See also

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Year nav

This template generates a navigation box for a year.

Template parameters

ParameterDescriptionTypeStatus
Year1

The year to generate a box for. If nothing is typed in, the title of the page will be used.

Example
2018
Numbersuggested