Template:Infobox/testcases

From Black Cat Studios
Jump to navigationJump to search

Test

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
The Summit Church (title)
The Summit Church (above)
Subheader1
Subheader2
File:Example.jpg
Caption of image1
File: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
The Summit Church (title)
The Summit Church (above)
Subheader1
Subheader2
File:Example.jpg
Caption of image1
File: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
The Summit Church (title)
The Summit Church (above)
Subheader1
Subheader2
File:Example.jpg
Caption of image1
File: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

Reference lists in strange orders

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
The Summit Church (title)
The Summit Church (above)
Subheader1
Subheader2
File:Example.jpg
Caption of image1
File: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
The Summit Church (title)
The Summit Church (above)
Subheader1
Subheader2
File:Example.jpg
Caption of image1
File: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
The Summit Church (title)
The Summit Church (above)
Subheader1
Subheader2
File:Example.jpg
Caption of image1
File: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
  1. Some reference.

Custom width

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
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
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
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

Test for child=yes

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Main 1
Main 2
Main 3
Sub 3-1
Sub 3-2
Label 3-3Data 3-3
Main 4
Label 4-1Data 4-1
Main 5
Main 1
Main 2
Main 3
Sub 3-1
Sub 3-2
Label 3-3Data 3-3
Main 4
Label 4-1Data 4-1
Main 5
Main 1
Main 2
Main 3
Sub 3-1
Sub 3-2
Label 3-3Data 3-3
Main 4
Label 4-1Data 4-1
Main 5

Test for subbox=yes

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Main 1
Main 2
Sub 3-1
Sub 3-2
Label 3-3Data 3-3
Label 4-1Data 4-1
Label 5Data 5
Main 6
Main 1
Main 2
Sub 3-1
Sub 3-2
Label 3-3Data 3-3
Label 4-1Data 4-1
Label 5Data 5
Main 6
Main 1
Main 2
Sub 3-1
Sub 3-2
Label 3-3Data 3-3
Label 4-1Data 4-1
Label 5Data 5
Main 6

Simple embedding

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Top level title
First subsection
Label 1.1Data 1.1
Second subsection
Label 2.1Data 2.1
Below text
Top level title
First subsection
Label 1.1Data 1.1
Second subsection
Label 2.1Data 2.1
Below text
Top level title
First subsection
Label 1.1Data 1.1
Second subsection
Label 2.1Data 2.1
Below text

Child infobox in header field

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Top level title
First subsection
Label 1.1Data 1.1
Second subsection
Label 2.1Data 2.1
Below text
Top level title
First subsection
Label 1.1Data 1.1
Second subsection
Label 2.1Data 2.1
Below text
Top level title
First subsection
Label 1.1Data 1.1
Second subsection
Label 2.1Data 2.1
Below text

Child in header field II

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Top level title
First subsection
Label 1.1Data 1.1
Second subsection
Label 2.1Data 2.1
Below text
Top level title
First subsection
Label 1.1Data 1.1
Second subsection
Label 2.1Data 2.1
Below text
Top level title
First subsection
Label 1.1Data 1.1
Second subsection
Label 2.1Data 2.1
Below text

Sidebar with subbox

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}

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}}
title
'"`UNIQ--templatestyles-0000005C-QINU`"''"`UNIQ--templatestyles-0000005D-QINU`"'title[[Category:Pages using embedded infobox templates with the title parameter]]
title
'"`UNIQ--templatestyles-0000005E-QINU`"''"`UNIQ--templatestyles-0000005F-QINU`"'title[[Category:Pages using embedded infobox templates with the title parameter]]
title
above
'"`UNIQ--templatestyles-00000060-QINU`"''"`UNIQ--templatestyles-00000061-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-00000063-QINU`"''"`UNIQ--templatestyles-00000064-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> '"`UNIQ--templatestyles-00000065-QINU`"''"`UNIQ--templatestyles-00000066-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>

'"`UNIQ--templatestyles-00000067-QINU`"''"`UNIQ--templatestyles-00000068-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}}
Aristotle
File: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
Aristotle
File: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
Aristotle
File: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

Aristotle no line-height

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Aristotle
File: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
Aristotle
File: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
Aristotle
File: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

Eccentric styles

Lua error: Internal error: The interpreter has terminated with signal "24".

Eccentric styles autoheaders

|autoheaders=true
|data2=<blank>, so header2 empty, expect omitted

Lua error: Internal error: The interpreter has terminated with signal "24".

Table in infobox row

Lua error: Internal error: The interpreter has terminated with signal "24".

Lua error: Internal error: The interpreter has terminated with signal "24".

Lua error: Internal error: The interpreter has terminated with signal "24".Lua error: Internal error: The interpreter has terminated with signal "24".

Lua error: Internal error: The interpreter has terminated with signal "24".

Orphaned references

Lua error: Internal error: The interpreter has terminated with signal "24".

Captionstyle text-align left

Lua error: Internal error: The interpreter has terminated with signal "24".

Individual row styles

Lua error: Internal error: The interpreter has terminated with signal "24".

Individual header styles

Lua error: Internal error: The interpreter has terminated with signal "24".

Odd/even header styles

Lua error: Internal error: The interpreter has terminated with signal "24".

Overimage / overcaption

Lua error: Internal error: The interpreter has terminated with signal "24".

Individual header/label/data styles

Lua error: Internal error: The interpreter has terminated with signal "24".

Two plain lists

Lua error: Internal error: The interpreter has terminated with signal "24".

Lua error: Internal error: The interpreter has terminated with signal "24".

Mixed text and lists

Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24".

Test for subbox=yes with HTML tagging for collapsing subsection

Lua error: Internal error: The interpreter has terminated with signal "24".

autoheaders = yes

new, June 2020
  • testing: |data12= has no data, does have  /span> tag.
--> data-row treated as non-empty.

Lua error: Internal error: The interpreter has terminated with signal "24".

Lua error: Internal error: The interpreter has terminated with signal "24".

Hidden rows for no-content except categories

Use Special:ExpandTemplates to test this. Lua error: Internal error: The interpreter has terminated with signal "24".Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24".

List class support

Don't emit TStyles from an empty template

Lua error: Internal error: The interpreter has terminated with signal "24".

Lua error: Internal error: The interpreter has terminated with signal "24".

Emit 3 TStyles (hlist -> plainlist -> base), two nowiki markers, in title and above

Lua error: Internal error: The interpreter has terminated with signal "24".

Emit 3 TStyles (hlist -> plainlist -> base) for image4 and image5

Lua error: Internal error: The interpreter has terminated with signal "24".

Emit 1 TStyle (base only) because rowclass and image aren't relevant

Lua error: Internal error: The interpreter has terminated with signal "24".

References

For whole testpage