Template:Collapsible list/testcases

From blackwiki
Jump to navigation Jump to search
  1. REDIRECT Template:Testcases notice
  • From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.

Expand

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Long title example

Template:Testcase table

Long title example w/ bullets

Template:Testcase table

Republic of India

Republic of India
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
भारत गणराज्य*
Bhārat Gaṇarājya
Republic of India
CapitalNew Delhi
Largest city Mumbai
Constitutionally recognised
languages
Demonym Indian
Government Federal republic,
parliamentary democracy[4]
 -  President Pratibha Patil
 -  Prime Minister Manmohan Singh
 -  Chief Justice K. G. Balakrishnan
Independence from United Kingdom 
 -  Declared 15 August 1947 
 -  Republic 26 January 1950 
Area
 -  Total 3,287,240 km² (7th)
1,269,210 sq mi 
 -  Water (%) 9.56
Population
 -  2009 estimate 1,198,003,000[5] (2nd)
 -  2001 census 1,028,610,328[6] 
 -  Density 364.4 /km² (32nd)
943.9 /sq mi
GDP (PPP) 2008 estimate
 -  Total $3.298 trillion[7] 
 -  Per capita $2,780[7] 
GDP (nominal) 2008 estimate
 -  Total $1.206 trillion[7] 
 -  Per capita $1,017[7] 
Currency Indian rupee (₨) (INR)
Time zone IST (UTC+5:30)
 -  Summer (DST) not observed (UTC+5:30)
Internet TLD .in
Calling code +91
भारत गणराज्य*
Bhārat Gaṇarājya
Republic of India
CapitalNew Delhi
Largest city Mumbai
Constitutionally recognised
languages
  • Hindi in the Devanagari script is the official language of the Union[9] and English the "subsidiary official language".[2]
Demonym Indian
Government Federal republic,
parliamentary democracy[4]
 -  President Pratibha Patil
 -  Prime Minister Manmohan Singh
 -  Chief Justice K. G. Balakrishnan
Independence from United Kingdom 
 -  Declared 15 August 1947 
 -  Republic 26 January 1950 
Area
 -  Total 3,287,240 km² (7th)
1,269,210 sq mi 
 -  Water (%) 9.56
Population
 -  2009 estimate 1,198,003,000[5] (2nd)
 -  2001 census 1,028,610,328[11] 
 -  Density 364.4 /km² (32nd)
943.9 /sq mi
GDP (PPP) 2008 estimate
 -  Total $3.298 trillion[7] 
 -  Per capita $2,780[7] 
GDP (nominal) 2008 estimate
 -  Total $1.206 trillion[7] 
 -  Per capita $1,017[7] 
Currency Indian rupee (₨) (INR)
Time zone IST (UTC+5:30)
 -  Summer (DST) not observed (UTC+5:30)
Internet TLD .in
Calling code +91
Non-numbered Footnotes:

Template:Neuropsychology / template:Sidebar with collapsible lists

{{Collapsible list}}
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" (ὁ Διάδοχος)
Born(412-02-08)February 8, 412
Byzantium
DiedApril 17, 485(485-04-17) (aged 73)
EraAncient philosophy
RegionWestern philosophy
SchoolNeoplatonism
Proclus Lycaeus
Full nameProclus Lycaeus
Other names"The Successor" (ὁ Διάδοχος)
Born(412-02-08)February 8, 412
Byzantium
DiedApril 17, 485(485-04-17) (aged 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
{{Collapsible list}}
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
Rpg video game.svg
Part of a series on:
RPG video games
Rpg video game.svg
Part of a series on:
RPG video games

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}}
{{Collapsible list}}
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
United Airlines
Script error: No such module "If empty".
IATA ICAO Callsign
UA UAL UNITED
FoundedApril 6, 1926 (1926-04-06)
Boise, Idaho, U.S.
(as Varney Air Lines)[13][14]
Commenced operationsApril 6, 1926 (1926-04-06)[15]
1927 (as Boeing Air Transport)[16]
Ceased operationsScript error: No such module "If empty".
AOC #UALA011A[17]
Hubs
Frequent-flyer programMileage Plus[18]
AllianceStar Alliance[19]
Subsidiaries
Fleet size
Destinations216
Parent companyUnited Continental Holdings, Inc.
HeadquartersChicago, Illinois, U.S.
Key people
RevenueDecrease US$16,335 million (FY 2009)[21]
Operating incomeIncrease US$–161 million (FY 2009)[21]
Net incomeIncrease US$–651 million (FY 2009)[21]
Total assetsDecrease US$18,684 million (FY 2009)[21]
Total equityDecrease US$–2,452 million (FY 2009)[21]
WebsiteTemplate:URL
United Airlines
Script error: No such module "If empty".
IATA ICAO Callsign
UA UAL UNITED
FoundedApril 6, 1926 (1926-04-06)
Boise, Idaho, U.S.
(as Varney Air Lines)[13][14]
Commenced operationsApril 6, 1926 (1926-04-06)[15]
1927 (as Boeing Air Transport)[23]
Ceased operationsScript error: No such module "If empty".
AOC #UALA011A[17]
Hubs
Frequent-flyer programMileage Plus[18]
AllianceStar Alliance[19]
Subsidiaries
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 size
Fleet Data List
  • 362 active
  • 50 orders
  • 100 options
Destinations216
Parent companyUnited Continental Holdings, Inc.
HeadquartersChicago, Illinois, U.S.
Key people
RevenueDecrease US$16,335 million (FY 2009)[21]
Operating incomeIncrease US$–161 million (FY 2009)[21]
Net incomeIncrease US$–651 million (FY 2009)[21]
Total assetsDecrease US$18,684 million (FY 2009)[21]
Total equityDecrease US$–2,452 million (FY 2009)[21]
WebsiteTemplate:URL

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.
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

Template:Testcase table

Template:Testcase table

Template:Testcase table

Template:Testcase table

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
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]
  • <hiero>M23 L2</hiero>
    <hiero>ra-mn-xpr</hiero>
  • NomenThutmose Neferkheperu
    Thoth is born, beautiful of forms
  • <hiero>-G39-N5:</hiero>
    <hiero>G26-ms-nfr-xpr</hiero>
  • Horus nameKanakht Khaemwaset
    Mighty Bull, Arising in Thebes
  • <hiero>G5</hiero>
    <hiero> E1:D40-N28-m-S40-t:O49 </hiero>
  • Nebty nameWahnesytmireempet
    Enduring in kingship like Re in heaven
  • <hiero>G16</hiero>
    <hiero>-V29-sw-t-i-i-ra:Z1-mi-m-Q3*X1:N1-</hiero>
  • Golden HorusSekhempahtydsejerkhaw
    Powerful of strength, holy of diadems
  • <hiero>G8</hiero>
    <hiero>-sxm-F9:F9-D45:N28-Z3-</hiero>

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}}


Template:PAGENAMEBASE
Photograph of Queen Elizabeth II
Elizabeth in 2015


Template:PAGENAMEBASE
Photograph of Queen Elizabeth II
Elizabeth in 2015

  • Script error: No such module "aligned table".


References
  1. "The Union: Official Language". Ministry of Home Affairs, Government of India. National Informatics Centre(NIC). 2007. Retrieved 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). Retrieved 2009-06-11.
  3. "Official Languages Resolution, 1968". Ministry of Home Affairs, Government of India. National Informatics Centre(NIC). Retrieved 2009-06-11..
  4. 4.0 4.1 4.2 4.3 "India at a Glance". Know India Portal. National Informatics Centre(NIC). Retrieved 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. Retrieved 2009-03-12. line feed character in |author= at position 42 (help); Cite journal requires |journal= (help)
  6. "India at a glance: Population". Census of India, 2001. Government of India. Retrieved 2009-04-25.
  7. 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 "India". International Monetary Fund. Retrieved 2009-10-01.
  8. "Total Area of India" (PDF). Country Studies, India. Library of Congress – Federal Research Division. December 2004. Retrieved 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. Retrieved 2009-06-11.
  10. "Official Languages Resolution, 1968". Ministry of Home Affairs, Government of India. National Informatics Centre(NIC). Retrieved 2009-06-11..
  11. "India at a glance: Population". Census of India, 2001. Government of India. Retrieved 2009-04-25.
  12. "Total Area of India" (PDF). Country Studies, India. Library of Congress – Federal Research Division. December 2004. Retrieved 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. Archived from the original on 2008-05-10. Retrieved 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. Archived from the original on 2011-01-03. Retrieved 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. Archived from the original on 2008-05-10. Retrieved 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. Archived from the original on 2011-01-13. Retrieved 2011-01-13. Certificate Number UALA011A
  18. 18.0 18.1 "Mileage Plus Rules". united.com. United Airlines, Inc. 2011. Archived from the original on 2011-01-13. Retrieved 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. Archived from the original on 2011-01-13. Retrieved 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. Archived from the original on 2011-01-13. Retrieved 2011-01-13. UAL Corporation and United Air Lines, Inc. Subsidiaries...
  21. 21.0 21.1 21.2 21.3 21.4 21.5 21.6 21.7 21.8 21.9 "Form 10-K United Continental Holdings, Inc". ir.united.com. United Continental Holdings, Inc. 2010-02-26. Retrieved 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. Archived from the original on 2011-01-13. Retrieved 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. Retrieved 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