Template:Collapsible list/testcases

From MOASSpedia
Jump to navigation Jump to search

Expand

{{Collapsible list|1|2|3}}
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
List
  • 1
  • 2
  • 3
Error: expandTemplate: template "Collapsible list/sandbox" does not exist
{{Collapsible list|1|2|3|expand=}}
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
List
  • 1
  • 2
  • 3
Error: expandTemplate: template "Collapsible list/sandbox" does not exist
{{Collapsible list|1|2|3|expand=true}}
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
List
  • 1
  • 2
  • 3
Error: expandTemplate: template "Collapsible list/sandbox" does not exist
{{Collapsible list|1|2|3|expand=false}}
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
List
  • 1
  • 2
  • 3
Error: expandTemplate: template "Collapsible list/sandbox" does not exist
{{Collapsible list|1|2|3|expand=anything else}}
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
List
  • 1
  • 2
  • 3
Error: expandTemplate: template "Collapsible list/sandbox" does not exist

Long title example

List with a long |title=
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
Error: expandTemplate: template "Collapsible list/sandbox" does not exist

Long title example w/ bullets

List with a long |title= and |bullets=fire
Side by side comparison
{{Collapsible list}}{{Collapsible list/sandbox}}
Error: expandTemplate: template "Collapsible list/sandbox" does not exist

Republic of India

The time allocated for running scripts has expired.

Template:Neuropsychology / template:Sidebar with collapsible lists

The time allocated for running scripts has expired.

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.

The time allocated for running scripts has expired.

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

The time allocated for running scripts has expired.

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

The time allocated for running scripts has expired.

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

The time allocated for running scripts has expired.

bulleted, expanded and not, small text

The time allocated for running scripts has expired.

The time allocated for running scripts has expired.

The time allocated for running scripts has expired.

The time allocated for running scripts has expired.

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

The time allocated for running scripts has expired.

Elizabeth II

Testcase checks:

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

The time allocated for running scripts has expired.

List in list


References

  1. ^ The time allocated for running scripts has expired.
  2. ^ The time allocated for running scripts has expired.
  3. ^ The time allocated for running scripts has expired..
  4. ^ a b c The time allocated for running scripts has expired.
  5. ^ a b The time allocated for running scripts has expired.
  6. ^ The time allocated for running scripts has expired.
  7. ^ a b c d e f g h The time allocated for running scripts has expired.
  8. ^ The time allocated for running scripts has expired.
  9. ^ The time allocated for running scripts has expired.

The time allocated for running scripts has expired.