Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Test  





2 Reference lists in strange orders  





3 Custom width  





4 Test for child=yes  





5 Test for subbox=yes  





6 Simple embedding  





7 Child infobox in header field  





8 Child in header field II  





9 Sidebar with subbox  





10 child test: title and above  





11 child test: header, label, and data  





12 Aristotle  





13 Aristotle no line-height  





14 Eccentric styles  





15 Eccentric styles autoheaders  





16 Table in infobox row  





17 Orphaned references  





18 Captionstyle text-align left  





19 Individual row styles  





20 Individual header styles  





21 Odd/even header styles  





22 Overimage / overcaption  





23 Individual header/label/data styles  





24 Two plain lists  





25 Mixed text and lists  





26 Test for subbox=yes with HTML tagging for collapsing subsection  





27 autoheaders = yes  





28 Hidden rows for no-content except categories  





29 List class support  



29.1  Don't emit TStyles from an empty template  





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





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





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





29.5  Template:Plainlist  





29.6  Template:Flatlist  







30 References  














Template:Infobox/testcases







Add links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< Template:Infobox

</

  • May 10, 1996; 28 years ago (1996-05-10) (private)
  • October 24, 2001; 22 years ago (2001-10-24) (public)
  • >

    Test[edit]

    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    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
  • t
  • e
  • 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
  • t
  • e
  • 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
  • t
  • e
  • Reference lists in strange orders[edit]

    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    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
  • t
  • e
  • 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
  • t
  • e
  • 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
  • t
  • e
    1. ^ Some reference.

    Custom width[edit]

    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
  • t
  • e
  • 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
  • t
  • e
  • 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
  • t
  • e
  • Test for child=yes[edit]

    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[edit]

    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[edit]

    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[edit]

    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[edit]

    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[edit]

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

    child test: title and above[edit]

    {{Infobox |above=above |child=yes |templatestyles=Infobox/sandbox/styles.css |title=title}}
    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox3cols}}
    title
    '"`UNIQ--templatestyles-0000005F-QINU`"''"`UNIQ--templatestyles-00000060-QINU`"'title[[Category:Pages using embedded infobox templates with the title parameter]]
    title
    '"`UNIQ--templatestyles-00000061-QINU`"''"`UNIQ--templatestyles-00000062-QINU`"'title[[Category:Pages using embedded infobox templates with the title parameter]]
    title
    above
    '"`UNIQ--templatestyles-00000063-QINU`"''"`UNIQ--templatestyles-00000064-QINU`"'<table class="infobox-subbox infobox-3cols-child infobox-table"><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[edit]

    {{Infobox |child=yes |data2=data2 |header1=header1 |label2=label2 |templatestyles=Infobox/sandbox/styles.css}}
    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox3cols}}
    '"`UNIQ--templatestyles-00000066-QINU`"''"`UNIQ--templatestyles-00000067-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-00000068-QINU`"''"`UNIQ--templatestyles-00000069-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-0000006A-QINU`"''"`UNIQ--templatestyles-0000006B-QINU`"'<table class="infobox-subbox infobox-3cols-child infobox-table"><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[edit]

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

    Influenced by

    Influenced

    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

    Influenced by

    Influenced

    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

    Influenced by

    Influenced

    Aristotle no line-height[edit]

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

    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    Title
    Above
    Caption
    Caption2
    header1
    header2
    header3
    data5
    label6data6
    header7
    header8
    data11
    header19
    below
  • t
  • e
  • Title
    Above
    Caption
    Caption2
    header1
    header2
    header3
    data5
    label6data6
    header7
    header8
    data11
    header19
    below
  • t
  • e
  • Title
    Above

    Caption

    Caption2

    header1
    header2
    header3
    data5
    label6data6
    header7
    header8
    data11
    header19
    below
  • t
  • e

  • Eccentric styles autoheaders[edit]

    |autoheaders=false
    |data2=<asis;;
    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    Title
    Any
    Caption
    Caption2
    = Infobox/testcases
  • t
  • e
  • Title
    Any
    Caption
    Caption2
    = Infobox/testcases
  • t
  • e
  • Title
    Any

    Caption

    Caption2

    = Infobox/testcases
  • t
  • e
  • Table in infobox row[edit]

    {{Infobox}}

    Lufthansa
    Deutsche Lufthansa AG
    IATA
    LH
    ICAO
    DLH
    Callsign
    LUFTHANSA
    Founded1953

    {{Infobox/sandbox}}

    Lufthansa
    Deutsche Lufthansa AG
    IATA
    LH
    ICAO
    DLH
    Callsign
    LUFTHANSA
    Founded1953

    {{Infobox/sandbox2}}

    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
    11 tracks
    Side one
    1. "Let 'Em In"
    2. "The Note You Never Wrote"
    3. "She's My Baby"
    4. "Beware My Love"
    5. "Wino Junko"
    Side two
    1. "Silly Love Songs"
    2. "Cook of the House"
    3. "Time to Hide"
    4. "Must Do Something About It"
    5. "San Ferry Anne"
    6. "Warm and Beautiful"
    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
    11 tracks
    Side one
    1. "Let 'Em In"
    2. "The Note You Never Wrote"
    3. "She's My Baby"
    4. "Beware My Love"
    5. "Wino Junko"
    Side two
    1. "Silly Love Songs"
    2. "Cook of the House"
    3. "Time to Hide"
    4. "Must Do Something About It"
    5. "San Ferry Anne"
    6. "Warm and Beautiful"
    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
    11 tracks
    Side one
    1. "Let 'Em In"
    2. "The Note You Never Wrote"
    3. "She's My Baby"
    4. "Beware My Love"
    5. "Wino Junko"
    Side two
    1. "Silly Love Songs"
    2. "Cook of the House"
    3. "Time to Hide"
    4. "Must Do Something About It"
    5. "San Ferry Anne"
    6. "Warm and Beautiful"
    Smash Mouth singles chronology
    "Can't Get Enough of You Baby"
    (1998)
    "All Star"
    (1999)
    "Then the Morning Comes"
    (1999)

    Orphaned references[edit]

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

    Captionstyle text-align left[edit]

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

    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    header1 red
    label2data2
    label3 wheatdata3 wheat
    data4 pink
    header1 red
    label2data2
    label3 wheatdata3 wheat
    data4 pink
    header1 red
    label2data2
    label3 wheatdata3 wheat
    data4 pink

    Individual header styles[edit]

    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    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
    header1 red
    data2
    data3
    header4 blue
    data5
    data6
    header7 green
    data8
    data9
    header10 pink
    data11
    data12
    header13 grey
    data14
    data15

    Odd/even header styles[edit]

    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    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
    header1
    data2
    data3
    header4
    data5
    header6
    data7
    data8
    header9
    data10
    data11
    header12
    data13
    data14

    Overimage / overcaption[edit]

    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    above
    Subheader1
    Subheader2
    Caption of image1
    Caption of image2
    above
    Subheader1
    Subheader2
    Caption of image1
    Caption of image2
    above
    Subheader1
    Subheader2

    Caption of image1

    Caption of image2

    Individual header/label/data styles[edit]

    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    header1 red
    label2 bluedata2 green
    header3 pink
    label4 greydata4 yellow
    header1 red
    label2 bluedata2 green
    header3 pink
    label4 greydata4 yellow
    header1 red
    label2 bluedata2 green
    header3 pink
    label4 greydata4 yellow

    Two plain lists[edit]

    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    List 1
    • A
    • B
    List 2
    • C
    • D
    List 1
    • A
    • B
    List 2
    • C
    • D
    List 1
    • A
    • B
    List 2
    • C
    • D
    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    List 1
    • A
    List 2
    • B
    List 1
    • A
    List 2
    • B
    List 1
    • A
    List 2
    • B

    Mixed text and lists[edit]

    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    Without additional div tags
    BattlesWorld War I
    Without additional div tags
    BattlesWorld War I
    Without additional div tags
    BattlesWorld War I
    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    With additional div tags
    Battles

    World War I

    With additional div tags
    Battles

    World War I

    With additional div tags
    Battles

    World War I

    Test for subbox=yes with HTML tagging for collapsing subsection[edit]

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

    new, June 2020
    --> data-row treated as non-empty.
    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    check css / old
    Header1
    I2d1
    Header11
    I12
    Header21
    check css / old
    Header1
    I2d1
    Header11
    I12
    Header21
    check css / old
    Header1
    I2d1
    Header11
    I12
    Header21
    Side by side comparison
    {{Infobox}}{{Infobox/sandbox}}{{Infobox/sandbox2}}
    check css / a.h.=yes
    Header1
    I2d1
    Header11
    I12
    check css / a.h.=yes
    Header1
    I2d1
    Header11
    I12
    check css / a.h.=yes
    Header1
    I2d1
    Header11
    I12
    Header21

    Hidden rows for no-content except categories[edit]

    Use Special:ExpandTemplates to test this.

    Sandbox
    Label1Data1
    Current
    Label1Data1

    List class support[edit]

    Don't emit TStyles from an empty template[edit]

    {{Infobox |rowclass4=plainlist hlist}}

    {{Infobox}}

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

    {{Infobox/sandbox}}

    '"`UNIQ--templatestyles-000000E4-QINU`"'
    {{Infobox |titleclass=plainlist hlist}}

    {{Infobox}}

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

    {{Infobox/sandbox}}

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

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

    {{Infobox |above=
    * A list |aboveclass=hlist |title=
    * A list |titleclass=plainlist}}

    {{Infobox}}

    • A list
  • A list
  • '"`UNIQ--templatestyles-000000EB-QINU`"''"`UNIQ--templatestyles-000000EC-QINU`"''"`UNIQ--templatestyles-000000ED-QINU`"'<table class="infobox"><caption class="infobox-title plainlist">'"`UNIQ--nowiki-000000E8-QINU`"'
    * A list</caption><tr><th colspan="2" class="infobox-above hlist">'"`UNIQ--nowiki-000000E9-QINU`"'
    * A list
    </th></tr></table>

    {{Infobox/sandbox}}

    • A list
  • A list
  • '"`UNIQ--templatestyles-000000EE-QINU`"''"`UNIQ--templatestyles-000000EF-QINU`"''"`UNIQ--templatestyles-000000F0-QINU`"'<table class="infobox"><caption class="infobox-title plainlist">'"`UNIQ--nowiki-000000E8-QINU`"'
    * A list</caption><tr><th colspan="2" class="infobox-above hlist">'"`UNIQ--nowiki-000000E9-QINU`"'
    * A list
    </th></tr></table>

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

    {{Infobox |image4=* A list |image5=* A list |imagerowclass4=plainlist |imagerowclass5=hlist}}

    {{Infobox}}

    • A list
    • A list
    '"`UNIQ--templatestyles-000000F2-QINU`"''"`UNIQ--templatestyles-000000F3-QINU`"''"`UNIQ--templatestyles-000000F4-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}}

    • A list
    • A list
    '"`UNIQ--templatestyles-000000F5-QINU`"''"`UNIQ--templatestyles-000000F6-QINU`"''"`UNIQ--templatestyles-000000F7-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[edit]

    {{Infobox |image4=* A list |image5=* A list |rowclass4=plainlist |rowclass5=hlist}}

    {{Infobox}}

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

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

    Template:Plainlist[edit]

    {{Infobox |data1=data1 |data2=<div class="plainlist " >
    * first plainlist in data2
    
    </div> |data3=<div class="plainlist " >
    * second plainlist in data3
    
    </div> |label1=label1 ''with'' a list
    * A
    * B}}

    {{Infobox}}

    label1 with a list
    • A
    • B
    data1
  • first plainlist in data2
    • second plainlist in data3
    '"`UNIQ--templatestyles-000000FE-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-000000FB-QINU`"'<div class="plainlist " >
    * first plainlist in data2
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000FC-QINU`"'<div class="plainlist " >
    * second plainlist in data3
    
    </div></td></tr></table>

    {{Infobox/sandbox}}

    label1 with a list
    • A
    • B
    data1
  • first plainlist in data2
    • second plainlist in data3
    '"`UNIQ--templatestyles-000000FF-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-000000FB-QINU`"'<div class="plainlist " >
    * first plainlist in data2
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-000000FC-QINU`"'<div class="plainlist " >
    * second plainlist in data3
    
    </div></td></tr></table>

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

    {{Infobox}}

    label1 without a listdata1
    • first plainlist in data2
    • second plainlist in data3
    '"`UNIQ--templatestyles-00000103-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-00000100-QINU`"'<div class="plainlist " >
    * first plainlist in data2
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-00000101-QINU`"'<div class="plainlist " >
    * second plainlist in data3
    
    </div></td></tr></table>

    {{Infobox/sandbox}}

    label1 without a listdata1
    • first plainlist in data2
    • second plainlist in data3
    '"`UNIQ--templatestyles-00000104-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-00000100-QINU`"'<div class="plainlist " >
    * first plainlist in data2
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-00000101-QINU`"'<div class="plainlist " >
    * second plainlist in data3
    
    </div></td></tr></table>

    Template:Flatlist[edit]

    {{Infobox |data1=data1 |data2=<div class="hlist " >
    * C
    * D
    
    </div> |data3=<div class="hlist " >
    * E
    * F
    
    </div> |label1=label1 ''with'' a list
    * A
    * B}}

    {{Infobox}}

    label1 with a list
    • A
    • B
    data1
  • C
  • D
    • E
  • F
  • '"`UNIQ--templatestyles-00000108-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-00000105-QINU`"'<div class="hlist " >
    * C
    * D
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-00000106-QINU`"'<div class="hlist " >
    * E
    * F
    
    </div></td></tr></table>

    {{Infobox/sandbox}}

    label1 with a list
    • A
    • B
    data1
  • C
  • D
    • E
  • F
  • '"`UNIQ--templatestyles-00000109-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-00000105-QINU`"'<div class="hlist " >
    * C
    * D
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-00000106-QINU`"'<div class="hlist " >
    * E
    * F
    
    </div></td></tr></table>

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

    {{Infobox}}

    label1 without a listdata1
    • C
  • D
    • E
  • F
  • '"`UNIQ--templatestyles-0000010D-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-0000010A-QINU`"'<div class="hlist " >
    * C
    * D
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-0000010B-QINU`"'<div class="hlist " >
    * E
    * F
    
    </div></td></tr></table>

    {{Infobox/sandbox}}

    label1 without a listdata1
    • C
  • D
    • E
  • F
  • '"`UNIQ--templatestyles-0000010E-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-0000010A-QINU`"'<div class="hlist " >
    * C
    * D
    
    </div></td></tr><tr><td colspan="2" class="infobox-full-data">'"`UNIQ--templatestyles-0000010B-QINU`"'<div class="hlist " >
    * E
    * F
    
    </div></td></tr></table>

    References[edit]

    For whole testpage
    1. ^ A reference

    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Infobox/testcases&oldid=1229050889"

    Categories: 
    Template test cases
    Infobox templates
    Hidden categories: 
    Pages using embedded infobox templates with the title parameter
    Test cases using output parameter
     



    This page was last edited on 14 June 2024, at 15:44 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki