Template:Collapsible list/testcases

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Expand[edit]

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

Republic of India[edit]

Side by side comparison
{{Collapsible list}} {{Collapsible list/sandbox}}
Republic of India
भारत गणराज्य*
Bhārat Gaṇarājya
Capital New Delhi
28°36.8′N 77°12.5′E / 28.6133°N 77.2083°E / 28.6133; 77.2083
Largest city Mumbai
Official languages
Constitutionally recognised
languages
Demonym Indian
Government Federal republic,
parliamentary democracy[4]
Pratibha Patil
Manmohan Singh
K. G. Balakrishnan
Legislature Sansad
Rajya Sabha
Lok Sabha
Independence from United Kingdom
• Declared
15 August 1947
26 January 1950
Area
• Total
3,287,240 km2 (1,269,210 sq mi) (7th)
• Water (%)
9.56
Population
• 2009 estimate
1,198,003,000[5] (2nd)
• 2001 census
1,028,610,328[6]
• Density
364.4/km2 (943.8/sq mi) (32nd)
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)
Drives on the left
Calling code 91
ISO 3166 code IN
Internet TLD .in
Republic of India
भारत गणराज्य*
Bhārat Gaṇarājya
Capital New Delhi
28°36.8′N 77°12.5′E / 28.6133°N 77.2083°E / 28.6133; 77.2083
Largest city Mumbai
Official languages
  • Hindi in the Devanagari script is the official language of the Union[9] and English the "subsidiary official language".[2]
Constitutionally recognised
languages
Demonym Indian
Government Federal republic,
parliamentary democracy[4]
Pratibha Patil
Manmohan Singh
K. G. Balakrishnan
Legislature Sansad
Rajya Sabha
Lok Sabha
Independence from United Kingdom
• Declared
15 August 1947
26 January 1950
Area
• Total
3,287,240 km2 (1,269,210 sq mi) (7th)
• Water (%)
9.56
Population
• 2009 estimate
1,198,003,000[5] (2nd)
• 2001 census
1,028,610,328[11]
• Density
364.4/km2 (943.8/sq mi) (32nd)
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)
Drives on the left
Calling code 91
ISO 3166 code IN
Internet TLD .in
Non-numbered Footnotes:

Open space example[edit]

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

Open space example w/ bullets[edit]

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

Template:Neuropsychology / template:Sidebar with collapsible lists[edit]

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

Proclus Lycaeus / template:Infobox philosopher[edit]

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.

Side by side comparison
{{Collapsible list}} {{Collapsible list/sandbox}}
Proclus Lycaeus
Full name Proclus Lycaeus
Other names "The Successor" (ὁ Διάδοχος)
Born (412-02-08)February 8, 412
Byzantium
Died April 17, 485(485-04-17) (aged 73)
Era Ancient philosophy
Region Western philosophy
School Neoplatonism
Proclus Lycaeus
Full name Proclus Lycaeus
Other names "The Successor" (ὁ Διάδοχος)
Born (412-02-08)February 8, 412
Byzantium
Died April 17, 485(485-04-17) (aged 73)
Era Ancient philosophy
Region Western philosophy
School Neoplatonism

template:VG Role-playing / template:Sidebar with collapsible lists[edit]

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
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[edit]

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 Callsign
UA UAL UNITED
Founded April 6, 1926 (1926-04-06)
Boise, Idaho, U.S.
(as Varney Air Lines)[13][14]
Commenced operations

April 6, 1926 (1926-04-06)[15]

1927 (as Boeing Air Transport)[16]
AOC # UALA011A[17]
Hubs
Frequent-flyer program Mileage Plus[18]
Alliance Star Alliance[19]
Subsidiaries
Fleet size
Destinations 216
Parent company United Continental Holdings, Inc.
Headquarters Chicago, Illinois, U.S.
Key people
Revenue Decrease US$16,335 million (FY 2009)[21]
Operating income Increase US$–161 million (FY 2009)[21]
Net income Increase US$–651 million (FY 2009)[21]
Total assets Decrease US$18,684 million (FY 2009)[21]
Total equity Decrease US$–2,452 million (FY 2009)[21]
Website www.united.com
United Airlines
IATA ICAO Callsign
UA UAL UNITED
Founded April 6, 1926 (1926-04-06)
Boise, Idaho, U.S.
(as Varney Air Lines)[13][14]
Commenced operations

April 6, 1926 (1926-04-06)[15]

1927 (as Boeing Air Transport)[23]
AOC # UALA011A[17]
Hubs
Frequent-flyer program Mileage Plus[18]
Alliance Star 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
Destinations 216
Parent company United Continental Holdings, Inc.
Headquarters Chicago, Illinois, U.S.
Key people
Revenue Decrease US$16,335 million (FY 2009)[21]
Operating income Increase US$–161 million (FY 2009)[21]
Net income Increase US$–651 million (FY 2009)[21]
Total assets Decrease US$18,684 million (FY 2009)[21]
Total equity Decrease US$–2,452 million (FY 2009)[21]
Website www.united.com

List within image caption[edit]

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

Masquerading as a section title[edit]

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;"


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
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
Reign 1479–1425 BC, 18th Dynasty
Predecessor Hatshepsut
Successor Amenhotep II
Consort(s) Satiah,[29] Hatshepsut-Meryetre, Nebtu, Menwi, Merti, Menhet
Children Amenemhat, Amenhotep II, Beketamun, Iset, Menkheperre, Meryetamun, Meryetamun, Nebetiunet, Nefertiry, Siamun[29]
Father Thutmose II (?)
Mother Iset
Died 1425 BC
Burial KV34
Monuments Cleopatra's Needles
Thutmose III
Tuthmosis III, "Manahpi(r)ya" in the Amarna letters
Thutmosis III statue in Luxor Museum
Pharaoh of Egypt
Reign 1479–1425 BC, 18th Dynasty
Predecessor Hatshepsut
Successor Amenhotep II
  • PrenomenMenkheperre
    Lasting is the Manifestation of Re[31]
  • M23 L2
    ra mn xpr
  • NomenThutmose Neferkheperu
    Thoth is born, beautiful of forms
  • G39 N5
    G26 ms nfr xpr
  • Horus nameKanakht Khaemwaset
    Mighty Bull, Arising in Thebes
  • G5
    E1
    D40
    N28 m S40 t
    O49
  • Nebty nameWahnesytmireempet
    Enduring in kingship like Re in heaven
  • G16
    V29 sw t i i ra
    Z1
    mi m Q3 X1
    N1
  • Golden HorusSekhempahtydsejerkhaw
    Powerful of strength, holy of diadems
  • G8
    sxm F9
    F9
    D45
    N28
    Z3

Consort(s) Satiah,[29] Hatshepsut-Meryetre, Nebtu, Menwi, Merti, Menhet
Children Amenemhat, Amenhotep II, Beketamun, Iset, Menkheperre, Meryetamun, Meryetamun, Nebetiunet, Nefertiry, Siamun[29]
Father Thutmose II (?)
Mother Iset
Died 1425 BC
Burial KV34
Monuments Cleopatra's Needles