แม่แบบ:Collapsible list/testcases

จากวิกิพีเดีย สารานุกรมเสรี

Expand[แก้]

{{Collapsible list|1|2|3}}
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
รายการ
  • 1
  • 2
  • 3
รายการ
  • 1
  • 2
  • 3
{{Collapsible list|1|2|3|expand=}}
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
รายการ
  • 1
  • 2
  • 3
รายการ
  • 1
  • 2
  • 3
{{Collapsible list|1|2|3|expand=true}}
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
รายการ
  • 1
  • 2
  • 3
รายการ
  • 1
  • 2
  • 3
{{Collapsible list|1|2|3|expand=false}}
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
รายการ
  • 1
  • 2
  • 3
รายการ
  • 1
  • 2
  • 3
{{Collapsible list|1|2|3|expand=anything else}}
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
รายการ
  • 1
  • 2
  • 3
รายการ
  • 1
  • 2
  • 3

Long title example[แก้]

Long title example w/ bullets[แก้]

Republic of India[แก้]

Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
Republic of India

भारत गणराज्य*
Bhārat Gaṇarājya
เมืองหลวงNew Delhi
28°36.8′N 77°12.5′E / 28.6133°N 77.2083°E / 28.6133; 77.2083
เมืองใหญ่สุดMumbai
ภาษาราชการ
  • Hindi in the Devanagari script is the official language of the Union[1] and English the "subsidiary official language".[2]
Constitutionally recognised
languages
เดมะนิมIndian
การปกครองFederal republic,
parliamentary democracy[4]
• President
Pratibha Patil
Manmohan Singh
K. G. Balakrishnan
สภานิติบัญญัติSansad
Rajya Sabha
Lok Sabha
Independence 
• Declared
15 August 1947
• Republic
26 January 1950
พื้นที่
• รวม
3,287,240 ตารางกิโลเมตร (1,269,210 ตารางไมล์) (7th)
9.56
ประชากร
• 2009 ประมาณ
1,198,003,000[5] (2nd)
• สำมะโนประชากร 2001
1,028,610,328[6]
364.4 ต่อตารางกิโลเมตร (943.8 ต่อตารางไมล์) (32nd)
จีดีพี (อำนาจซื้อ) 2008 (ประมาณ)
• รวม
$3.298 trillion[7]
$2,780[7]
จีดีพี (ราคาตลาด) 2008 (ประมาณ)
• รวม
$1.206 trillion[7]
$1,017[7]
สกุลเงินIndian rupee (₨) (INR)
เขตเวลาUTC+5:30 (IST)
• ฤดูร้อน (เวลาออมแสง)
UTC+5:30 (not observed)
ขับรถด้านleft
รหัสโทรศัพท์91
รหัส ISO 3166IN
โดเมนบนสุด.in
Non-numbered Footnotes:
Republic of India

भारत गणराज्य*
Bhārat Gaṇarājya
เมืองหลวงNew Delhi
28°36.8′N 77°12.5′E / 28.6133°N 77.2083°E / 28.6133; 77.2083
เมืองใหญ่สุดMumbai
ภาษาราชการ
  • Hindi in the Devanagari script is the official language of the Union[9] and English the "subsidiary official language".[2]
Constitutionally recognised
languages
เดมะนิมIndian
การปกครองFederal republic,
parliamentary democracy[4]
• President
Pratibha Patil
Manmohan Singh
K. G. Balakrishnan
สภานิติบัญญัติSansad
Rajya Sabha
Lok Sabha
Independence 
• Declared
15 August 1947
• Republic
26 January 1950
พื้นที่
• รวม
3,287,240 ตารางกิโลเมตร (1,269,210 ตารางไมล์) (7th)
9.56
ประชากร
• 2009 ประมาณ
1,198,003,000[5] (2nd)
• สำมะโนประชากร 2001
1,028,610,328[11]
364.4 ต่อตารางกิโลเมตร (943.8 ต่อตารางไมล์) (32nd)
จีดีพี (อำนาจซื้อ) 2008 (ประมาณ)
• รวม
$3.298 trillion[7]
$2,780[7]
จีดีพี (ราคาตลาด) 2008 (ประมาณ)
• รวม
$1.206 trillion[7]
$1,017[7]
สกุลเงินIndian rupee (₨) (INR)
เขตเวลาUTC+5:30 (IST)
• ฤดูร้อน (เวลาออมแสง)
UTC+5:30 (not observed)
ขับรถด้านleft
รหัสโทรศัพท์91
รหัส ISO 3166IN
โดเมนบนสุด.in
Non-numbered Footnotes:

