Bản mẫu:Hộp thông tin/testcases

</

  • 10 tháng 5 năm 1996; 28 năm trước (1996-05-10) (private)
  • 24 tháng 10 năm 2001; 23 năm trước (2001-10-24) (public)

>

Test

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
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
Location Raleigh-Durham, North Carolina
Country United States
Denomination Southern Baptist
Website www.summitchurch.cc
History
Founded 1961
Clergy
Senior Pastor J.D. Greear
Below

Reference lists in strange orders

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
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
Location Raleigh-Durham, North Carolina[1]
Country United States
Denomination Southern Baptist
Website www.summitchurch.cc
History
Founded 1961
Clergy
Senior Pastor J.D. Greear
  1. ^ Some reference.

Custom width

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
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 1 Data 1
Label 2 Data 2
Label 3 Data 3
Header 4
Label 5 Data 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

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
Main 1
Main 2
Main 3
Main 4
Main 5
Main 1
Main 2
Main 3
Main 4
Main 5

Test for subbox=yes

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
Main 1
Main 2
Label 5Data 5
Main 6
Main 1
Main 2
Label 5 Data 5
Main 6

Simple embedding

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
Top level title
Below text
Top level title
Below text

Child infobox in header field

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Top level title
Below text
Top level title
Below text

Child in header field II

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
Top level title
First subsection
Second subsection
Below text
Top level title
First subsection
Second subsection
Below text
So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung. Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.

child test: title and above

{{Hộp thông tin|above=above |child=yes |templatestyles=Infobox/sandbox/styles.css |title=title}}
So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox3cols}}
title
title[[Thể loại:Bài có hộp thông tin có tham số title]]
title
above
<table class="infobox" style="padding:0;border:none;margin:auto;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent"><caption>title</caption><tr><th colspan="4" style="text-align:center;font-size:125%;font-weight:bold">above</th></tr></table>[[Thể loại:Trang sử dụng infobox3cols có các tham số không có tài liệu|templatestylesHộp thông tin/testcases]]

child test: header, label, and data

{{Hộp thông tin|child=yes |data2=data2 |header1=header1 |label2=label2 |templatestyles=Infobox/sandbox/styles.css}}
So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox3cols}}
<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>

<table class="infobox" style="padding:0;border:none;margin:auto;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent"><tr><th colspan="4" style="text-align:center">header1</th></tr><tr><th scope="row">label2</th><td colspan="3">

data2</td></tr></table>[[Thể loại:Trang sử dụng infobox3cols có các tham số không có tài liệu|templatestylesHộp thông tin/testcases]]

Aristotle

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
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.
Born 384 BC
Stagira, Chalcidice
Died 322 BC (aged 61 or 62)
Euboea
Nationality Greek
Era Ancient philosophy
Region Western philosophy
School Peripatetic school
Aristotelianism
Main interests Physics, Metaphysics, Poetry, Theatre, Music, Rhetoric, Politics, Government, Ethics, Biology, Zoology
Notable ideas Golden mean, Aristotelian logic, syllogism, hexis, hylomorphism, Aristotle's theory of soul

Aristotle no line-height

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
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.
Nationality Greek

Eccentric styles

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
Title
Above
Caption
Caption2
header1
header2
header3
data5
label6data6
header7
header8
data11
header19
below
Title
Above
Caption
Caption2
header1
header2
header3
data5
label6 data6
header7
header8
data11
header19
below


Eccentric styles autoheaders

|autoheaders=false
|data2=<asis;;
So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
Title
Any
Caption
Caption2
= Infobox/testcases
Title
Any
Caption
Caption2
= Infobox/testcases

Table in infobox row

{{Hộp thông tin}}

Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.

Lufthansa
Deutsche Lufthansa AG
IATA
LH
ICAO
DLH
Callsign
LUFTHANSA
Founded1953

{{Hộp thông tin/sandbox}}


{{Infobox/sandbox2}}

Lufthansa
Deutsche Lufthansa AG
IATA
LH
ICAO
DLH
Callsign
LUFTHANSA
Founded 1953
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
Bản mẫu: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
Bản mẫu: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

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
label1data1
label1 data1

Captionstyle text-align left

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
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
Currency euro

Individual row styles

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
header1 red
label2data2
label3 wheatdata3 wheat
data4 pink
header1 red
label2 data2
label3 wheat data3 wheat
data4 pink

Individual header styles

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
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

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
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

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
above
Subheader1
Subheader2
Caption of image1
Caption of image2
above
Subheader1
Subheader2
Caption of image1
Caption of image2

Individual header/label/data styles

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
header1 red
label2 bluedata2 green
header3 pink
label4 greydata4 yellow
header1 red
label2 blue data2 green
header3 pink
label4 grey data4 yellow

Two plain lists

So sánh hai bên
{{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
List 1
  • A
  • B
List 2
  • C
  • D
List 1
  • A
  • B
List 2
  • C
  • D
  • So sánh hai bên
    {{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
    Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
    List 1
    • A
    List 2
    • B
    List 1
    • A
    List 2
  • B
  • Mixed text and lists

    So sánh hai bên
    {{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
    Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
    Without additional div tags
    BattlesWorld War I
    Without additional div tags
    Battles

    World War I

    So sánh hai bên
    {{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
    Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
    With additional div tags
    Battles
    With additional div tags
    Battles

    Test for subbox=yes with HTML tagging for collapsing subsection

    So sánh hai bên
    {{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
    Trang Bản mẫu:Infobox/sandbox/styles.css không có nội dung.
    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

    new, June 2020
    • testing: |data12= has no data, does have  /span> tag.
    --> data-row treated as non-empty.
    So sánh hai bên
    {{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
    check css / old
    Header1
    I2d1
    Header11
    I12
    Header21
    check css / old
    Header1
    I2 d1
    Header11
    I12
    Header21
    So sánh hai bên
    {{Hộp thông tin}}{{Hộp thông tin/sandbox}}{{Infobox/sandbox2}}
    check css / a.h.=yes
    Header1
    I2d1
    Header11
    I12
    check css / a.h.=yes
    Header1
    I2 d1
    Header11
    I12
    Header21

    Hidden rows for no-content except categories

    Use Special:ExpandTemplates to test this.

    Current
    Label1Data1

    List class support

    Don't emit TStyles from an empty template

    {{Hộp thông tin|rowclass4=plainlist hlist}}

    {{Hộp thông tin}}

    '"`UNIQ--templatestyles-0000006F-QINU`"'

    {{Hộp thông tin/sandbox}}

    
    
    {{Hộp thông tin|titleclass=plainlist hlist}}

    {{Hộp thông tin}}

    '"`UNIQ--templatestyles-00000071-QINU`"'

    {{Hộp thông tin/sandbox}}

    
    

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

    {{Hộp thông tin|above=
    * A list |aboveclass=hlist |title=
    * A list |titleclass=plainlist}}

    {{Hộp thông tin}}

    • A list
  • A list
  • '"`UNIQ--templatestyles-00000075-QINU`"''"`UNIQ--templatestyles-00000076-QINU`"''"`UNIQ--templatestyles-00000077-QINU`"'<table class="infobox"><caption class="infobox-title plainlist">'"`UNIQ--nowiki-00000072-QINU`"'
    * A list</caption><tr><th colspan="2" class="infobox-above hlist">'"`UNIQ--nowiki-00000073-QINU`"'
    * A list
    </th></tr></table>

    {{Hộp thông tin/sandbox}}

    
    

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

    {{Hộp thông tin|image4=* A list |image5=* A list |imagerowclass4=plainlist |imagerowclass5=hlist}}

    {{Hộp thông tin}}

    • A list
    • A list
    '"`UNIQ--templatestyles-00000079-QINU`"''"`UNIQ--templatestyles-0000007A-QINU`"''"`UNIQ--templatestyles-0000007B-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>

    {{Hộp thông tin/sandbox}}

    
    

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

    {{Hộp thông tin|image4=* A list |image5=* A list |rowclass4=plainlist |rowclass5=hlist}}

    {{Hộp thông tin}}

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

    {{Hộp thông tin/sandbox}}

    
    
    
    {{Hộp thông tin|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}}

    {{Hộp thông tin}}

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

    {{Hộp thông tin/sandbox}}

    
    
    {{Hộp thông tin|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}}

    {{Hộp thông tin}}

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

    {{Hộp thông tin/sandbox}}

    
    
    
    {{Hộp thông tin|data1=data1 |data2=<div class="hlist " >
    * C
    * D
    
    </div> |data3=<div class="hlist " >
    * E
    * F
    
    </div> |label1=label1 ''with'' a list
    * A
    * B}}

    {{Hộp thông tin}}

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

    {{Hộp thông tin/sandbox}}

    
    
    {{Hộp thông tin|data1=data1 |data2=<div class="hlist " >
    * C
    * D
    
    </div> |data4=<div class="hlist " >
    * E
    * F
    
    </div> |label1=label1 ''without'' a list}}

    {{Hộp thông tin}}

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

    {{Hộp thông tin/sandbox}}

    
    

    References

    For whole testpage
    1. ^ A reference

     

    Prefix: a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9

    Portal di Ensiklopedia Dunia