Default format [ 编辑 ]
{{Test case nowiki |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox }}
{{ombox }}
{{ombox/sandbox }}
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox }}
{{ombox }}
{{ombox/sandbox }}
{{Test case nowiki |template1=tmbox |template2=ombox |template3=ombox/sandbox |showheader=no |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Default format with custom headings [ 编辑 ]
The following parameter values are not displayed: caption, rowheader, heading0, before, after.
{{Test case nowiki |template1=tmbox |template2=ombox |template3=ombox/sandbox |caption=''caption'' |rowheader=''rowheader'' |heading0=''heading0'' |heading1=''heading1'' |heading2=''heading2'' |heading3=''heading3'' |before=''before'' |after=''after'' |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
heading1
before
after
heading2
before
after
heading3
before
after
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
heading1
before
after
heading2
before
after
heading3
before
after
Default format with output=nowiki [ 编辑 ]
{{Test case nowiki |output=nowiki |template=ombox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox }}
'"`UNIQ--templatestyles-00000046-QINU`"''"`UNIQ--templatestyles-00000047-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-00000048-QINU`"''"`UNIQ--templatestyles-00000049-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 nowiki/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox }}
'"`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>
{{ombox/sandbox }}
'"`UNIQ--templatestyles-0000004F-QINU`"''"`UNIQ--templatestyles-00000050-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 nowiki |output=nowiki+ |template=ombox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox }}
'"`UNIQ--templatestyles-00000056-QINU`"''"`UNIQ--templatestyles-00000057-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-00000058-QINU`"''"`UNIQ--templatestyles-00000059-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 nowiki/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox }}
'"`UNIQ--templatestyles-0000005D-QINU`"''"`UNIQ--templatestyles-0000005E-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-0000005F-QINU`"''"`UNIQ--templatestyles-00000060-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 nowiki |output=nowiki+ |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}
Main template {{Test case nowiki}}
{{Height|m=1.51}}
{{Height }}
1.51米(4英尺111 ⁄2 英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
{{Height/sandbox }}
1.51米(4英尺111 ⁄2 英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}}
{{Height }}
1.51米(4英尺111 ⁄2 英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
{{Height/sandbox }}
1.51米(4英尺111 ⁄2 英寸)
1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
Columns format [ 编辑 ]
{{Test case nowiki |format=columns |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Columns format with showcaption=no [ 编辑 ]
{{Test case nowiki |format=columns |showcaption=no |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Columns format with showheader=no [ 编辑 ]
{{Test case nowiki |format=columns |showheader=no |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Columns format with custom headings [ 编辑 ]
{{Test case nowiki |format=columns |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> |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption heading0 heading1 heading2 heading3 rowheader
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption heading0 heading1 heading2 heading3 rowheader
Columns format with output=nowiki [ 编辑 ]
{{Test case nowiki |format=columns |output=nowiki |template=ombox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{ombox|text=Lorem ipsum dolor sit amet}}
左右对比 {{ombox }} {{ombox/sandbox }}
'"`UNIQ--templatestyles-000000BE-QINU`"''"`UNIQ--templatestyles-000000BF-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-000000C0-QINU`"''"`UNIQ--templatestyles-000000C1-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 nowiki/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
左右对比 {{ombox }} {{ombox/sandbox }}
'"`UNIQ--templatestyles-000000C5-QINU`"''"`UNIQ--templatestyles-000000C6-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-000000C7-QINU`"''"`UNIQ--templatestyles-000000C8-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 nowiki |format=columns |output=nowiki+ |template=ombox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{ombox|text=Lorem ipsum dolor sit amet}}
左右对比 {{ombox }} {{ombox/sandbox }}
'"`UNIQ--templatestyles-000000CE-QINU`"''"`UNIQ--templatestyles-000000CF-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-000000D0-QINU`"''"`UNIQ--templatestyles-000000D1-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 nowiki/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
左右对比 {{ombox }} {{ombox/sandbox }}
'"`UNIQ--templatestyles-000000D5-QINU`"''"`UNIQ--templatestyles-000000D6-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-000000D7-QINU`"''"`UNIQ--templatestyles-000000D8-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 nowiki |format=columns |output=nowiki+ |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}
Main template {{Test case nowiki}}
{{Height|m=1.51}}
左右对比 {{Height }} {{Height/sandbox }}
1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}}
左右对比 {{Height }} {{Height/sandbox }}
1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
Rows format [ 编辑 ]
{{Test case nowiki |format=rows |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{Test case nowiki |format=rows |template1=tmbox |template2=ombox |template3=ombox/sandbox |showheader=no |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Rows format with custom headings [ 编辑 ]
The following parameter values are not displayed: rowheader, heading0, before, after.
{{Test case nowiki |format=rows |template1=tmbox |template2=ombox |template3=ombox/sandbox |caption=''caption'' |rowheader=''rowheader'' |heading0=''heading0'' |heading1=''heading1'' |heading2=''heading2'' |heading3=''heading3'' |before=''before'' |after=''after'' |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}}}</nowiki>
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption heading1
before after heading2
before after heading3
before after
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption heading1
before after heading2
before after heading3
before after
Rows format with output=nowiki [ 编辑 ]
{{Test case nowiki |format=rows |output=nowiki |template=ombox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox }}
'"`UNIQ--templatestyles-00000122-QINU`"''"`UNIQ--templatestyles-00000123-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-00000124-QINU`"''"`UNIQ--templatestyles-00000125-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 nowiki/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox }}
'"`UNIQ--templatestyles-00000129-QINU`"''"`UNIQ--templatestyles-0000012A-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-0000012B-QINU`"''"`UNIQ--templatestyles-0000012C-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 nowiki |format=rows |output=nowiki+ |template=ombox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox }}
'"`UNIQ--templatestyles-00000132-QINU`"''"`UNIQ--templatestyles-00000133-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-00000134-QINU`"''"`UNIQ--templatestyles-00000135-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 nowiki/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox }}
'"`UNIQ--templatestyles-00000139-QINU`"''"`UNIQ--templatestyles-0000013A-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-0000013B-QINU`"''"`UNIQ--templatestyles-0000013C-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 nowiki |format=rows |output=nowiki+ |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}
Main template {{Test case nowiki}}
{{Height|m=1.51}}
{{Height }}
1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸) {{Height/sandbox }}
1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}}
{{Height }}
1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸) {{Height/sandbox }}
1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
Tablerows format [ 编辑 ]
{{Test case nowiki |format=tablerows |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
The output here is the same as in rows format with showheader=no.
{{Test case nowiki |format=tablerows |template1=tmbox |template2=ombox |template3=ombox/sandbox |showheader=no |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Tablerows format with custom headings [ 编辑 ]
The following parameter values are not displayed: rowheader, heading0, before, after.
{{Test case nowiki |format=tablerows |template1=tmbox |template2=ombox |template3=ombox/sandbox |caption=''caption'' |rowheader=''rowheader'' |heading0=''heading0'' |heading1=''heading1'' |heading2=''heading2'' |heading3=''heading3'' |before=''before'' |after=''after'' |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}}}</nowiki>
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption heading1 →
before after heading2 →
before after heading3 →
before after
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption heading1 →
before after heading2 →
before after heading3 →
before after
Tablerows format with output=nowiki [ 编辑 ]
{{Test case nowiki |format=tablerows |output=nowiki |template=ombox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox }} →
'"`UNIQ--templatestyles-00000186-QINU`"''"`UNIQ--templatestyles-00000187-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-00000188-QINU`"''"`UNIQ--templatestyles-00000189-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 nowiki/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox }} →
'"`UNIQ--templatestyles-0000018D-QINU`"''"`UNIQ--templatestyles-0000018E-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-0000018F-QINU`"''"`UNIQ--templatestyles-00000190-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 nowiki |format=tablerows |output=nowiki+ |template=ombox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox }} →
'"`UNIQ--templatestyles-00000196-QINU`"''"`UNIQ--templatestyles-00000197-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-00000198-QINU`"''"`UNIQ--templatestyles-00000199-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 nowiki/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox }} →
'"`UNIQ--templatestyles-0000019D-QINU`"''"`UNIQ--templatestyles-0000019E-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-0000019F-QINU`"''"`UNIQ--templatestyles-000001A0-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 nowiki |format=tablerows |output=nowiki+ |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}
Main template {{Test case nowiki}}
{{Height|m=1.51}}
{{Height }} →
1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸) {{Height/sandbox }} →
1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}}
{{Height }} →
1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸) {{Height/sandbox }} →
1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
Inline format [ 编辑 ]
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.
{{Test case nowiki |format=inline |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}} →
{{ombox|text=Lorem ipsum dolor sit amet}} →
{{ombox/sandbox|text=Lorem ipsum dolor sit amet}} →
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}} →
{{ombox|text=Lorem ipsum dolor sit amet}} →
{{ombox/sandbox|text=Lorem ipsum dolor sit amet}} →
Inline format with showcode=no [ 编辑 ]
The inline format does not currently display headings (default or custom).
{{Test case nowiki |format=inline |showcode=no |template1=tmbox |template2=ombox |template3=ombox/sandbox |caption=''caption'' |rowheader=''rowheader'' |heading0=''heading0'' |heading1=''heading1'' |heading2=''heading2'' |heading3=''heading3'' |before=''before'' |after=''after'' |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
before after
before after
before after
Sandbox template {{Test case nowiki/sandbox}}
before after
before after
before after
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 nowiki |format=inline |template1=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki> |addline=<code><nowiki>{{Cvt|1.51|m|frac=2}}</nowiki></code> → {{Cvt|1.51|m|frac=2}} }}
Main template {{Test case nowiki}}
{{Height|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)
{{Height/sandbox|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)
{{Cvt|1.51|m|frac=2}} → 1.51米(4英尺111 ⁄2 英寸)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)
{{Height/sandbox|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)
{{Cvt|1.51|m|frac=2}} → 1.51米(4英尺111 ⁄2 英寸)
Inline format with output=nowiki [ 编辑 ]
{{Test case nowiki |format=inline |output=nowiki |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}
Main template {{Test case nowiki}}
{{Height|m=1.51}} → 1.51-{zh:米;zh-cn:米;zh-tw:米;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<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>⁄<sub>2</sub></span>英寸)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}} → 1.51-{zh:米;zh-cn:米;zh-tw:米;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<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>⁄<sub>2</sub></span>英寸)
Inline format with output=nowiki+ [ 编辑 ]
{{Test case nowiki |format=inline |output=nowiki+ |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}
Main template {{Test case nowiki}}
{{Height|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
{{Height/sandbox|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
{{Height/sandbox|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)1.51-{zh:米;zh-cn:米;zh-tw:公尺;zh-hk:米;}-(4英尺<span class="frac nowrap">11<sup>1</sup>⁄<sub>2</sub></span>英寸)
Inline format with prefix=# [ 编辑 ]
{{Test case nowiki |format=inline |prefix=# |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}
Main template {{Test case nowiki}}
{{Height|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)
{{Height/sandbox|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)
{{Height/sandbox|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)
Inline format with prefix=: [ 编辑 ]
{{Test case nowiki |format=inline |prefix=: |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}
Main template {{Test case nowiki}}
{{Height|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)
{{Height/sandbox|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)
{{Height/sandbox|m=1.51}} → 1.51米(4英尺111 ⁄2 英寸)
Collapsible with default title [ 编辑 ]
{{Test case nowiki |collapsible=yes |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}
Main template {{Test case nowiki}}
Sandbox template {{Test case nowiki/sandbox}}
Collapsible with "title" parameter [ 编辑 ]
{{Test case nowiki |collapsible=yes |title=Testing height template |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}
Main template {{Test case nowiki}}
Testing height template
{{Height|m=1.51}}
{{Height }}
1.51米(4英尺111 ⁄2 英寸)
{{Height/sandbox }}
1.51米(4英尺111 ⁄2 英寸)
Sandbox template {{Test case nowiki/sandbox}}
Testing height template
{{Height|m=1.51}}
{{Height }}
1.51米(4英尺111 ⁄2 英寸)
{{Height/sandbox }}
1.51米(4英尺111 ⁄2 英寸)
Collapsible with "titlecode" parameter [ 编辑 ]
{{Test case nowiki |collapsible=yes |titlecode=yes |showcode=no |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}
Main template {{Test case nowiki}}
Sandbox template {{Test case nowiki/sandbox}}
Hyphen prefix inside nowiki tag [ 编辑 ]
{{Test case nowiki |collapsible=yes |showcode=yes |template=period start |code=<nowiki>-{{__TEMPLATENAME__|Silurian}}</nowiki>}}
Main template {{Test case nowiki}}
Sandbox template {{Test case nowiki/sandbox}}