Template:Neuropsychology / template:Sidebar with collapsible lists[แก้]

Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}

Proclus Lycaeus / 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
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
Proclus Lycaeus
Full nameProclus Lycaeus
Other names"The Successor" (ὁ Διάδοχος)
Born8 กุมภาพันธ์ ค.ศ. 412(412-02-08)
Byzantium
Died17 เมษายน ค.ศ. 485(485-04-17) (73 ปี)
EraAncient philosophy
RegionWestern philosophy
SchoolNeoplatonism
Proclus Lycaeus
Full nameProclus Lycaeus
Other names"The Successor" (ὁ Διάδοχος)
Born8 กุมภาพันธ์ ค.ศ. 412(412-02-08)
Byzantium
Died17 เมษายน ค.ศ. 485(485-04-17) (73 ปี)
EraAncient philosophy
RegionWestern philosophy
SchoolNeoplatonism

template:VG Role-playing / 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

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}}
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
United Airlines
IATA ICAO รหัสเรียก
UA UAL UNITED
ก่อตั้ง6 เมษายน ค.ศ. 1926 (1926-04-06)
Boise, Idaho, U.S.
(as Varney Air Lines)[13][14]
เริ่มดำเนินงาน6 เมษายน ค.ศ. 1926 (1926-04-06)[15]
1927 (as Boeing Air Transport)[16]
AOC #UALA011A[17]
ท่าหลัก
สะสมไมล์Mileage Plus[18]
พันธมิตรการบินStar Alliance[19]
บริษัทลูก
Subsidiaries List[20]
  • 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.
ขนาดฝูงบิน
Fleet Data List
  • 362 active
  • 50 orders
  • 100 options
จุดหมาย216
บริษัทแม่United Continental Holdings, Inc.
สำนักงานใหญ่Chicago, Illinois, U.S.
บุคลากรหลัก
รายได้ลดลง US$16,335 million (FY 2009)[21]
รายได้จากการดำเนินงาน
เพิ่มขึ้น US$–161 million (FY 2009)[21]
รายได้สุทธิ
เพิ่มขึ้น US$–651 million (FY 2009)[21]
สินทรัพย์ลดลง US$18,684 million (FY 2009)[21]
ส่วนของผู้ถือหุ้นลดลง US$–2,452 million (FY 2009)[21]
เว็บไซต์www.united.com
United Airlines
IATA ICAO รหัสเรียก
UA UAL UNITED
ก่อตั้ง6 เมษายน ค.ศ. 1926 (1926-04-06)
Boise, Idaho, U.S.
(as Varney Air Lines)[13][14]
เริ่มดำเนินงาน6 เมษายน ค.ศ. 1926 (1926-04-06)[15]
1927 (as Boeing Air Transport)[23]
AOC #UALA011A[17]
ท่าหลัก
สะสมไมล์Mileage Plus[18]
พันธมิตรการบินStar Alliance[19]
บริษัทลูก
Subsidiaries List[20]
  • 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.
ขนาดฝูงบิน
Fleet Data List
  • 362 active
  • 50 orders
  • 100 options
จุดหมาย216
บริษัทแม่United Continental Holdings, Inc.
สำนักงานใหญ่Chicago, Illinois, U.S.
บุคลากรหลัก
รายได้ลดลง US$16,335 million (FY 2009)[21]
รายได้จากการดำเนินงาน
เพิ่มขึ้น US$–161 million (FY 2009)[21]
รายได้สุทธิ
เพิ่มขึ้น US$–651 million (FY 2009)[21]
สินทรัพย์ลดลง US$18,684 million (FY 2009)[21]
ส่วนของผู้ถือหุ้นลดลง US$–2,452 million (FY 2009)[21]
เว็บไซต์www.united.com

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
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
The present day governments that have been claimed to become (or to remain) a superpower within the 21st century.
Legend
The present day governments that have been claimed to become (or to remain) a superpower within the 21st century.

