Template:Year nav/doc

From IxWiki
Jump to navigation Jump to search

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|2029}}" at right:
Millennium: 3rd millennium
Centuries:
Decades:
Years:
Example for "{{Year nav|-814}}" 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 for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Year nav in articles based on its TemplateData.

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