Template:Collapsible list/testcases
This is the template test cases page for the sandbox of Template:Collapsible list. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Expand
{{Collapsible list|1|2|3}}
{{Collapsible list}} | {{Collapsible list/sandbox}} |
---|---|
List
| Error: expandTemplate: template "Collapsible list/sandbox" does not exist |
{{Collapsible list|1|2|3|expand=}}
{{Collapsible list}} | {{Collapsible list/sandbox}} |
---|---|
List
| Error: expandTemplate: template "Collapsible list/sandbox" does not exist |
{{Collapsible list|1|2|3|expand=true}}
{{Collapsible list}} | {{Collapsible list/sandbox}} |
---|---|
List
| Error: expandTemplate: template "Collapsible list/sandbox" does not exist |
{{Collapsible list|1|2|3|expand=false}}
{{Collapsible list}} | {{Collapsible list/sandbox}} |
---|---|
List
| Error: expandTemplate: template "Collapsible list/sandbox" does not exist |
{{Collapsible list|1|2|3|expand=anything else}}
{{Collapsible list}} | {{Collapsible list/sandbox}} |
---|---|
List
| Error: expandTemplate: template "Collapsible list/sandbox" does not exist |
Long title example
|title=
{{Collapsible list}} | {{Collapsible list/sandbox}} |
---|---|
Error: expandTemplate: template "Collapsible list/sandbox" does not exist |
Long title example w/ bullets
|title=
and |bullets=fire
{{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.
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
The time allocated for running scripts has expired. Archives |
The time allocated for running scripts has expired. |
The time allocated for running scripts has expired. Archives |
Template:Collapsible list/sandbox |
References
- ^ The time allocated for running scripts has expired.
- ^ The time allocated for running scripts has expired.
- ^ The time allocated for running scripts has expired..
- ^ a b c The time allocated for running scripts has expired.
- ^ a b The time allocated for running scripts has expired.
- ^ The time allocated for running scripts has expired.
- ^ a b c d e f g h 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.