Skabelon:Collapsible list/testcases

Expand redigér

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

Long title example redigér

Long title example w/ bullets redigér

India redigér

Template:Neuropsychology sidebar / template:Sidebar with collapsible lists redigér

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

Proclus / template:Infobox philosopher redigér

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/sandkasse}}
Proclus Lycaeus
Full name Proclus Lycaeus
Other names "The Successor" (ὁ Διάδοχος)
Born (412-02-08)februar 8, 412
Byzantium
Died april 17, 485(485-04-17) (alder 73)
Era Ancient philosophy
Region Western philosophy
School Neoplatonism
Proclus Lycaeus
Full name Proclus Lycaeus
Other names "The Successor" (ὁ Διάδοχος)
Born (412-02-08)februar 8, 412
Byzantium
Died april 17, 485(485-04-17) (alder 73)
Era Ancient philosophy
Region Western philosophy
School Neoplatonism

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

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 redigér

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

List within image caption redigér

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/sandkasse}}
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.
Legend

bulleted, expanded and not, small text redigér

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

hlist redigér

{{Collapsible list| [[Iceland]]
 | [[Liechtenstein]]
 | [[Norway]]
 | [[Switzerland]]
|title=Members|hlist=y}}

{{Collapsible list}}

'"`UNIQ--templatestyles-00000028-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>

{{Collapsible list/sandkasse}}

'"`UNIQ--templatestyles-00000029-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 redigér

Tuthmosis III redigér

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/sandkasse}}
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,[5] Hatshepsut-Meryetre, Nebtu, Menwi, Merti, Menhet
Children Amenemhat, Amenhotep II, Beketamun, Iset, Menkheperre, Meryetamun, Meryetamun, Nebetiunet, Nefertiry, Siamun[5]
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
Consort(s) Satiah,[5] Hatshepsut-Meryetre, Nebtu, Menwi, Merti, Menhet
Children Amenemhat, Amenhotep II, Beketamun, Iset, Menkheperre, Meryetamun, Meryetamun, Nebetiunet, Nefertiry, Siamun[5]
Father Thutmose II (?)
Mother Iset
Died 1425 BC
Burial KV34
Monuments Cleopatra's Needles

Elizabeth II redigér

Testcase checks:

  • Clickable [show] should not overlap with the list's title

List in list redigér



References redigér

  1. ^ a b 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. Hentet 2007-02-28.
  2. ^ Country profile: United States of America, BBC News. Retrieved July 22, 2008.
  3. ^ Country profile: United States of America, BBC News. Retrieved July 22, 2008.
  4. ^ Clayton, Peter. Chronicle of the Pharaohs, Thames & Hudson Ltd., 1994. p.104
  5. ^ a b c d Dodson, Aidan. Hilton, Dyan. The Complete Royal Families of Ancient Egypt, Thames and Hudson. p132. 2004. ISBN 0-500-05128-3
  6. ^ Clayton, Peter. Chronicle of the Pharaohs, Thames & Hudson Ltd., 1994. p.104