Infobox/testcases
Jump to navigation
Jump to search
Template:Template test cases notice
Test
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Reference lists in strange orders
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
- ↑ Some reference.
Custom width
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Test for child=yes
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Test for subbox=yes
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Simple embedding
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||
---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Child infobox in header field
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||
---|---|---|---|---|---|---|---|---|
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Child in header field II
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||
---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Sidebar with subbox
{{Infobox}} | {{Infobox/sandbox}} | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.Page Template:Infobox/sandbox/styles.css has no content.
|
Page Template:Infobox/sandbox/styles.css has no content.
|
child test: title and above
{{Infobox|above=above|child=yes|templatestyles=Infobox/sandbox/styles.css|title=title}}
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox3cols}} | ||||
---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.title'"`UNIQ--templatestyles-00000038-QINU`"''"`UNIQ--templatestyles-0000003A-QINU`"'title[[Category:Pages using embedded infobox templates with the title parameter]] |
Error: expandTemplate: template "Infobox/sandbox" does not exist<strong class="error">Error: expandTemplate: template "Infobox/sandbox" does not exist</strong> |
Page Template:Infobox/sandbox/styles.css has no content.
'"`UNIQ--templatestyles-0000003B-QINU`"''"`UNIQ--templatestyles-0000003D-QINU`"'<table class="infobox-subbox infobox-3cols-child"><caption class="infobox-title">title</caption><tr><th colspan="4" class="infobox-above">above</th></tr>[[Category:Infobox templates|testcases]]</table> |
child test: header, label, and data
{{Infobox|child=yes|data2=data2|header1=header1|label2=label2|templatestyles=Infobox/sandbox/styles.css}}
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox3cols}} |
---|---|---|
'"`UNIQ--templatestyles-0000003F-QINU`"''"`UNIQ--templatestyles-00000041-QINU`"'<tr><th colspan="2" class="infobox-header">header1</th></tr><tr><th scope="row" class="infobox-label">label2</th><td class="infobox-data">data2</td></tr> | <strong class="error">Error: expandTemplate: template "Infobox/sandbox" does not exist</strong> |
'"`UNIQ--templatestyles-00000042-QINU`"''"`UNIQ--templatestyles-00000044-QINU`"'<table class="infobox-subbox infobox-3cols-child"><tr><th colspan="4" class="infobox-header">header1</th></tr><tr><th scope="row" class="infobox-label">label2</th><td colspan="3" class="infobox-data"> data2</td></tr>[[Category:Infobox templates|testcases]]</table> |
Aristotle
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Aristotle no line-height
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||
---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Eccentric styles
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Table in infobox row
Smash Mouth singles chronology | ||||
---|---|---|---|---|
| ||||
Smash Mouth singles chronology | ||||
| ||||
Wings at the Speed of Sound track listing | ||||
Template:Wings at the Speed of Sound tracks | ||||
Smash Mouth singles chronology | ||||
|
Orphaned references
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||
---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Captionstyle text-align left
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||
---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Individual row styles
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Individual header styles
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Odd/even header styles
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Overimage / overcaption
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Individual header/label/data styles
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Two plain lists
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||
---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||
---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Mixed text and lists
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||
---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||
---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
Test for subbox=yes with HTML tagging for collapsing subsection
{{Infobox}} | {{Infobox/sandbox}} | {{Infobox/sandbox2}} | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Template:Infobox/sandbox/styles.css has no content.
| Error: expandTemplate: template "Infobox/sandbox" does not exist | Error: expandTemplate: template "Infobox/sandbox2" does not exist |
autoheaders = yes
- new, June 2020
- testing:
|data12=
has no data, does have /span> tag.
- --> data-row treated as non-empty.
Header1 | |
---|---|
I2 | d1 |
Header11 | |
I12 | |
Header21 |
Header1 | |
---|---|
I2 | d1 |
Header11 | |
I12 |
Hidden rows for no-content except categories
Use Special:ExpandTemplates to test this. Template:Infobox/sandbox
Label1 | Data1 |
---|
List class support
Don't emit TStyles from an empty template
{{Infobox|rowclass4=plainlist hlist}}
{{Infobox}}
'"`UNIQ--templatestyles-0000008A-QINU`"'
{{Infobox/sandbox}}
Error: expandTemplate: template "Infobox/sandbox" does not exist<strong class="error">Error: expandTemplate: template "Infobox/sandbox" does not exist</strong>
{{Infobox|titleclass=plainlist hlist}}
{{Infobox}}
'"`UNIQ--templatestyles-0000008C-QINU`"'
{{Infobox/sandbox}}
Error: expandTemplate: template "Infobox/sandbox" does not exist<strong class="error">Error: expandTemplate: template "Infobox/sandbox" does not exist</strong>
Emit 3 TStyles (hlist -> plainlist -> base), two nowiki markers, in title and above
{{Infobox|above= * A list|aboveclass=hlist|title= * A list|titleclass=plainlist}}
{{Infobox}}
|
---|
'"`UNIQ--templatestyles-00000090-QINU`"''"`UNIQ--templatestyles-00000092-QINU`"''"`UNIQ--templatestyles-00000094-QINU`"'<table class="infobox"><caption class="infobox-title plainlist">'"`UNIQ--nowiki-0000008D-QINU`"' * A list</caption><tr><th colspan="2" class="infobox-above hlist">'"`UNIQ--nowiki-0000008E-QINU`"' * A list </th></tr></table>
{{Infobox/sandbox}}
Error: expandTemplate: template "Infobox/sandbox" does not exist<strong class="error">Error: expandTemplate: template "Infobox/sandbox" does not exist</strong>
Emit 3 TStyles (hlist -> plainlist -> base) for image4 and image5
{{Infobox|image4=* A list|image5=* A list|imagerowclass4=plainlist|imagerowclass5=hlist}}
{{Infobox}}
| |
|
'"`UNIQ--templatestyles-00000096-QINU`"''"`UNIQ--templatestyles-00000097-QINU`"''"`UNIQ--templatestyles-00000098-QINU`"'<table class="infobox"><tr class="plainlist"><td colspan="2" class="infobox-image"> * A list </td></tr><tr class="hlist"><td colspan="2" class="infobox-image"> * A list </td></tr></table>
{{Infobox/sandbox}}
Error: expandTemplate: template "Infobox/sandbox" does not exist<strong class="error">Error: expandTemplate: template "Infobox/sandbox" does not exist</strong>
Emit 1 TStyle (base only) because rowclass and image aren't relevant
{{Infobox|image4=* A list|image5=* A list|rowclass4=plainlist|rowclass5=hlist}}
{{Infobox}}
| |
|
'"`UNIQ--templatestyles-0000009A-QINU`"'<table class="infobox"><tr><td colspan="2" class="infobox-image"> * A list </td></tr><tr><td colspan="2" class="infobox-image"> * A list </td></tr></table>
{{Infobox/sandbox}}
Error: expandTemplate: template "Infobox/sandbox" does not exist<strong class="error">Error: expandTemplate: template "Infobox/sandbox" does not exist</strong>
References
- For whole testpage
- ↑ A reference