Template:Infobox/testcases

From MOASSpedia
Jump to navigation Jump to search

Test

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

Reference lists in strange orders

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
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
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
  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
Error: expandTemplate: template "Infobox/sandbox" does not exist
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 Template:Infobox/sandbox
Main 4 Template:Infobox/sandbox
Main 5
Error: expandTemplate: template "Infobox/sandbox" does not exist
Main 1
Main 2
Main 3 Template:Infobox/sandbox
Main 4 Template:Infobox/sandbox
Main 5

Test for subbox=yes

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Main 1
Main 2
Template:Infobox/sandbox
Template:Infobox/sandbox
Label 5Data 5
Main 6
Error: expandTemplate: template "Infobox/sandbox" does not exist
Main 1
Main 2
Template:Infobox/sandbox
Template:Infobox/sandbox
Label 5Data 5
Main 6

Simple embedding

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
Top level title
Template:Infobox/sandbox
Template:Infobox/sandbox
Below text

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
Top level title
Template:Infobox/sandbox
Template:Infobox/sandbox
Below text

Child in header field II

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
Top level title
First subsection Template:Infobox/sandbox
Second subsection Template:Infobox/sandbox
Below text
Error: expandTemplate: template "Infobox/sandbox" does not exist
Top level title
First subsection Template:Infobox/sandbox
Second subsection Template:Infobox/sandbox
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-00000029-QINU`"''"`UNIQ--templatestyles-0000002A-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>
title
above
'"`UNIQ--templatestyles-0000002B-QINU`"''"`UNIQ--templatestyles-0000002C-QINU`"'<table class="infobox-subbox infobox-3cols-child"><caption class="infobox-title">title</caption><tr><th colspan="4" class="infobox-above">above</th></tr></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-0000002E-QINU`"''"`UNIQ--templatestyles-0000002F-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-00000030-QINU`"''"`UNIQ--templatestyles-00000031-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></table>

Aristotle

The time allocated for running scripts has expired.

Aristotle no line-height

The time allocated for running scripts has expired.

Eccentric styles

The time allocated for running scripts has expired.

Table in infobox row

The time allocated for running scripts has expired.

The time allocated for running scripts has expired.

The time allocated for running scripts has expired.

Orphaned references

The time allocated for running scripts has expired.

Captionstyle text-align left

The time allocated for running scripts has expired.

Individual row styles

The time allocated for running scripts has expired.

Individual header styles

The time allocated for running scripts has expired.

Odd/even header styles

The time allocated for running scripts has expired.

Overimage / overcaption

The time allocated for running scripts has expired.

Individual header/label/data styles

The time allocated for running scripts has expired.

Two plain lists

The time allocated for running scripts has expired.

The time allocated for running scripts has expired.

Mixed text and lists

The time allocated for running scripts has expired. The time allocated for running scripts has expired.

Test for subbox=yes with HTML tagging for collapsing subsection

The time allocated for running scripts has expired.

autoheaders = yes

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

The time allocated for running scripts has expired.

The time allocated for running scripts has expired.


Hidden rows for no-content except categories

Use Special:ExpandTemplates to test this. Template:Infobox/sandbox The time allocated for running scripts has expired.

References

For whole testpage