Template:Year nav topic5

From Wikipedia, the free encyclopedia
Jump to: navigation, search
            List of years in subject           
... 1690 . 1691 . 1692 . 1693 . 1694 . 1695 . 1696 ...
1697 1698 1699 -1700- 1701 1702 1703
... 1704 . 1705 . 1706 . 1707 . 1708 . 1709 . 1710 ...
Art . Archaeology . Architecture . Literature . Music . Philosophy . Science +...
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Format:   {{Year nav topic5|year#|subject}}
Format:   {{Year nav topic5|year#|subject|subj2}}
Format:   {{Year nav topic5|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 topic5|1970|music}}

            List of years in music       (table)
... 1960 . 1961 . 1962 . 1963 . 1964 . 1965 . 1966 ...
1967 1968 1969 -1970- 1971 1972 1973
... 1974 . 1975 . 1976 . 1977 . 1978 . 1979 . 1980 ...
Art . Archaeology . Architecture . Literature . Music . Philosophy . Science +...


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

            List of years in archaeology       (table)
... 1788 . 1789 . 1790 . 1791 . 1792 . 1793 . 1794 ...
1795 1796 1797 -1798- 1799 1800 1801
... 1802 . 1803 . 1804 . 1805 . 1806 . 1807 . 1808 ...
   In science: 1795 1796 1797 -1798- 1799 1800 1801     
Art . Archaeology . Architecture . Literature . Music . Philosophy . Science +...


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

            List of years in art       (table)
... 1895 . 1896 . 1897 . 1898 . 1899 . 1900 . 1901 ...
1902 1903 1904 -1905- 1906 1907 1908
... 1909 . 1910 . 1911 . 1912 . 1913 . 1914 . 1915 ...
          In film: 1902 1903 1904 -1905- 1906 1907 1908     
      In music: 1902 1903 1904 -1905- 1906 1907 1908     
Art . Archaeology . Architecture . Literature . Music . Philosophy . Science +...


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

            List of years in art       (table)
... 1487 . 1488 . 1489 . 1490 . 1491 . 1492 . 1493 ...
1494 1495 1496 -1497- 1498 1499 1500
... 1501 . 1502 . 1503 . 1504 . 1505 . 1506 . 1507 ...
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     
Art . Archaeology . Architecture . Literature . Music . Philosophy . Science +...


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

            List of years in science       (table)
... 1487 . 1488 . 1489 . 1490 . 1491 . 1492 . 1493 ...
1494 1495 1496 -1497- 1498 1499 1500
... 1501 . 1502 . 1503 . 1504 . 1505 . 1506 . 1507 ...
      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     
Art . Archaeology . Architecture . Literature . Music . Philosophy . Science +...
Note
This example shows use of trailing spaces, rather than underbars ("__") to align topics.


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

            List of years in science       (table)
... 1883 . 1884 . 1885 . 1886 . 1887 . 1888 . 1889 ...
1890 1891 1892 -1893- 1894 1895 1896
... 1897 . 1898 . 1899 . 1900 . 1901 . 1902 . 1903 ...
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     
Art . Archaeology . Architecture . Literature . Music . Philosophy . Science +...


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

            List of years in music       (table)
... 91 . 92 . 93 . 94 . 95 . 96 . 97 ...
98 99 100 -101- 102 103 104
... 105 . 106 . 107 . 108 . 109 . 110 . 111 ...
           In art: 98 99 100 -101- 102 103 104     
Art . Archaeology . Architecture . Literature . Music . Philosophy . Science +...


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

            List of years in art       (table)
... 90 . 91 . 92 . 93 . 94 . 95 . 96 ...
97 98 99 -100- 101 102 103
... 104 . 105 . 106 . 107 . 108 . 109 . 110 ...
Art . Archaeology . Architecture . Literature . Music . Philosophy . Science +...
Note 
This template is not valid with years 100 and below. Use {{Year nav BC}} or other history nav templates instead.

See also