Template:Year nav
Calendar year / From Wikipedia, the free encyclopedia
![]() | This template is used on approximately 2,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
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:
Example for "{{Year nav|14}}" at right:
Example for "{{Year nav|2029}}" at right:
Example for "{{Year nav|-814}}" at right:
Quick Facts Millennium:, Centuries: ...
Close
Example for "{{Year nav|1}}" at right:
Example for "{{Year nav|911}}" at right:
See also
Template data
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Year nav in articles based on its TemplateData.
TemplateData for Year nav
More information Parameter, Description ...
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 |
Close
![]() | This template should be converted to a standardized format using Template:Sidebar. (Talk • Category) |
The above documentation is transcluded from Template:Year nav/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.