Bản mẫu:Danh sách thu gọn/testcases

Expand

{{Danh sách thu gọn|1|2|3}}
So sánh hai bên
{{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
Danh sách
  • 1
  • 2
  • 3
Danh sách
  • 1
  • 2
  • 3
{{Danh sách thu gọn|1|2|3|expand=}}
So sánh hai bên
{{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
Danh sách
  • 1
  • 2
  • 3
Danh sách
  • 1
  • 2
  • 3
{{Danh sách thu gọn|1|2|3|expand=true}}
So sánh hai bên
{{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
Danh sách
  • 1
  • 2
  • 3
Danh sách
  • 1
  • 2
  • 3
{{Danh sách thu gọn|1|2|3|expand=false}}
So sánh hai bên
{{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
Danh sách
  • 1
  • 2
  • 3
Danh sách
  • 1
  • 2
  • 3
{{Danh sách thu gọn|1|2|3|expand=anything else}}
So sánh hai bên
{{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
Danh sách
  • 1
  • 2
  • 3
Danh sách
  • 1
  • 2
  • 3

Long title example

List with a long |title=
So sánh hai bên
{{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
European Free Trade Association Members
European Free Trade Association Members

Long title example w/ bullets

List with a long |title= and |bullets=fire
So sánh hai bên
{{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
European Free Trade Association Members
European Free Trade Association Members

India

Republic of India
So sánh hai bên
{{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
Republic of India
Tên bản ngữ
  • भारत गणराज्य*
    Bhārat Gaṇarājya
Thủ đôNew Delhi
28°36.8′B 77°12.5′Đ / 28,6133°B 77,2083°Đ / 28.6133; 77.2083
Thành phố lớn nhấtMumbai
Ngôn ngữ chính thức
Hindi, English
  • Hindi in the Devanagari script is the official language of the Union[1] and English the "subsidiary official language".[2]
Constitutionally recognised
languages
8th Schedule:
  • Assamese
  • Bengali
  • Bodo
  • Dogri
  • Gujarati
  • Hindi
  • Kannada
  • Kashmiri
  • Konkani
  • Maithili
  • Malayalam
  • Manipuri
  • Marathi
  • Nepali
  • Oriya
  • Punjabi
  • Sanskrit
  • Santali
  • Sindhi
  • Tamil
  • Telugu
  • Urdu[3]
Tên dân cưIndian
Chính trị
Chính phủFederal republic,
parliamentary democracy[4]
• President
Pratibha Patil
• Prime Minister
Manmohan Singh
• Chief Justice
K. G. Balakrishnan
Lập phápSansad
Rajya Sabha
Lok Sabha
Lịch sử
Independence 
• Declared
15 August 1947
• Republic
26 January 1950
Địa lý
Diện tích 
• Tổng cộng
3,287,240 km2 (hạng 7th)
1,269,210 mi2
• Mặt nước (%)
9.56
Dân số 
• Ước lượng 2009
1,198,003,000[5] (hạng 2nd)
• Điều tra 2001
1,028,610,328[6]
364.4/km2 (hạng 32nd)
943,9/mi2
Kinh tế
GDP  (PPP)Ước lượng 2008
• Tổng số
$3.298 trillion[7]
$2,780[7]
GDP  (danh nghĩa)Ước lượng 2008
• Tổng số
$1.206 trillion[7]
• Bình quân đầu người
$1,017[7]
Đơn vị tiền tệIndian rupee (₨) (INR)
Thông tin khác
Múi giờUTC+5:30 (IST)
• Mùa hè (DST)
UTC+5:30 (not observed)
Giao thông bênleft
Mã điện thoại91
Tên miền Internet.in
Non-numbered Footnotes:
  • * Bharat Ganarajya, that is, the Republic of India in Hindi,[4] written in the Devanāgarī script. See also other official names
  • This is the figure as per the United Nations though the Indian government lists the total area as 3,287,260 square kilometres.[8]
Republic of India
Tên bản ngữ
  • भारत गणराज्य*
    Bhārat Gaṇarājya
Thủ đôNew Delhi
28°36.8′B 77°12.5′Đ / 28,6133°B 77,2083°Đ / 28.6133; 77.2083
Thành phố lớn nhấtMumbai
Ngôn ngữ chính thức
Hindi, English
  • Hindi in the Devanagari script is the official language of the Union[9] and English the "subsidiary official language".[2]
Constitutionally recognised
languages
8th Schedule:
  • Assamese
  • Bengali
  • Bodo
  • Dogri
  • Gujarati
  • Hindi
  • Kannada
  • Kashmiri
  • Konkani
  • Maithili
  • Malayalam
  • Manipuri
  • Marathi
  • Nepali
  • Oriya
  • Punjabi
  • Sanskrit
  • Santali
  • Sindhi
  • Tamil
  • Telugu
  • Urdu[10]
Tên dân cưIndian
Chính trị
Chính phủFederal republic,
parliamentary democracy[4]
• President
Pratibha Patil
• Prime Minister
Manmohan Singh
• Chief Justice
K. G. Balakrishnan
Lập phápSansad
Rajya Sabha
Lok Sabha
Lịch sử
Independence 
• Declared
15 August 1947
• Republic
26 January 1950
Địa lý
Diện tích 
• Tổng cộng
3,287,240 km2 (hạng 7th)
1,269,210 mi2
• Mặt nước (%)
9.56
Dân số 
• Ước lượng 2009
1,198,003,000[5] (hạng 2nd)
• Điều tra 2001
1,028,610,328[11]
364.4/km2 (hạng 32nd)
943,9/mi2
Kinh tế
GDP  (PPP)Ước lượng 2008
• Tổng số
$3.298 trillion[7]
$2,780[7]
GDP  (danh nghĩa)Ước lượng 2008
• Tổng số
$1.206 trillion[7]
• Bình quân đầu người
$1,017[7]
Đơn vị tiền tệIndian rupee (₨) (INR)
Thông tin khác
Múi giờUTC+5:30 (IST)
• Mùa hè (DST)
UTC+5:30 (not observed)
Giao thông bênleft
Mã điện thoại91
Tên miền Internet.in
Non-numbered Footnotes:
  • * Bharat Ganarajya, that is, the Republic of India in Hindi,[4] written in the Devanāgarī script. See also other official names
  • This is the figure as per the United Nations though the Indian government lists the total area as 3,287,260 square kilometres.[12]

Template:Neuropsychology sidebar / template:Sidebar with collapsible lists

So sánh hai bên
{{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}

Proclus / template:Infobox philosopher

Testcase checks:

  • Single item in list
  • Center aligned text using "| list_style = text-align: center;"

This testcase checks the behavior for when a template is using the collapsible list with only one item within it.

Single item in list
So sánh hai bên
{{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
Proclus Lycaeus
Full nameProclus Lycaeus
Other names"The Successor" (ὁ Διάδοχος)
Born(412-02-08)8 tháng 2, 412
Byzantium
Died17 tháng 4, 485(485-04-17) (73 tuổi)
EraAncient philosophy
RegionWestern philosophy
SchoolNeoplatonism
Influenced by
Influenced
Proclus Lycaeus
Full nameProclus Lycaeus
Other names"The Successor" (ὁ Διάδοχος)
Born(412-02-08)8 tháng 2, 412
Byzantium
Died17 tháng 4, 485(485-04-17) (73 tuổi)
EraAncient philosophy
RegionWestern philosophy
SchoolNeoplatonism
Influenced by
Influenced

template:Role-playing video games / template:Sidebar with collapsible lists

Testcase checks:

  • Single item in the Collapsible-list
  • A bullet list w/in the single element Collapsible-list
  • A bullet list which starts immediately instead of having a title item on top of it

Check for:

  • The first element in the embedded list having a bullet
So sánh hai bên
{{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
Part of a series on:
RPG video games
Sub-genres
Topics
    • History of RPG video games
      • History of MMORPGs
    • Social interaction in MMORPGs
    • Character creation
    • Cultural differences
    • GNS Theory
    • Player character
    • Non-player character
    • Role-playing game terms
    • Statistics
    • The Big Model
    • Threefold Model
Lists
    • Chronology of computer RPGs
    • Chronology of console RPGs
    • List of MUDs
    • List of roguelikes
    • Chronology of tactical RPGs
    • Comparison of MMORPGs
    • List of free MMOGs
    • List of MMORPGs
    • List of text-based MMORPGs
Part of a series on:
RPG video games
Sub-genres
Topics
    • History of RPG video games
      • History of MMORPGs
    • Social interaction in MMORPGs
    • Character creation
    • Cultural differences
    • GNS Theory
    • Player character
    • Non-player character
    • Role-playing game terms
    • Statistics
    • The Big Model
    • Threefold Model
Lists
    • Chronology of computer RPGs
    • Chronology of console RPGs
    • List of MUDs
    • List of roguelikes
    • Chronology of tactical RPGs
    • Comparison of MMORPGs
    • List of free MMOGs
    • List of MMORPGs
    • List of text-based MMORPGs

United Airlines

Testcase checks:

  • Embedded bare <li> list
  • Multi-elements each beginning w/ <li>

Check for:

  • Bullet preceding each element in the list

Example code in testcase:

  • {{Collapsible list |title=Fleet Data List |1=<li>362 active |2=<li>50 orders |3=<li>100 options}}
So sánh hai bên
{{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
United Airlines
IATA
UA
ICAO
UAL
Tên hiệu
UNITED
Lịch sử hoạt động
Thành lập6 tháng 4 năm 1926 (1926-04-06)
Boise, Idaho, U.S.
(as Varney Air Lines)[13][14]
Hoạt động6 tháng 4 năm 1926 (1926-04-06)[15]
1927 (as Boeing Air Transport)[16]
Sân bay chính
Trạm trung
chuyển chính
  • O'Hare International Airport - ORD (Chicago)
  • Denver International Airport - DEN
  • San Francisco International Airport - SFO
  • Los Angeles International Airport - LAX
  • Washington Dulles International Airport - IAD
  • Narita International Airport - NRT (Tokyo)
  • Thông tin chung
    Số AOCUALA011A[17]
    CTHKTXMileage Plus[18]
    Phòng chờRed Carpet Club[19]
    Liên minhStar Alliance[20]
    Công ty mẹUnited Continental Holdings, Inc.
    Công ty con
    Subsidiaries List[21]
    • Covia LLC
    • Kion de Mexico, S.A. de C.V.
    • Mileage Plus, Inc.
    • Mileage Plus Holdings, LLC
    • United Aviation Fuels Corporation
    • United Cogen, Inc.
    • United Vacations, Inc.
    Số máy bay
    Fleet Data List
    • 362 active
    • 50 orders
    • 100 options
    Điểm đến216
    Trụ sở chínhChicago, Illinois, U.S.
    Nhân vật
    then chốt
    Key People List
    • Walter T. Varney (Founder)[13]
    • Jeffrey A. Smisek (CEO)
    • Glenn F. Tilton (Chairman)
    Trang webwww.united.com
    Tài chính
    Doanh thuGiảm US$16,335 million (FY 2009)[22]
    Lợi nhuậnTăng US$–161 million (FY 2009)[22]
    Lãi thựcTăng US$–651 million (FY 2009)[22]
    Tổng số
    tài sản
    Giảm US$18,684 million (FY 2009)[22]
    Tài sản
    cổ phần
    Giảm US$–2,452 million (FY 2009)[22]
    United Airlines
    IATA
    UA
    ICAO
    UAL
    Tên hiệu
    UNITED
    Lịch sử hoạt động
    Thành lập6 tháng 4 năm 1926 (1926-04-06)
    Boise, Idaho, U.S.
    (as Varney Air Lines)[13][14]
    Hoạt động6 tháng 4 năm 1926 (1926-04-06)[15]
    1927 (as Boeing Air Transport)[23]
    Sân bay chính
    Trạm trung
    chuyển chính
  • O'Hare International Airport - ORD (Chicago)
  • Denver International Airport - DEN
  • San Francisco International Airport - SFO
  • Los Angeles International Airport - LAX
  • Washington Dulles International Airport - IAD
  • Narita International Airport - NRT (Tokyo)
  • Thông tin chung
    Số AOCUALA011A[17]
    CTHKTXMileage Plus[18]
    Phòng chờRed Carpet Club[19]
    Liên minhStar Alliance[20]
    Công ty mẹUnited Continental Holdings, Inc.
    Công ty con
    Subsidiaries List[21]
    • Covia LLC
    • Kion de Mexico, S.A. de C.V.
    • Mileage Plus, Inc.
    • Mileage Plus Holdings, LLC
    • United Aviation Fuels Corporation
    • United Cogen, Inc.
    • United Vacations, Inc.
    Số máy bay
    Fleet Data List
    • 362 active
    • 50 orders
    • 100 options
    Điểm đến216
    Trụ sở chínhChicago, Illinois, U.S.
    Nhân vật
    then chốt
    Key People List
    • Walter T. Varney (Founder)[13]
    • Jeffrey A. Smisek (CEO)
    • Glenn F. Tilton (Chairman)
    Trang webwww.united.com
    Tài chính
    Doanh thuGiảm US$16,335 million (FY 2009)[22]
    Lợi nhuậnTăng US$–161 million (FY 2009)[22]
    Lãi thựcTăng US$–651 million (FY 2009)[22]
    Tổng số
    tài sản
    Giảm US$18,684 million (FY 2009)[22]
    Tài sản
    cổ phần
    Giảm US$–2,452 million (FY 2009)[22]

    List within image caption

    Source

    Testcase checks:

    • Collapsible list within an image caption
    • Title style being set w/ "| titlestyle=font-weight:normal; background:transparent; text-align:left;"

    Check for:

    • Non-bold text in title
    • Caption showing up as expected
    • Spacing of list items
    List within image caption
    So sánh hai bên
    {{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
    The present day governments that have been claimed to become (or to remain) a superpower within the 21st century.
    Legend
    •   United States of America (Current superpower)[24][25]
    •   Federative Republic of Brazil
    •   Republic of India
    •   Russian Federation
    The present day governments that have been claimed to become (or to remain) a superpower within the 21st century.
    Legend

    bulleted, expanded and not, small text

    |bullets=on & |liststyle=font-size:85%;
    |bullets=on, |expand=true, & |liststyle=font-size:85%;

    hlist

    {{Danh sách thu gọn| [[Iceland]] | [[Liechtenstein]] | [[Norway]] | [[Switzerland]]|hlist=y|title=Members}}

    {{Danh sách thu gọn}}

    '"`UNIQ--templatestyles-00000056-QINU`"'<div class="collapsible-list mw-collapsible mw-collapsed" style="text-align: left;"><div style="line-height: 1.6em; font-weight: bold;"><div>Members</div></div><ul class="mw-collapsible-content hlist" style="margin-top: 0; margin-bottom: 0; line-height: inherit; list-style: none; margin-left: 0;"><li style="line-height: inherit; margin: 0"> [[Iceland]] </li><li style="line-height: inherit; margin: 0"> [[Liechtenstein]] </li><li style="line-height: inherit; margin: 0"> [[Norway]] </li><li style="line-height: inherit; margin: 0"> [[Switzerland]]</li></ul></div>

    {{Danh sách thu gọn/sandbox}}

    '"`UNIQ--templatestyles-00000058-QINU`"'<div class="collapsible-list mw-collapsible mw-collapsed" style="text-align: left;"><div style="line-height: 1.6em; font-weight: bold;"><div>Members</div></div><ul class="mw-collapsible-content hlist" style="margin-top: 0; margin-bottom: 0; line-height: inherit; list-style: none; margin-left: 0;"><li style="line-height: inherit; margin: 0"> [[Iceland]] </li><li style="line-height: inherit; margin: 0"> [[Liechtenstein]] </li><li style="line-height: inherit; margin: 0"> [[Norway]] </li><li style="line-height: inherit; margin: 0"> [[Switzerland]]</li></ul></div>

    Masquerading as a section title

    Tuthmosis III

    Source: Thutmose III / template:Infobox pharaoh

    Testcase checks:

    • Collapsible-list title acting as section title in an infobox
    • Background & font of title set w/ "| titlestyle=font-size: 112%; background: #decd87; text-align:center;"


    Check for:

    • Background color working correctly (same background color as the real section title)
    • Height of fake section title being the same as the real section title
    • Size of text in the fake section title being the same as the real section title
    Tuthmosis III
    So sánh hai bên
    {{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
    Thutmose III
    Tuthmosis III, "Manahpi(r)ya" in the Amarna letters
    Thutmosis III statue in Luxor Museum
    Pharaoh of Egypt
    Reign1479–1425 BC, 18th Dynasty
    PredecessorHatshepsut
    SuccessorAmenhotep II
    Royal titulary
    • {{{notes}}}
    • PrenomenMenkheperre
      Lasting is the Manifestation of Re[27]
    • M23L2
      ramnxpr
    • NomenThutmose Neferkheperu
      Thoth is born, beautiful of forms
    • G39N5
      G26msnfrxpr
    • Horus nameKanakht Khaemwaset
      Mighty Bull, Arising in Thebes
    • G5
      E1
      D40
      N28mS40t
      O49
    • Nebty nameWahnesytmireempet
      Enduring in kingship like Re in heaven
    • G16
      V29swtiira
      Z1
      mimQ3 X1
      N1
    • Golden HorusSekhempahtydsejerkhaw
      Powerful of strength, holy of diadems
    • G8
      sxmF9
      F9
      D45
      N28
      Z3

    Consort(s)Satiah,[28] Hatshepsut-Meryetre, Nebtu, Menwi, Merti, Menhet
    ChildrenAmenemhat, Amenhotep II, Beketamun, Iset, Menkheperre, Meryetamun, Meryetamun, Nebetiunet, Nefertiry, Siamun[28]
    FatherThutmose II (?)
    MotherIset
    Died1425 BC
    BurialKV34
    MonumentsCleopatra's Needles
    Thutmose III
    Tuthmosis III, "Manahpi(r)ya" in the Amarna letters
    Thutmosis III statue in Luxor Museum
    Pharaoh of Egypt
    Reign1479–1425 BC, 18th Dynasty
    PredecessorHatshepsut
    SuccessorAmenhotep II
    Royal titulary
    • {{{notes}}}
    • PrenomenMenkheperre
      Lasting is the Manifestation of Re[29]
    • M23L2
      ramnxpr
    • NomenThutmose Neferkheperu
      Thoth is born, beautiful of forms
    • G39N5
      G26msnfrxpr
    • Horus nameKanakht Khaemwaset
      Mighty Bull, Arising in Thebes
    • G5
      E1
      D40
      N28mS40t
      O49
    • Nebty nameWahnesytmireempet
      Enduring in kingship like Re in heaven
    • G16
      V29swtiira
      Z1
      mimQ3 X1
      N1
    • Golden HorusSekhempahtydsejerkhaw
      Powerful of strength, holy of diadems
    • G8
      sxmF9
      F9
      D45
      N28
      Z3

    Consort(s)Satiah,[28] Hatshepsut-Meryetre, Nebtu, Menwi, Merti, Menhet
    ChildrenAmenemhat, Amenhotep II, Beketamun, Iset, Menkheperre, Meryetamun, Meryetamun, Nebetiunet, Nefertiry, Siamun[28]
    FatherThutmose II (?)
    MotherIset
    Died1425 BC
    BurialKV34
    MonumentsCleopatra's Needles

    Elizabeth II

    Testcase checks:

    • Clickable [show] should not overlap with the list's title
    Elizabeth II
    So sánh hai bên
    {{Danh sách thu gọn}}{{Danh sách thu gọn/sandbox}}
    Danh sách thu gọn/testcases
    Elizabeth in 2015
    Queen of the United Kingdom and
    the other Commonwealth realms

    • Canada 1952–present
      Australia 1952–present
      New Zealand 1952–present
      Jamaica 1962–present
      Barbados 1966–present
      The Bahamas 1973–present
      Grenada 1974–present
      Papua New Guinea 1975–present
      Solomon Islands 1978–present
      Tuvalu 1978–present
      St. Lucia 1979–present
      St. Vincent and
      the Grenadines
      1979–present
      Belize 1981–present
      Antigua and Barbuda 1981–present
      St. Kitts and Nevis 1983–present
      Pakistan 1952–1956
      South Africa 1952–1961
      Ceylon 1952–1972
      Ghana 1957–1960
      Nigeria 1960–1963
      Sierra Leone 1961–1971
      Tanganyika 1961–1962
      Trinidad and Tobago 1962–1976
      Uganda 1962–1963
      Kenya 1963–1964
      Malawi 1964–1966
      Malta 1964–1974
      The Gambia 1965–1970
      Guyana 1966–1970
      Mauritius 1968–1992
      Fiji 1970–1987
    Thông tin chung
    Danh sách thu gọn/testcases
    Elizabeth in 2015
    Queen of the United Kingdom and
    the other Commonwealth realms

    • Canada 1952–present
      Australia 1952–present
      New Zealand 1952–present
      Jamaica 1962–present
      Barbados 1966–present
      The Bahamas 1973–present
      Grenada 1974–present
      Papua New Guinea 1975–present
      Solomon Islands 1978–present
      Tuvalu 1978–present
      St. Lucia 1979–present
      St. Vincent and
      the Grenadines
      1979–present
      Belize 1981–present
      Antigua and Barbuda 1981–present
      St. Kitts and Nevis 1983–present
      Pakistan 1952–1956
      South Africa 1952–1961
      Ceylon 1952–1972
      Ghana 1957–1960
      Nigeria 1960–1963
      Sierra Leone 1961–1971
      Tanganyika 1961–1962
      Trinidad and Tobago 1962–1976
      Uganda 1962–1963
      Kenya 1963–1964
      Malawi 1964–1966
      Malta 1964–1974
      The Gambia 1965–1970
      Guyana 1966–1970
      Mauritius 1968–1992
      Fiji 1970–1987
    Thông tin chung

    List in list


    References