Template:Collapsible list/testcases
< Template:Collapsible list
Jump to navigation
Jump to search
Revision as of 08:40, 6 September 2020 by imported>Andrybak (→Long title example: rename sections)
- 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.
Contents
- 1 Expand
- 2 Long title example
- 3 Long title example w/ bullets
- 4 Republic of India
- 5 Template:Neuropsychology / template:Sidebar with collapsible lists
- 6 Proclus Lycaeus / template:Infobox philosopher
- 7 template:VG Role-playing / template:Sidebar with collapsible lists
- 8 United Airlines
- 9 List within image caption
- 10 bulleted, expanded and not, small text
- 11 Masquerading as a section title
Expand
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
Long title example
Long title example w/ bullets
Republic of India
CollapseRepublic of India | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Template:Neuropsychology / template:Sidebar with collapsible lists
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.
CollapseSingle item in list | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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
Collapse{{Collapsible list}} | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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}}
Collapse{{Collapsible list}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
List within image caption
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
CollapseList within image caption | ||||
---|---|---|---|---|
|
bulleted, expanded and not, small text
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
CollapseTuthmosis III | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Elizabeth II
Testcase checks:
- Clickable [show] should not overlap with the list's title
CollapseElizabeth II | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Expand
References