Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
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
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

Reference lists in strange orders

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
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
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
  1. ^ Some reference.

Custom width

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
Test Infoboks
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 Infoboks
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

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
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

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
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

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
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

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
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

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
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
redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}

child test: title and above

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
title title

child test: header, label, and data

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
header1
label2data2
header1
label2data2

Aristotle

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
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
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

Aristotle no line-height

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
Aristotle
Marble bust of Aristotle. Roman copy after a Greek bronze original by Lysippus c. 330 BC. The alabaster mantle is modern.
NationalityGreek
Aristotle
Marble bust of Aristotle. Roman copy after a Greek bronze original by Lysippus c. 330 BC. The alabaster mantle is modern.
NationalityGreek

Eccentric styles

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
Title
Above
Caption
Caption2
header1
header2
header3
data5
label6data6
header7
header8
data11
header19
below
Title
Above
Caption
Caption2
header1
header2
header3
data5
label6data6
header7
header8
data11
header19
below


Eccentric styles autoheaders

redigér
|autoheaders=true
|data2=<blank>, so header2 empty, expect omitted
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
Title
Above
Caption
Caption2
label1data1
header3
data5
label6data6
data7
header8
data11
below
Title
Above
Caption
Caption2
label1data1
header3
data5
label6data6
data7
header8
data11
below

Table in infobox row

redigér

{{Infoboks}}

Lufthansa
Deutsche Lufthansa AG
IATA
LH
ICAO
DLH
Callsign
LUFTHANSA
Founded1953

{{Infoboks/sandkasse}}

Lufthansa
Deutsche Lufthansa AG
IATA
LH
ICAO
DLH
Callsign
LUFTHANSA
Founded1953


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
Skabelon: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)
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
Skabelon: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

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
label1data1
label1data1

Captionstyle text-align left

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
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
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

Individual row styles

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
header1 red
label2data2
label3 wheatdata3 wheat
data4 pink
header1 red
label2data2
label3 wheatdata3 wheat
data4 pink

Individual header styles

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
header1 red
data2
data3
header4 blue
data5
data6
header7 green
data8
data9
header10 pink
data11
data12
header13 grey
data14
data15
header1 red
data2
data3
header4 blue
data5
data6
header7 green
data8
data9
header10 pink
data11
data12
header13 grey
data14
data15

Odd/even header styles

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
header1
data2
data3
header4
data5
header6
data7
data8
header9
data10
data11
header12
data13
data14
header1
data2
data3
header4
data5
header6
data7
data8
header9
data10
data11
header12
data13
data14

Overimage / overcaption

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
above
Subheader1
Subheader2
Caption of image1
Caption of image2
above
Subheader1
Subheader2
Caption of image1
Caption of image2

Individual header/label/data styles

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
header1 red
label2 bluedata2 green
header3 pink
label4 greydata4 yellow
header1 red
label2 bluedata2 green
header3 pink
label4 greydata4 yellow

Two plain lists

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
List 1
  • A
  • B
List 2
  • C
  • D
List 1
  • A
  • B
List 2
  • C
  • D
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
List 1
  • A
List 2
  • B
List 1
  • A
List 2
  • B

Mixed text and lists

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
Without additional div tags
BattlesWorld War I
Without additional div tags
BattlesWorld War I
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
With additional div tags
Battles
With additional div tags
Battles

Test for subbox=yes with HTML tagging for collapsing subsection

redigér
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
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
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

autoheaders = yes

redigér
new, June 2020
  • testing: |data12= has no data, does have  /span> tag.
--> data-row treated as non-empty.
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
check css / old
Header1
I2d1
Header11
I12
Header21
check css / old
Header1
I2d1
Header11
I12
Header21
Side by side comparison
{{Infoboks}}{{Infoboks/sandkasse}}
check css / a.h.=yes
Header1
I2d1
Header11
I12
check css / a.h.=yes
Header1
I2d1
Header11
I12

Hidden rows for no-content except categories

redigér

Use Special:ExpandTemplates to test this.

Kategory:Skabelon testcases
Sandbox
Label1Data1
Kategory:Skabelon testcases
Current
Label1Data1


List class support

redigér

Don't emit TStyles from an empty template

redigér
{{Infoboks|rowclass4=plainlist hlist}}

{{Infoboks}}

'"`UNIQ--templatestyles-000000C7-QINU`"'

{{Infoboks/sandkasse}}

'"`UNIQ--templatestyles-000000C8-QINU`"'
{{Infoboks|titleclass=plainlist hlist}}

{{Infoboks}}

'"`UNIQ--templatestyles-000000CA-QINU`"'

{{Infoboks/sandkasse}}

'"`UNIQ--templatestyles-000000CB-QINU`"'

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

redigér
{{Infoboks|titleclass=plainlist|above=
* A list|title=
* A list|aboveclass=hlist}}

{{Infoboks}}

  • A list
  • A list
  • '"`UNIQ--templatestyles-000000CF-QINU`"''"`UNIQ--templatestyles-000000D0-QINU`"''"`UNIQ--templatestyles-000000D1-QINU`"'<table class="infobox"><caption class="infobox-title plainlist">'"`UNIQ--nowiki-000000CC-QINU`"'
    * A list</caption><tr><th colspan="2" class="infobox-above hlist">'"`UNIQ--nowiki-000000CD-QINU`"'
    * A list
    </th></tr></table>

    {{Infoboks/sandkasse}}

    • A list
  • A list
  • '"`UNIQ--templatestyles-000000D2-QINU`"''"`UNIQ--templatestyles-000000D3-QINU`"''"`UNIQ--templatestyles-000000D4-QINU`"'<table class="infobox"><caption class="infobox-title plainlist">'"`UNIQ--nowiki-000000CC-QINU`"'
    * A list</caption><tr><th colspan="2" class="infobox-above hlist">'"`UNIQ--nowiki-000000CD-QINU`"'
    * A list
    </th></tr></table>

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

    redigér
    {{Infoboks|image5=* A list|imagerowclass5=hlist|image4=* A list|imagerowclass4=plainlist}}

    {{Infoboks}}

    • A list
    • A list
    '"`UNIQ--templatestyles-000000D6-QINU`"''"`UNIQ--templatestyles-000000D7-QINU`"''"`UNIQ--templatestyles-000000D8-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>

    {{Infoboks/sandkasse}}

    • A list
    • A list
    '"`UNIQ--templatestyles-000000D9-QINU`"''"`UNIQ--templatestyles-000000DA-QINU`"''"`UNIQ--templatestyles-000000DB-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>

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

    redigér
    {{Infoboks|rowclass5=hlist|rowclass4=plainlist|image4=* A list|image5=* A list}}

    {{Infoboks}}

    • A list
    • A list
    '"`UNIQ--templatestyles-000000DD-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>

    {{Infoboks/sandkasse}}

    • A list
    • A list
    '"`UNIQ--templatestyles-000000DE-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>
    {{Infoboks|data1=data1|label1=label1 ''with'' a list
    * A
    * B|data2=<div class="plainlist " >
    * first plainlist in data2
    
    </div>|data3=<div class="plainlist " >
    * second plainlist in data3
    
    </div>}}

    {{Infoboks}}

    label1 with a list
    • A
    • B
    data1
  • first plainlist in data2
    • second plainlist in data3
    '"`UNIQ--templatestyles-000000E2-QINU`"'<table class="infobox"><tr><th scope="row" class="infobox-label">label1 ''with'' a list
    * A
    * B</th><td class="infobox-data">data1</td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000DF-QINU`"'<div class="plainlist " >
    * first plainlist in data2
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000E0-QINU`"'<div class="plainlist " >
    * second plainlist in data3
    
    </div></td></tr></table>

    {{Infoboks/sandkasse}}

    label1 with a list
    • A
    • B
    data1
  • first plainlist in data2
    • second plainlist in data3
    '"`UNIQ--templatestyles-000000E3-QINU`"'<table class="infobox"><tr><th scope="row" class="infobox-label">label1 ''with'' a list
    * A
    * B</th><td class="infobox-data">data1</td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000DF-QINU`"'<div class="plainlist " >
    * first plainlist in data2
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000E0-QINU`"'<div class="plainlist " >
    * second plainlist in data3
    
    </div></td></tr></table>

    {{Infoboks|data1=data1|label1=label1 ''without'' a list|data2=<div class="plainlist " >
    * first plainlist in data2
    
    </div>|data4=<div class="plainlist " >
    * second plainlist in data3
    
    </div>}}

    {{Infoboks}}

    label1 without a listdata1
    • first plainlist in data2
    • second plainlist in data3
    '"`UNIQ--templatestyles-000000E7-QINU`"'<table class="infobox"><tr><th scope="row" class="infobox-label">label1 ''without'' a list</th><td class="infobox-data">data1</td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000E4-QINU`"'<div class="plainlist " >
    * first plainlist in data2
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000E5-QINU`"'<div class="plainlist " >
    * second plainlist in data3
    
    </div></td></tr></table>

    {{Infoboks/sandkasse}}

    label1 without a listdata1
    • first plainlist in data2
    • second plainlist in data3
    '"`UNIQ--templatestyles-000000E8-QINU`"'<table class="infobox"><tr><th scope="row" class="infobox-label">label1 ''without'' a list</th><td class="infobox-data">data1</td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000E4-QINU`"'<div class="plainlist " >
    * first plainlist in data2
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000E5-QINU`"'<div class="plainlist " >
    * second plainlist in data3
    
    </div></td></tr></table>
    {{Infoboks|data1=data1|label1=label1 ''with'' a list
    * A
    * B|data2=<div class="hlist " >
    * C
    * D
    
    </div>|data3=<div class="hlist " >
    * E
    * F
    
    </div>}}

    {{Infoboks}}

    label1 with a list
    • A
    • B
    data1
  • C
  • D
    • E
    • F
    '"`UNIQ--templatestyles-000000EC-QINU`"'<table class="infobox"><tr><th scope="row" class="infobox-label">label1 ''with'' a list
    * A
    * B</th><td class="infobox-data">data1</td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000E9-QINU`"'<div class="hlist " >
    * C
    * D
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000EA-QINU`"'<div class="hlist " >
    * E
    * F
    
    </div></td></tr></table>

    {{Infoboks/sandkasse}}

    label1 with a list
    • A
    • B
    data1
  • C
  • D
    • E
    • F
    '"`UNIQ--templatestyles-000000ED-QINU`"'<table class="infobox"><tr><th scope="row" class="infobox-label">label1 ''with'' a list
    * A
    * B</th><td class="infobox-data">data1</td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000E9-QINU`"'<div class="hlist " >
    * C
    * D
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000EA-QINU`"'<div class="hlist " >
    * E
    * F
    
    </div></td></tr></table>

    {{Infoboks|data1=data1|label1=label1 ''without'' a list|data2=<div class="hlist " >
    * C
    * D
    
    </div>|data4=<div class="hlist " >
    * E
    * F
    
    </div>}}

    {{Infoboks}}

    label1 without a listdata1
    • C
    • D
    • E
    • F
    '"`UNIQ--templatestyles-000000F1-QINU`"'<table class="infobox"><tr><th scope="row" class="infobox-label">label1 ''without'' a list</th><td class="infobox-data">data1</td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000EE-QINU`"'<div class="hlist " >
    * C
    * D
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000EF-QINU`"'<div class="hlist " >
    * E
    * F
    
    </div></td></tr></table>

    {{Infoboks/sandkasse}}

    label1 without a listdata1
    • C
    • D
    • E
    • F
    '"`UNIQ--templatestyles-000000F2-QINU`"'<table class="infobox"><tr><th scope="row" class="infobox-label">label1 ''without'' a list</th><td class="infobox-data">data1</td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000EE-QINU`"'<div class="hlist " >
    * C
    * D
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000EF-QINU`"'<div class="hlist " >
    * E
    * F
    
    </div></td></tr></table>

    References

    redigér
    For whole testpage
    1. ^ A reference