Permanently protected template

Template:Year nav

From Wikipedia, the free encyclopedia
Jump to: navigation, 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: 20th century21st century22nd century
Decades: 1980s  1990s  2000s  – 2010s –  2020s  2030s  2040s
Years: 2011 2012 201320142015 2016 2017
Example for "{{Year nav|14}}" at right:
Millennium: 1st millennium
Centuries: 1st century BC1st century2nd century
Decades: 10s BC  0s BC  0s  – 10s –  20s  30s  40s
Years: 11 12 131415 16 17
Example for "{{Year nav|2069}}" at right:
Millennium: 3rd millennium
Centuries: 20th century21st century22nd century
Decades: 2030s  2040s  2050s  – 2060s –  2070s  2080s  2090s
Years: 2066 2067 206820692070 2071 2072
Example for "{{Year nav|-817}}" at right:
Millennium: 1st millennium BC
Centuries: 10th century BC9th century BC8th century BC
Decades: 840s BC  830s BC  820s BC  – 810s BC –  800s BC  790s BC  780s BC
Years: 820 BC 819 BC 818 BC817 BC816 BC 815 BC 814 BC

See also