Template:Year nav

From WikiAlpha
Revision as of 11:28, 16 April 2017 by LuisAnton (Talk | contribs)

Jump to: navigation, search
The below content is licensed according to Creative Commons Attribution-ShareAlike License contrary to the public domain logo at the foot of the page. It originally appeared on http://en.wikipedia.org. The original article might still be accessible here. You may be able to find a list of the article's previous contributors on the talk page.
{| class="infobox" style="text-align: center;"

! style="text-align:right;" | Millennium: | |- ! style="text-align:right;" | Centuries: | class="hlist" |

|- ! style="text-align:right;" | Decades: | class="hlist" |

  • '

|- ! style="text-align:right;" | Years: | class="hlist" |

  • '

|}

[edit] [purge] Template documentation
The below content is licensed according to Creative Commons Attribution-ShareAlike License contrary to the public domain logo at the foot of the page. It originally appeared on http://en.wikipedia.org. The original article might still be accessible here. You may be able to find a list of the article's previous contributors on the talk page.

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:

See also