模板:Test case/testcases

来自Local Chinese Wikipedia
跳转到导航 跳转到搜索

页面Module:Message box/mbox.css没有内容。

Default format[编辑]

{{Test case |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{tmbox|text=Lorem ipsum dolor sit amet}}

{{tmbox}}

页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。

{{ombox}}

页面Module:Message box/mbox.css没有内容。

{{ombox/sandbox}}

页面Module:Message box/mbox.css没有内容。

Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}

{{tmbox}}

页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。

{{ombox}}

页面Module:Message box/mbox.css没有内容。

{{ombox/sandbox}}

页面Module:Message box/mbox.css没有内容。

Default format with _showheader=no[编辑]

{{Test case |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{tmbox|text=Lorem ipsum dolor sit amet}}

页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。

页面Module:Message box/mbox.css没有内容。

页面Module:Message box/mbox.css没有内容。

Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}

页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。

页面Module:Message box/mbox.css没有内容。

页面Module:Message box/mbox.css没有内容。

Default format with custom headings[编辑]

The following parameter values are not displayed: _caption, _rowheader, _heading0, _before, _after.

{{Test case |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{tmbox|text=Lorem ipsum dolor sit amet}}

_heading1

_before页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。

_after

_heading2

_before页面Module:Message box/mbox.css没有内容。

_after

_heading3

_before页面Module:Message box/mbox.css没有内容。

_after

Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}

_heading1

_before页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。

_after

_heading2

_before页面Module:Message box/mbox.css没有内容。

_after

_heading3

_before页面Module:Message box/mbox.css没有内容。

_after

Default format with _output=nowiki[编辑]

{{Test case |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{ombox|text=Lorem ipsum dolor sit amet}}

{{ombox}}

'"`UNIQ--templatestyles-0000003D-QINU`"''"`UNIQ--templatestyles-0000003E-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>

{{ombox/sandbox}}

'"`UNIQ--templatestyles-0000003F-QINU`"''"`UNIQ--templatestyles-00000040-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>

Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}

{{ombox}}

'"`UNIQ--templatestyles-00000043-QINU`"''"`UNIQ--templatestyles-00000044-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>

{{ombox/sandbox}}

'"`UNIQ--templatestyles-00000045-QINU`"''"`UNIQ--templatestyles-00000046-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>

Default format with _output=nowiki+[编辑]

{{Test case |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{ombox|text=Lorem ipsum dolor sit amet}}

{{ombox}}

页面Module:Message box/mbox.css没有内容。

'"`UNIQ--templatestyles-0000004B-QINU`"''"`UNIQ--templatestyles-0000004C-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>

{{ombox/sandbox}}

页面Module:Message box/mbox.css没有内容。

'"`UNIQ--templatestyles-0000004D-QINU`"''"`UNIQ--templatestyles-0000004E-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}

{{ombox}}

页面Module:Message box/mbox.css没有内容。

'"`UNIQ--templatestyles-00000051-QINU`"''"`UNIQ--templatestyles-00000052-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>

{{ombox/sandbox}}

页面Module:Message box/mbox.css没有内容。

'"`UNIQ--templatestyles-00000053-QINU`"''"`UNIQ--templatestyles-00000054-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>

{{Test case |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}

Main template {{Test case}}
{{Height|m=1.51}}

{{Height}}

1.51米(4英尺1112英寸)

1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)

{{Height/sandbox}}

1.51米(4英尺1112英寸)

1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}

{{Height}}

1.51米(4英尺1112英寸)

1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)

{{Height/sandbox}}

1.51米(4英尺1112英寸)

1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)

Columns format[编辑]