bulleted, expanded and not, small text[แก้]

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

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
Side by side comparison
{{Collapsible list}}{{Collapsible list/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
  • PrenomenMenkheperre
    Lasting is the Manifestation of Re[28]
  • 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,[29] Hatshepsut-Meryetre, Nebtu, Menwi, Merti, Menhet
ChildrenAmenemhat, Amenhotep II, Beketamun, Iset, Menkheperre, Meryetamun, Meryetamun, Nebetiunet, Nefertiry, Siamun[29]
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
  • PrenomenMenkheperre
    Lasting is the Manifestation of Re[31]
  • 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,[29] Hatshepsut-Meryetre, Nebtu, Menwi, Merti, Menhet
ChildrenAmenemhat, Amenhotep II, Beketamun, Iset, Menkheperre, Meryetamun, Meryetamun, Nebetiunet, Nefertiry, Siamun[29]
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
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
Collapsible list/testcases
Photograph of Queen Elizabeth II
Elizabeth in 2015
Collapsible list/testcases
Photograph of Queen Elizabeth II
Elizabeth in 2015

List in list[แก้]


References[แก้]

  1. "The Union: Official Language". Ministry of Home Affairs, Government of India. National Informatics Centre(NIC). 2007. สืบค้นเมื่อ 2009-06-11.
  2. 2.0 2.1 "Notification No. 2/8/60-O.L., dated 27 April, 1960". Ministry of Home Affairs, Government of India. National Informatics Centre(NIC). สืบค้นเมื่อ 2009-06-11.
  3. "Official Languages Resolution, 1968". Ministry of Home Affairs, Government of India. National Informatics Centre(NIC). สืบค้นเมื่อ 2009-06-11..
  4. 4.0 4.1 4.2 4.3 "India at a Glance". Know India Portal. National Informatics Centre(NIC). สืบค้นเมื่อ 2007-12-07.
  5. 5.0 5.1 Department of Economic and Social Affairs Population Division (2009). "World Population Prospects, Table A.1" (PDF). 2008 revision. United Nations. สืบค้นเมื่อ 2009-03-12. {{cite journal}}: Cite journal ต้องการ |journal= (help)
  6. "India at a glance: Population". Census of India, 2001. Government of India. สืบค้นเมื่อ 2009-04-25.
  7. 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 "India". International Monetary Fund. สืบค้นเมื่อ 2009-10-01.
  8. "Total Area of India" (PDF). Country Studies, India. Library of Congress – Federal Research Division. December 2004. สืบค้นเมื่อ 2007-09-03. The country’s exact size is subject to debate because some borders are disputed. The Indian government lists the total area as 3,287,260 square kilometres and the total land area as 3,060,500 square kilometres; the United Nations lists the total area as 3,287,263 square kilometres and total land area as 2,973,190 square kilometres.
  9. "The Union: Official Language". Ministry of Home Affairs, Government of India. National Informatics Centre(NIC). 2007. สืบค้นเมื่อ 2009-06-11.
  10. "Official Languages Resolution, 1968". Ministry of Home Affairs, Government of India. National Informatics Centre(NIC). สืบค้นเมื่อ 2009-06-11..
  11. "India at a glance: Population". Census of India, 2001. Government of India. สืบค้นเมื่อ 2009-04-25.
  12. "Total Area of India" (PDF). Country Studies, India. Library of Congress – Federal Research Division. December 2004. สืบค้นเมื่อ 2007-09-03. The country’s exact size is subject to debate because some borders are disputed. The Indian government lists the total area as 3,287,260 square kilometres and the total land area as 3,060,500 square kilometres; the United Nations lists the total area as 3,287,263 square kilometres and total land area as 2,973,190 square kilometres.
  13. 13.0 13.1 13.2 13.3 "Era 1: 1910-1925". united.com. United Airlines, Inc. 2007. คลังข้อมูลเก่าเก็บจากแหล่งเดิมเมื่อ 2008-05-10. สืบค้นเมื่อ 2011-01-13. ...Walter T Varney, who launched air mail service over a desolate stretch of terrain between Pasco, Wash., and Elko, Nev., on April 6, 1926.
  14. 14.0 14.1 Fredericks, Darold (2010-11-29). "Walter Varney Airfield and United Airlines". smdailyjournal.com. San Mateo Daily Journal. คลังข้อมูลเก่าเก็บจากแหล่งเดิมเมื่อ 2011-01-03. สืบค้นเมื่อ 2011-01-13. He later based his business, Varney Air Lines, in Boise, Idaho.
  15. 15.0 15.1 "Era 2: 1926-1933". united.com. United Airlines, Inc. 2007. คลังข้อมูลเก่าเก็บจากแหล่งเดิมเมื่อ 2008-05-10. สืบค้นเมื่อ 2011-01-13. Pilot Leon Cuddeback's historic flight for Walter T. Varney's airline on April 6, 1926, was only the start
  16. PBS - Chasing the Sun - Boeing
  17. 17.0 17.1 "Airline Certificate Information - Detail View". av-info.faa.gov. Federal Aviation Administration. 2011. คลังข้อมูลเก่าเก็บจากแหล่งเดิมเมื่อ 2011-01-13. สืบค้นเมื่อ 2011-01-13. Certificate Number UALA011A
  18. 18.0 18.1 "Mileage Plus Rules". united.com. United Airlines, Inc. 2011. คลังข้อมูลเก่าเก็บจากแหล่งเดิมเมื่อ 2011-01-13. สืบค้นเมื่อ 2011-01-13. Mileage can be accrued only for flights, hotel stays, car rentals or transactions actually taken or performed by the member after the member's official enrollment date...
  19. 19.0 19.1 "Star Alliance". united.com. United Airlines, Inc. 2011. คลังข้อมูลเก่าเก็บจากแหล่งเดิมเมื่อ 2011-01-13. สืบค้นเมื่อ 2011-01-13. The Star Alliance was established in 1997 as the first truly global airline alliance...
  20. 20.0 20.1 "2009 Form 10-K Subdocument 8 - EX-21 - LIST OF UAL CORPORATION AND UNITED AIR LINES, INC. SUBSIDIARIES". ir.united.com. UAL Corporation. 2010-02-26. คลังข้อมูลเก่าเก็บจากแหล่งเดิมเมื่อ 2011-01-13. สืบค้นเมื่อ 2011-01-13. UAL Corporation and United Air Lines, Inc. Subsidiaries...
  21. 21.00 21.01 21.02 21.03 21.04 21.05 21.06 21.07 21.08 21.09 "Form 10-K United Continental Holdings, Inc". ir.united.com. United Continental Holdings, Inc. 2010-02-26. สืบค้นเมื่อ 2011-01-11. (In Millions, except rates)...Operating revenues $16,335
  22. 22.0 22.1 "Red Carpet Club membership details". united.com. United Airlines, Inc. 2011. คลังข้อมูลเก่าเก็บจากแหล่งเดิมเมื่อ 2011-01-13. สืบค้นเมื่อ 2011-01-13. Discover why our most frequent travelers choose United Red Carpet Club as their oasis.
  23. PBS - Chasing the Sun - Boeing
  24. 24.0 24.1 Kim Richard Nossal. Lonely Superpower or Unapologetic Hyperpower? Analyzing American Power in the post–Cold War Era. Biennial meeting, South African Political Studies Association, 29 June-2 July 1999. สืบค้นเมื่อ 2007-02-28.
  25. Country profile: United States of America, BBC News. Retrieved July 22, 2008.
  26. Country profile: United States of America, BBC News. Retrieved July 22, 2008.
  27. Clayton, Peter. Chronicle of the Pharaohs, Thames & Hudson Ltd., 1994. p.104
  28. Clayton, Peter. Chronicle of the Pharaohs, Thames & Hudson Ltd., 1994. p.104
  29. 29.0 29.1 29.2 29.3 Dodson, Aidan. Hilton, Dyan. The Complete Royal Families of Ancient Egypt, Thames and Hudson. p132. 2004. ISBN 0-500-05128-3
  30. Clayton, Peter. Chronicle of the Pharaohs, Thames & Hudson Ltd., 1994. p.104
  31. Clayton, Peter. Chronicle of the Pharaohs, Thames & Hudson Ltd., 1994. p.104