Template:Infobox/testcases

Template:Template test cases notice

Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
The Summit Church (title)
The Summit Church (above)
Subheader1
Subheader2
Caption of image1
Caption of image2
General Info
LocationRaleigh-Durham, North Carolina
CountryUnited States
DenominationSouthern Baptist
Websitewww.summitchurch.cc
History
Founded1961
Clergy
Senior PastorJ.D. Greear
Below
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
The Summit Church (title)
The Summit Church (above)
Subheader1
Subheader2
Caption of image1
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/sandbox2" does not exist

Reference lists in strange orders

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
The Summit Church (title)
The Summit Church (above)
Subheader1
Subheader2
Caption of image1
Caption of image2
General Info
LocationRaleigh-Durham, North Carolina[1]
CountryUnited States
DenominationSouthern Baptist
Websitewww.summitchurch.cc
History
Founded1961
Clergy
Senior PastorJ.D. Greear
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
The Summit Church (title)
The Summit Church (above)
Subheader1
Subheader2
Caption of image1
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/sandbox2" does not exist
  1. Some reference.

Custom width

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
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
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
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/sandbox2" does not exist

Test for child=yes

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Main 1
Main 2
Main 3 La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Sub 3-1
Sub 3-2
Label 3-3Data 3-3
Main 4 La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Label 4-1Data 4-1
Main 5
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Main 1
Main 2
Main 3 La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Sub 3-1
Sub 3-2
Label 3-3Data 3-3
Main 4 La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Label 4-1Data 4-1
Main 5
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Test for subbox=yes

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Main 1
Main 2
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Sub 3-1
Sub 3-2
Label 3-3Data 3-3
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Label 4-1Data 4-1
Label 5Data 5
Main 6
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Main 1
Main 2
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Sub 3-1
Sub 3-2
Label 3-3Data 3-3
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Label 4-1Data 4-1
Label 5Data 5
Main 6
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Simple embedding

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Top level title
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.First subsection
Label 1.1Data 1.1
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.Second subsection
Label 2.1Data 2.1
Below text
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Top level title
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.First subsection
Label 1.1Data 1.1
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.Second subsection
Label 2.1Data 2.1
Below text
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Child infobox in header field

mudé
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
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Child in header field II

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Top level title
First subsection La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Label 1.1Data 1.1
Second subsection La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Label 2.1Data 2.1
Below text
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Top level title
First subsection La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Label 1.1Data 1.1
Second subsection La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Label 2.1Data 2.1
Below text
Error: expandTemplate: template "Infobox/sandbox2" does not exist
mudé

Template:Test case nowiki

child test: title and above

mudé
{{Infobox|above=above|child=yes|templatestyles=Infobox/sandbox/styles.css|title=title}}
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox3cols}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.title
'"`UNIQ--templatestyles-0000003F-QINU`"''"`UNIQ--templatestyles-00000040-QINU`"'title[[Category:Pages using embedded infobox templates with the title parameter]]
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.title
'"`UNIQ--templatestyles-00000041-QINU`"''"`UNIQ--templatestyles-00000042-QINU`"'title[[Category:Pages using embedded infobox templates with the title parameter]]
Error: expandTemplate: template "Infobox3cols" does not exist
<strong class="error">Error: expandTemplate: template "Infobox3cols" does not exist</strong>

child test: header, label, and data

mudé
{{Infobox|child=yes|data2=data2|header1=header1|label2=label2|templatestyles=Infobox/sandbox/styles.css}}
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox3cols}}
'"`UNIQ--templatestyles-00000044-QINU`"''"`UNIQ--templatestyles-00000045-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-00000046-QINU`"''"`UNIQ--templatestyles-00000047-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 "Infobox3cols" does not exist</strong>

Aristotle

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Aristotle
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
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Aristotle
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/sandbox2" does not exist

Aristotle no line-height

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Aristotle
Marble bust of Aristotle. Roman copy after a Greek bronze original by Lysippus c. 330 BC. The alabaster mantle is modern.
NationalityGreek
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Aristotle
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/sandbox2" does not exist

Eccentric styles

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Title
Above
Caption
Caption2
header1
header2
header3
data5
label6data6
header7
header8
data11
header19
below
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Title
Above
Caption
Caption2
header1
header2
header3
data5
label6data6
header7
header8
data11
header19
below
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Table in infobox row

mudé

Template:Testcase rows Errore script: la funzione "minus" non esiste.

Template:Col-float

Smash Mouth singles chronology
Template:(! style="background: transparent; width: 100%; min-width: 100%; border-collapse: collapse"

|- style="line-height: 1.4em;" | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" | "Can't Get Enough of You Baby"
(1998) | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" | "All Star"
(1999) | style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em" | "Then the Morning Comes"
(1999) |-

Template:!)
Smash Mouth singles chronology
Template:(! style="background: transparent; width: 100%; min-width: 100%; border-collapse: collapse"

|- style="line-height: 1.4em;" | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" | "Can't Get Enough of You Baby"
(1998) | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" | "All Star"
(1999) | style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em" | "Then the Morning Comes"
(1999) |-

Template:!)
Wings at the Speed of Sound track listing
Template:Wings at the Speed of Sound tracks
Smash Mouth singles chronology
Template:(! style="background: transparent; width: 100%; min-width: 100%; border-collapse: collapse"

|- style="line-height: 1.4em;" | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" | "Can't Get Enough of You Baby"
(1998) | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" | "All Star"
(1999) | style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em" | "Then the Morning Comes"
(1999) |-

Template:!)

Template:Col-float-break

La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.

La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Smash Mouth singles chronology
Template:(! style="background: transparent; width: 100%; min-width: 100%; border-collapse: collapse"

|- style="line-height: 1.4em;" | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" | "Can't Get Enough of You Baby"
(1998) | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" | "All Star"
(1999) | style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em" | "Then the Morning Comes"
(1999) |-

Template:!)
Smash Mouth singles chronology
Template:(! style="background: transparent; width: 100%; min-width: 100%; border-collapse: collapse"

|- style="line-height: 1.4em;" | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" | "Can't Get Enough of You Baby"
(1998) | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" | "All Star"
(1999) | style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em" | "Then the Morning Comes"
(1999) |-

Template:!)
Wings at the Speed of Sound track listing
Template:Wings at the Speed of Sound tracks
Smash Mouth singles chronology
Template:(! style="background: transparent; width: 100%; min-width: 100%; border-collapse: collapse"

|- style="line-height: 1.4em;" | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" | "Can't Get Enough of You Baby"
(1998) | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" | "All Star"
(1999) | style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em" | "Then the Morning Comes"
(1999) |-

Template:!)

Template:Col-float-break Template:Infobox/sandbox2 Template:Col-float-end

Orphaned references

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
label1data1
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
label1data1
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Captionstyle text-align left

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Eurozone (euro area)
The eurozone as of 2013
  Eurozone as of 2013
  Non-EU territories using the euro
  EU member states outside the Eurozone
Currencyeuro
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Eurozone (euro area)
The eurozone as of 2013
  Eurozone as of 2013
  Non-EU territories using the euro
  EU member states outside the Eurozone
Currencyeuro
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Individual row styles

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
header1 red
label2data2
label3 wheatdata3 wheat
data4 pink
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
header1 red
label2data2
label3 wheatdata3 wheat
data4 pink
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Individual header styles

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
header1 red
data2
data3
header4 blue
data5
data6
header7 green
data8
data9
header10 pink
data11
data12
header13 grey
data14
data15
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
header1 red
data2
data3
header4 blue
data5
data6
header7 green
data8
data9
header10 pink
data11
data12
header13 grey
data14
data15
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Odd/even header styles

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
header1
data2
data3
header4
data5
header6
data7
data8
header9
data10
data11
header12
data13
data14
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
header1
data2
data3
header4
data5
header6
data7
data8
header9
data10
data11
header12
data13
data14
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Overimage / overcaption

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
above
Subheader1
Subheader2
Caption of image1
Caption of image2
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
above
Subheader1
Subheader2
Caption of image1
Caption of image2
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Individual header/label/data styles

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
header1 red
label2 bluedata2 green
header3 pink
label4 greydata4 yellow
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
header1 red
label2 bluedata2 green
header3 pink
label4 greydata4 yellow
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Two plain lists

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
List 1
  • A
  • B
List 2
  • C
  • D
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
List 1
  • A
  • B
List 2
  • C
  • D
Error: expandTemplate: template "Infobox/sandbox2" does not exist
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
List 1
  • A
List 2
  • B
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
List 1
  • A
List 2
  • B
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Mixed text and lists

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Without additional div tags
BattlesWorld War I
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
Without additional div tags
BattlesWorld War I
Error: expandTemplate: template "Infobox/sandbox2" does not exist
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
With additional div tags
Battles
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
With additional div tags
Battles
Error: expandTemplate: template "Infobox/sandbox2" does not exist

Test for subbox=yes with HTML tagging for collapsing subsection

mudé
Side by side comparison
{{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
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
La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.
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/sandbox2" does not exist

autoheaders = yes

mudé
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

mudé

Use Special:ExpandTemplates to test this.

La pagina Template:Infobox/sandbox/styles.css è priva di contenuto.

Sandbox
Label1Data1
Current
Label1Data1

References

mudé
For whole testpage
  1. A reference