{{Test case |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
左右对比
{{tmbox}}{{ombox}}{{ombox/sandbox}}
页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。 页面Module:Message box/mbox.css没有内容。 页面Module:Message box/mbox.css没有内容。
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
左右对比
{{tmbox}}{{ombox}}{{ombox/sandbox}}
页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。 页面Module:Message box/mbox.css没有内容。 页面Module:Message box/mbox.css没有内容。

Columns format with _showcaption=no[编辑]

{{Test case |_format=columns |_showcaption=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}{{ombox}}{{ombox/sandbox}}
页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。 页面Module:Message box/mbox.css没有内容。 页面Module:Message box/mbox.css没有内容。
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}{{ombox}}{{ombox/sandbox}}
页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。 页面Module:Message box/mbox.css没有内容。 页面Module:Message box/mbox.css没有内容。

Columns format with _showheader=no[编辑]

{{Test case |_format=columns |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。 页面Module:Message box/mbox.css没有内容。 页面Module:Message box/mbox.css没有内容。
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。 页面Module:Message box/mbox.css没有内容。 页面Module:Message box/mbox.css没有内容。

Columns format with custom headings[编辑]

{{Test case |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=<div style="border: 1px solid grey">''_before'' |_after=''_after''</div> |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading0_heading1_heading2_heading3
_rowheader
_before页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。_after
_before页面Module:Message box/mbox.css没有内容。_after
_before页面Module:Message box/mbox.css没有内容。_after
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading0_heading1_heading2_heading3
_rowheader
_before页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。_after
_before页面Module:Message box/mbox.css没有内容。_after
_before页面Module:Message box/mbox.css没有内容。_after

Columns format with _output=nowiki[编辑]

{{Test case |_format=columns |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{ombox|text=Lorem ipsum dolor sit amet}}
左右对比
{{ombox}}{{ombox/sandbox}}
'"`UNIQ--templatestyles-000000A7-QINU`"''"`UNIQ--templatestyles-000000A8-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table> '"`UNIQ--templatestyles-000000A9-QINU`"''"`UNIQ--templatestyles-000000AA-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
左右对比
{{ombox}}{{ombox/sandbox}}
'"`UNIQ--templatestyles-000000AD-QINU`"''"`UNIQ--templatestyles-000000AE-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table> '"`UNIQ--templatestyles-000000AF-QINU`"''"`UNIQ--templatestyles-000000B0-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>

Columns format with _output=nowiki+[编辑]

{{Test case |_format=columns |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{ombox|text=Lorem ipsum dolor sit amet}}
左右对比
{{ombox}}{{ombox/sandbox}}
页面Module:Message box/mbox.css没有内容。
'"`UNIQ--templatestyles-000000B5-QINU`"''"`UNIQ--templatestyles-000000B6-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
页面Module:Message box/mbox.css没有内容。
'"`UNIQ--templatestyles-000000B7-QINU`"''"`UNIQ--templatestyles-000000B8-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
左右对比
{{ombox}}{{ombox/sandbox}}
页面Module:Message box/mbox.css没有内容。
'"`UNIQ--templatestyles-000000BB-QINU`"''"`UNIQ--templatestyles-000000BC-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
页面Module:Message box/mbox.css没有内容。
'"`UNIQ--templatestyles-000000BD-QINU`"''"`UNIQ--templatestyles-000000BE-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>

{{Test case |_format=columns |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}

Main template {{Test case}}
{{Height|m=1.51}}
左右对比
{{Height}}{{Height/sandbox}}
1.51米(4英尺1112英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
1.51米(4英尺1112英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}
左右对比
{{Height}}{{Height/sandbox}}
1.51米(4英尺1112英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
1.51米(4英尺1112英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)

Rows format[编辑]

{{Test case |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}
页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。
{{ombox}}
页面Module:Message box/mbox.css没有内容。
{{ombox/sandbox}}
页面Module:Message box/mbox.css没有内容。
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}
页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。
{{ombox}}
页面Module:Message box/mbox.css没有内容。
{{ombox/sandbox}}
页面Module:Message box/mbox.css没有内容。

Rows format with _showheader=no[编辑]

{{Test case |_format=rows |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。
页面Module:Message box/mbox.css没有内容。
页面Module:Message box/mbox.css没有内容。
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。
页面Module:Message box/mbox.css没有内容。
页面Module:Message box/mbox.css没有内容。

Rows format with custom headings[编辑]

The following parameter values are not displayed: _rowheader, _heading0, _before, _after.

{{Test case |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading1
_before页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。_after
_heading2
_before页面Module:Message box/mbox.css没有内容。_after
_heading3
_before页面Module:Message box/mbox.css没有内容。_after
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading1
_before页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。_after
_heading2
_before页面Module:Message box/mbox.css没有内容。_after
_heading3
_before页面Module:Message box/mbox.css没有内容。_after

Rows format with _output=nowiki[编辑]

{{Test case |_format=rows |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}
'"`UNIQ--templatestyles-000000FF-QINU`"''"`UNIQ--templatestyles-00000100-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
{{ombox/sandbox}}
'"`UNIQ--templatestyles-00000101-QINU`"''"`UNIQ--templatestyles-00000102-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}
'"`UNIQ--templatestyles-00000105-QINU`"''"`UNIQ--templatestyles-00000106-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
{{ombox/sandbox}}
'"`UNIQ--templatestyles-00000107-QINU`"''"`UNIQ--templatestyles-00000108-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>

Rows format with _output=nowiki+[编辑]

{{Test case |_format=rows |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}
页面Module:Message box/mbox.css没有内容。
'"`UNIQ--templatestyles-0000010D-QINU`"''"`UNIQ--templatestyles-0000010E-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
{{ombox/sandbox}}
页面Module:Message box/mbox.css没有内容。
'"`UNIQ--templatestyles-0000010F-QINU`"''"`UNIQ--templatestyles-00000110-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}
页面Module:Message box/mbox.css没有内容。
'"`UNIQ--templatestyles-00000113-QINU`"''"`UNIQ--templatestyles-00000114-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
{{ombox/sandbox}}
页面Module:Message box/mbox.css没有内容。
'"`UNIQ--templatestyles-00000115-QINU`"''"`UNIQ--templatestyles-00000116-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>

{{Test case |_format=rows |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}

Main template {{Test case}}
{{Height|m=1.51}}
{{Height}}
1.51米(4英尺1112英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
{{Height/sandbox}}
1.51米(4英尺1112英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}
{{Height}}
1.51米(4英尺1112英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
{{Height/sandbox}}
1.51米(4英尺1112英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)

Tablerows format[编辑]

{{Test case |_format=tablerows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}} 页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。
{{ombox}} 页面Module:Message box/mbox.css没有内容。
{{ombox/sandbox}} 页面Module:Message box/mbox.css没有内容。
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}} 页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。
{{ombox}} 页面Module:Message box/mbox.css没有内容。
{{ombox/sandbox}} 页面Module:Message box/mbox.css没有内容。

Tablerows format with _showheader=no[编辑]

The output here is the same as in rows format with _showheader=no.

{{Test case |_format=tablerows |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。
页面Module:Message box/mbox.css没有内容。
页面Module:Message box/mbox.css没有内容。
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。
页面Module:Message box/mbox.css没有内容。
页面Module:Message box/mbox.css没有内容。

Tablerows format with custom headings[编辑]

The following parameter values are not displayed: _rowheader, _heading0, _before, _after.

{{Test case |_format=tablerows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading1 _before页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。_after
_heading2 _before页面Module:Message box/mbox.css没有内容。_after
_heading3 _before页面Module:Message box/mbox.css没有内容。_after
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading1 _before页面Module:Message box/mbox.css没有内容。页面Template:Tmbox/style.css没有内容。_after
_heading2 _before页面Module:Message box/mbox.css没有内容。_after
_heading3 _before页面Module:Message box/mbox.css没有内容。_after

Tablerows format with _output=nowiki[编辑]

{{Test case |_format=tablerows |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}} '"`UNIQ--templatestyles-00000157-QINU`"''"`UNIQ--templatestyles-00000158-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
{{ombox/sandbox}} '"`UNIQ--templatestyles-00000159-QINU`"''"`UNIQ--templatestyles-0000015A-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}} '"`UNIQ--templatestyles-0000015D-QINU`"''"`UNIQ--templatestyles-0000015E-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
{{ombox/sandbox}} '"`UNIQ--templatestyles-0000015F-QINU`"''"`UNIQ--templatestyles-00000160-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>

Tablerows format with _output=nowiki+[编辑]

{{Test case |_format=tablerows |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}} 页面Module:Message box/mbox.css没有内容。
'"`UNIQ--templatestyles-00000165-QINU`"''"`UNIQ--templatestyles-00000166-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
{{ombox/sandbox}} 页面Module:Message box/mbox.css没有内容。
'"`UNIQ--templatestyles-00000167-QINU`"''"`UNIQ--templatestyles-00000168-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}} 页面Module:Message box/mbox.css没有内容。
'"`UNIQ--templatestyles-0000016B-QINU`"''"`UNIQ--templatestyles-0000016C-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
{{ombox/sandbox}} 页面Module:Message box/mbox.css没有内容。
'"`UNIQ--templatestyles-0000016D-QINU`"''"`UNIQ--templatestyles-0000016E-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>

{{Test case |_format=tablerows |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}

Main template {{Test case}}
{{Height|m=1.51}}
{{Height}} 1.51米(4英尺1112英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
{{Height/sandbox}} 1.51米(4英尺1112英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}
{{Height}} 1.51米(4英尺1112英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
{{Height/sandbox}} 1.51米(4英尺1112英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)

Inline format[编辑]

{{Test case |_format=inline |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
Sandbox template {{Test case/sandbox}}

Inline format with _showcode=yes[编辑]

The names of _template1/2/3 are shown in the code, unlike the default, column, rows, or tablerows formats where only the name of _template1 is shown in the code. The inline format does not currently display headings (default or custom).

{{Test case |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}

Main template {{Test case}}
Sandbox template {{Test case/sandbox}}

Inline format with _addline[编辑]

The contents of the _addline parameter will be displayed next to an additional bullet at the end of the list.

{{Test case |_format=inline |_showcode=yes |_template1=Height |m=1.51 |_addline=<code><nowiki>{{Cvt|1.51|m|frac=2}}</nowiki></code> → {{Cvt|1.51|m|frac=2}} }}

Main template {{Test case}}
  • {{Height|m=1.51}} → 1.51米(4英尺1112英寸)
  • {{Height/sandbox|m=1.51}} → 1.51米(4英尺1112英寸)
  • {{Cvt|1.51|m|frac=2}} → 1.51米(4英尺1112英寸)
Sandbox template {{Test case/sandbox}}
  • {{Height|m=1.51}} → 1.51米(4英尺1112英寸)
  • {{Height/sandbox|m=1.51}} → 1.51米(4英尺1112英寸)
  • {{Cvt|1.51|m|frac=2}} → 1.51米(4英尺1112英寸)

Inline format with _output=nowiki[编辑]

{{Test case |_format=inline |_output=nowiki |_showcode=yes |_template=Height |m=1.51}}

Main template {{Test case}}
  • {{Height|m=1.51}} → 1.51-{zh:米;zh-cn:米;zh-tw:米;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
  • {{Height/sandbox|m=1.51}} → 1.51-{zh:米;zh-cn:米;zh-tw:米;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
Sandbox template {{Test case/sandbox}}
  • {{Height|m=1.51}} → 1.51米(4英尺1112英寸)
    1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
  • {{Height/sandbox|m=1.51}} → 1.51米(4英尺1112英寸)
    1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)

Inline format with _output=nowiki+[编辑]

{{Test case |_format=inline |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}

Main template {{Test case}}
  • {{Height|m=1.51}} → 1.51米(4英尺1112英寸)
    1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
  • {{Height/sandbox|m=1.51}} → 1.51米(4英尺1112英寸)
    1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
Sandbox template {{Test case/sandbox}}
  • {{Height|m=1.51}} → 1.51米(4英尺1112英寸)
    1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)
  • {{Height/sandbox|m=1.51}} → 1.51米(4英尺1112英寸)
    1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>&frasl;<sub>2</sub></span>英寸)

Inline format with _prefix=#[编辑]

{{Test case |_format=inline |_prefix=# |_showcode=yes |_template=Height |m=1.51}}

Main template {{Test case}}
  1. {{Height|m=1.51}} → 1.51米(4英尺1112英寸)
  2. {{Height/sandbox|m=1.51}} → 1.51米(4英尺1112英寸)
Sandbox template {{Test case/sandbox}}
  1. {{Height|m=1.51}} → 1.51米(4英尺1112英寸)
  2. {{Height/sandbox|m=1.51}} → 1.51米(4英尺1112英寸)

Inline format with _prefix=:[编辑]

{{Test case |_format=inline |_prefix=: |_showcode=yes |_template=Height |m=1.51}}

Main template {{Test case}}
{{Height|m=1.51}} → 1.51米(4英尺1112英寸)
{{Height/sandbox|m=1.51}} → 1.51米(4英尺1112英寸)
Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}} → 1.51米(4英尺1112英寸)
{{Height/sandbox|m=1.51}} → 1.51米(4英尺1112英寸)

Collapsible with default title[编辑]

{{Test case |_collapsible=yes |_showcode=yes |_template=Height |m=1.51}}

Main template {{Test case}}
{{Height}}
{{Height|m=1.51}}

{{Height}}

1.51米(4英尺1112英寸)

{{Height/sandbox}}

1.51米(4英尺1112英寸)

Sandbox template {{Test case/sandbox}}
页面Module:Template test case/styles.css没有内容。
{{Height}}
{{Height|m=1.51}}

{{Height}}

1.51米(4英尺1112英寸)

{{Height/sandbox}}

1.51米(4英尺1112英寸)

Collapsible with "title" parameter[编辑]

{{Test case |_collapsible=yes |_showcode=yes |_title=Testing height template |_template=Height |m=1.51}}

Main template {{Test case}}
Testing height template
{{Height|m=1.51}}

{{Height}}

1.51米(4英尺1112英寸)

{{Height/sandbox}}

1.51米(4英尺1112英寸)

Sandbox template {{Test case/sandbox}}
页面Module:Template test case/styles.css没有内容。
Testing height template
{{Height|m=1.51}}

{{Height}}

1.51米(4英尺1112英寸)

{{Height/sandbox}}

1.51米(4英尺1112英寸)

Collapsible with "titlecode" parameter[编辑]

{{Test case |_collapsible=yes |_titlecode=yes |_template=Height |m=1.51}}

Main template {{Test case}}
{{Height|m=1.51}}

{{Height}}

1.51米(4英尺1112英寸)

{{Height/sandbox}}

1.51米(4英尺1112英寸)

Sandbox template {{Test case/sandbox}}
页面Module:Template test case/styles.css没有内容。
{{Height|m=1.51}}

{{Height}}

1.51米(4英尺1112英寸)

{{Height/sandbox}}

1.51米(4英尺1112英寸)

参见[编辑]