Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:Year topic navigation

Permanently protected template
From Wikipedia, the free encyclopedia
List of years in subject
In science
1697
1698
1699
1700
1701
1702
1703
In poetry
1697
1698
1699
1700
1701
1702
1703
In music
1697
1698
1699
1700
1701
1702
1703
Template documentation[view] [edit] [history] [purge]
WarningThis template is used onapproximately 7,200 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.
This template should be converted to a standardized format usingTemplate:Sidebar.(TalkCategory)

Usage

Format:  {{Year nav topic|year#|subject}}
Format:  {{Year nav topic|year#|subject|subj2}}
Format:  {{Year nav topic|1=year#|2=subject|3=subj2}}
Format:  {{Year nav topic|year#|subj1|subj2|subj3|subj4}}

Takes multiple parameters: the year# (year 101 or higher),followed by the main subject (such as:music), followed by optional related subjects, separated by vertical bars:

  • The year# becomes the bolded center of the 20-year range for the main subject, and any (optional) related subjects are displayed with a 6-year selection range.
  • For the first subject "xxx" there should be an article (or redirection) using the name "List_of_years_in_xxx" (which is the top line displayed in the navigation-box).
  • For the first subject "xxx" there should be a specific all-years navigation article using the name "Table_of_years_in_xxx" (the "table" link displayed in box), which has a compressed table linking all year/decade articles about the subject (such as: "Table of years in film").
  • The box width expands 5%-15% for optional subjects, widening to fit longer names (such as "archaeology" or "video gaming").

Examples

The example code is on the left, and the wiki-box display is on the right.
{{Year nav topic|1970|music}}

List of years in music
(table)

{{Year nav topic|1725|architecture}}

List of years in architecture
(table)
Note
This example shows the additional link to Buildings and structures completed that year, which appears only on Architecture pages.

{{Year nav topic|1798|archaeology|science}}

List of years in archaeology
(table)
In science
1795
1796
1797
1798
1799
1800
1801

{{Year nav topic|1905|art|film|music}}

List of years in art
(table)
In film
1902
1903
1904
1905
1906
1907
1908
In music
1902
1903
1904
1905
1906
1907
1908

{{Year nav topic|1497|art|music______|architecture_|literature}}

List of years in art
(table)
In music______
1494
1495
1496
1497
1498
1499
1500
In architecture_
1494
1495
1496
1497
1498
1499
1500
In literature____
1494
1495
1496
1497
1498
1499
1500

{{Year nav topic|1497|science|music |architecture|literature }}

List of years in science
(table)
In music
1494
1495
1496
1497
1498
1499
1500
In architecture
1494
1495
1496
1497
1498
1499
1500
In literature
1494
1495
1496
1497
1498
1499
1500
Note
This example shows use of trailing spaces, rather than underbars ("__") to align topics.

{{Year nav topic|1893|science|archaeology|television|film}}

List of years in science
(table)
In archaeology
1890
1891
1892
1893
1894
1895
1896
In television
1890
1891
1892
1893
1894
1895
1896
In film
1890
1891
1892
1893
1894
1895
1896

{{Year nav topic|101|music|art}}

List of years in music
(table)
In art
98
99
100
101
102
103
104

{{Year nav topic|100|art}}[invalid]

List of years in art
(table)
Note
This template is not valid with years 100 and below. Use{{Year nav}} or other history nav templates instead.

{{Year nav topic|2=philosophy|3=literature}}

List of years in philosophy
In literature
1697
1698
1699
1700
1701
1702
1703
Note
If the year is omitted and the other parameters are specified with2=,3=, etc., the year will be automatically filled in from the page title. If no year is found in the page title, 1700 will be used.

Tracking categories

See also

The abovedocumentation istranscluded fromTemplate:Year topic navigation/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_topic_navigation&oldid=1310260958"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp