Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:Year nav

Permanently protected template
From Wikipedia, the free encyclopedia
Calendar year
Years
Millennium
Centuries
Decades
Years
Template documentation[view] [edit] [history] [purge]
WarningThis template is used onapproximately 2,700 pages and changes may be widely noticed. Test changes in the template's/sandbox or/testcases subpages, or in your ownuser subpage. Consider discussing changes on thetalk page before implementing them.
This template adds an automatically generatedshort description. If the automatic short description is not optimal, override 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:
Calendar year
Years
Millennium
3rd millennium
Centuries
Decades
Years
Example for "{{Year nav|14}}" at right:
Calendar year
Years
Millennium
1st millennium
Centuries
Decades
Years
Example for "{{Year nav|2029}}" at right:
Calendar year
Years
Millennium
3rd millennium
Centuries
Decades
Years
Example for "{{Year nav|-814}}" at right:
Calendar year
Years
Millennium
1st millennium BC
Centuries
Decades
Years
Example for "{{Year nav|1}}" at right:
Calendar year
Years
Millennium
1st millennium
Centuries
Decades
Years
Example for "{{Year nav|911}}" at right:
Calendar year
Years
Millennium
1st millennium
Centuries
Decades
Years

See also

Template data

This is theTemplateData for this template used byTemplateWizard,VisualEditor and other tools.See a monthly parameter usage report forTemplate:Year nav in articles based on its TemplateData.

TemplateData for Year nav

This template generates a navigation box for a year.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Year1

The year to generate a box for. If nothing is typed in, the title of the page will be used.

Example
2018
Numbersuggested
The abovedocumentation istranscluded fromTemplate:Year nav/doc.(edit |history)
Editors can experiment in this template'ssandbox(edit |diff) andtestcases(edit) pages.
Add categories to the/doc subpage.Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Year_nav&oldid=1280996187"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp