| 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)
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.
TemplateData for Year nav
This template generates a navigation box for a year.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Year | 1 | The year to generate a box for. If nothing is typed in, the title of the page will be used.
| Number | suggested |
