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|1970}}" at right:
Millennium: 2nd millennium
Centuries: 19th century20th century21st century
Decades: 1940s  1950s  1960s  – 1970s –  1980s  1990s  2000s
Years: 1967 1968 196919701971 1972 1973


Example for "{{Year nav|100}}" at right:
Millennium: 1st millennium
Centuries: 1st century BC1st century2nd century
Decades: 70s  80s  90s  – 100s –  110s  120s  130s
Years: 97 98 99100101 102 103


Example for "{{Year nav|-114}}" at right:
Millennium: 1st millennium BC
Centuries: 3rd century BC2nd century BC1st century BC
Decades: 140s BC  130s BC  120s BC  – 110s BC –  100s BC  90s BC  80s BC
Years: 117 BC 116 BC 115 BC114 BC113 BC 112 BC 111 BC