Template:Year nav/sandbox
Appearance
Centuries: | |
---|---|
Decades: | |
Years: |
This is the template sandbox page for Template:Year nav (diff). See also the companion subpage for test cases. |
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
[edit]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|2029}}" at right:
Millennium: | 3rd millennium |
---|---|
Centuries: | |
Decades: | |
Years: |
Example for "{{Year nav|-814}}" at right:
Millennium: | 1st millennium BC |
---|---|
Centuries: | |
Decades: | |
Years: |
Example for "{{Year nav|1}}" at right:
Millennium: | 1st millennium |
---|---|
Centuries: | |
Decades: | |
Years: |
Example for "{{Year nav|911}}" at right:
Millennium: | 1st millennium |
---|---|
Centuries: | |
Decades: | |
Years: |
See also
[edit]- {{About year}} (hatnote)
- {{Dr}}
Template data
[edit]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
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 |