Infobox/testcases

From Readers Who Know: The Paneidoverse Encyclopedia
Jump to navigation Jump to search

Template:Template test cases notice

Test

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
The Summit Church (title)
The Summit Church (above)
Subheader1
Subheader2
Example.jpg
Caption of image1
Example2.jpg
Caption of image2
General Info
LocationRaleigh-Durham, North Carolina
CountryUnited States
DenominationSouthern Baptist
Websitewww.summitchurch.cc
History
Founded1961
Clergy
Senior PastorJ.D. Greear
Below
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Reference lists in strange orders

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
The Summit Church (title)
The Summit Church (above)
Subheader1
Subheader2
Example.jpg
Caption of image1
Example2.jpg
Caption of image2
General Info
LocationRaleigh-Durham, North Carolina[1]
CountryUnited States
DenominationSouthern Baptist
Websitewww.summitchurch.cc
History
Founded1961
Clergy
Senior PastorJ.D. Greear
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist
  1. Some reference.

Custom width

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
Test Infobox
Label 1Data 1
Label 2Data 2
Label 3Data 3
Header 4
Label 5Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Below text
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Test for child=yes

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
Main 1
Main 2
Main 3 Template:Infobox/sandbox
Main 4 Template:Infobox/sandbox
Main 5
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Test for subbox=yes

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
Main 1
Main 2
Template:Infobox/sandbox
Template:Infobox/sandbox
Label 5Data 5
Main 6
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Simple embedding

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
Top level title
Template:Infobox/sandbox
Template:Infobox/sandbox
Below text
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Child infobox in header field

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Top level title
Template:Infobox/sandbox
Template:Infobox/sandbox
Below text
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Child in header field II

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
Top level title
First subsection Template:Infobox/sandbox
Second subsection Template:Infobox/sandbox
Below text
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Sidebar with subbox

Side by side comparison
{{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}}
Side by side comparison
{{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.
title
above
'"`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}}
Side by side comparison
{{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

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
Aristotle
Aristotle Altemps Inv8575.jpg
Marble bust of Aristotle. Roman copy after a Greek bronze original by Lysippus c. 330 BC. The alabaster mantle is modern.
Born384 BC
Stagira, Chalcidice
Died322 BC (aged 61 or 62)
Euboea
NationalityGreek
EraAncient philosophy
RegionWestern philosophy
SchoolPeripatetic school
Aristotelianism
Main interestsPhysics, Metaphysics, Poetry, Theatre, Music, Rhetoric, Politics, Government, Ethics, Biology, Zoology
Notable ideasGolden mean, Aristotelian logic, syllogism, hexis, hylomorphism, Aristotle's theory of soul
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Aristotle no line-height

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
Aristotle
Aristotle Altemps Inv8575.jpg
Marble bust of Aristotle. Roman copy after a Greek bronze original by Lysippus c. 330 BC. The alabaster mantle is modern.
NationalityGreek
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Eccentric styles

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
Title
Above
Example.jpg
Caption
Example2.jpg
Caption2
header1
header2
header3
data5
label6data6
header7
header8
data11
header19
below
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Table in infobox row

Template:Testcase rows

Smash Mouth singles chronology
"Can't Get Enough of You Baby"
(1998)
"All Star"
(1999)
"Then the Morning Comes"
(1999)
Smash Mouth singles chronology
"Can't Get Enough of You Baby"
(1998)
"All Star"
(1999)
"Then the Morning Comes"
(1999)
Wings at the Speed of Sound track listing
Template:Wings at the Speed of Sound tracks
Smash Mouth singles chronology
"Can't Get Enough of You Baby"
(1998)
"All Star"
(1999)
"Then the Morning Comes"
(1999)

Orphaned references

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
label1data1
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Captionstyle text-align left

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
Eurozone (euro area)
The eurozone as of 2013
Currencyeuro
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Individual row styles

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
header1 red
label2data2
label3 wheatdata3 wheat
data4 pink
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Individual header styles

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
header1 red
data2
data3
header4 blue
data5
data6
header7 green
data8
data9
header10 pink
data11
data12
header13 grey
data14
data15
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Odd/even header styles

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
header1
data2
data3
header4
data5
header6
data7
data8
header9
data10
data11
header12
data13
data14
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Overimage / overcaption

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
above
Subheader1
Subheader2
Example.jpg
Caption of image1
Example2.jpg
Caption of image2
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Individual header/label/data styles

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
header1 red
label2 bluedata2 green
header3 pink
label4 greydata4 yellow
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Two plain lists

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
List 1
  • A
  • B
List 2
  • C
  • D
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
List 1
  • A
List 2
  • B
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist

Mixed text and lists

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
Without additional div tags
BattlesWorld War I
Error: expandTemplate: template "Infobox/sandbox" does not exist Error: expandTemplate: template "Infobox/sandbox2" does not exist
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
With additional div tags
Battles
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

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Page Template:Infobox/sandbox/styles.css has no content.
Main 1
Main 2
Sub 3-1
Sub 3-2
Label 3-3Data 3-3
Title Collapse
Label 4-1Data 4-1
Label 4-2Data 4-2
Data 5
Main 6
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.
check css / old
Header1
I2d1
Header11
I12
Header21
check css / a.h.=yes
Header1
I2d1
Header11
I12


Hidden rows for no-content except categories

Use Special:ExpandTemplates to test this. Template:Infobox/sandbox

Current
Label1Data1

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

  • A list
  • A list
  • '"`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}}

    • A list
    • A list
    '"`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}}

    • A list
    • A list
    '"`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
    1. A reference