Bản mẫu:Year nav topic5

Bách khoa toàn thư mở Wikipedia
Danh sách chủ đề theo năm
  • 1697
  • 1698
  • 1699
  • 1700
  • 1701
  • 1702
  • 1703
  • Khoa học
    1697
    1698
    1699
    1700
    1701
    1702
    1703
    Âm nhạc
    1697
    1698
    1699
    1700
    1701
    1702
    1703
    Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

    Cách sử dụng[sửa mã nguồn]

    Format:   {{Year nav topic5|year#|subject}}
    Format:   {{Year nav topic5|year#|subject|subj2}}
    Format:   {{Year nav topic5|1=year#|2=subject|3=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[sửa mã nguồn]

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

    Danh sách music theo năm
  • 1967
  • 1968
  • 1969
  • 1970
  • 1971
  • 1972
  • 1973
  • {{Year nav topic5|1725|architecture}}

    Danh sách architecture theo năm
  • 1722
  • 1723
  • 1724
  • 1725
  • 1726
  • 1727
  • 1728
  • Note
    This example shows the additional link to Buildings and structures completed that year, which appears only on Architecture pages.

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

    Danh sách archaeology theo năm
  • 1795
  • 1796
  • 1797
  • 1798
  • 1799
  • 1800
  • 1801
  • {{Year nav topic5|1905|art|film|music}}

    Danh sách art theo năm
  • 1902
  • 1903
  • 1904
  • 1905
  • 1906
  • 1907
  • 1908
  • {{Year nav topic5|1497|art|music______|architecture_|literature}}

    Danh sách art theo năm
  • 1494
  • 1495
  • 1496
  • 1497
  • 1498
  • 1499
  • 1500
  • music______
    1494
    1495
    1496
    1497
    1498
    1499
    1500
    architecture_
    1494
    1495
    1496
    1497
    1498
    1499
    1500
    literature____
    1494
    1495
    1496
    1497
    1498
    1499
    1500

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

    Danh sách science theo năm
  • 1494
  • 1495
  • 1496
  • 1497
  • 1498
  • 1499
  • 1500
  • architecture
    1494
    1495
    1496
    1497
    1498
    1499
    1500
    literature
    1494
    1495
    1496
    1497
    1498
    1499
    1500
    Note
    This example shows use of trailing spaces, rather than underbars ("__") to align topics.

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

    Danh sách science theo năm
  • 1890
  • 1891
  • 1892
  • 1893
  • 1894
  • 1895
  • 1896
  • archaeology
    1890
    1891
    1892
    1893
    1894
    1895
    1896
    television
    1890
    1891
    1892
    1893
    1894
    1895
    1896

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

    Danh sách music theo năm
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • {{Year nav topic5|100|art}} [invalid]

    Danh sách art theo năm
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • Note
    This template is not valid with years 100 and below. Use {{Year nav BC}} or other history nav templates instead.

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

    Danh sách philosophy theo năm
  • 1697
  • 1698
  • 1699
  • 1700
  • 1701
  • 1702
  • 1703
  • literature
    1697
    1698
    1699
    1700
    1701
    1702
    1703
    Note
    If the year is omitted and the other parameters are specified with 2=, 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.

    Xem thêm[sửa mã nguồn]