Template:Year nav/doc
From WikiAlpha
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. |
This is a documentation subpage for Template:Year nav. It contains usage information, categories and other content that is not part of the original template 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
- {{Year dab}} (hatnote)