Default format

edit

{{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}}

Default format with showheader=no

edit

{{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

edit

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

edit

{{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-00000035-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-00000036-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-0000003A-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-0000003B-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+

edit

{{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-00000041-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-00000042-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-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>

{{ombox/sandbox}}

'"`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>

{{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 m (4 ft 11+12 in)

'"`UNIQ--templatestyles-0000004D-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)

{{Height/sandbox}}

1.51 m (4 ft 11+12 in)

'"`UNIQ--templatestyles-0000004F-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11+12 in)

'"`UNIQ--templatestyles-00000053-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)

{{Height/sandbox}}

1.51 m (4 ft 11+12 in)

'"`UNIQ--templatestyles-00000054-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)

Columns format

edit

{{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}}
Side by side comparison
{{tmbox}}{{ombox}}{{ombox/sandbox}}
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Side by side comparison
{{tmbox}}{{ombox}}{{ombox/sandbox}}

Columns format with showcaption=no

edit

{{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}}
{{tmbox}}{{ombox}}{{ombox/sandbox}}
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}{{ombox}}{{ombox/sandbox}}

Columns format with showheader=no

edit

{{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

edit

{{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
heading0heading1heading2heading3
rowheader
beforeafter
beforeafter
beforeafter
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption
heading0heading1heading2heading3
rowheader
beforeafter
beforeafter
beforeafter

Columns format with output=nowiki

edit

{{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}}
Side by side comparison
{{ombox}}{{ombox/sandbox}}
'"`UNIQ--templatestyles-00000092-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-00000093-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}}
Side by side comparison
{{ombox}}{{ombox/sandbox}}
'"`UNIQ--templatestyles-00000097-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-00000098-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+

edit

{{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}}
Side by side comparison
{{ombox}}{{ombox/sandbox}}
'"`UNIQ--templatestyles-0000009E-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-0000009F-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}}
Side by side comparison
{{ombox}}{{ombox/sandbox}}
'"`UNIQ--templatestyles-000000A3-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-000000A4-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}}
Side by side comparison
{{Height}}{{Height/sandbox}}
1.51 m (4 ft 11+12 in)
'"`UNIQ--templatestyles-000000AA-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
1.51 m (4 ft 11+12 in)
'"`UNIQ--templatestyles-000000AB-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}}
Side by side comparison
{{Height}}{{Height/sandbox}}
1.51 m (4 ft 11+12 in)
'"`UNIQ--templatestyles-000000AF-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
1.51 m (4 ft 11+12 in)
'"`UNIQ--templatestyles-000000B0-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)

Rows format

edit

{{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}}
{{tmbox}}
{{ombox}}
{{ombox/sandbox}}
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}
{{ombox}}
{{ombox/sandbox}}

Rows format with showheader=no

edit

{{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

edit

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
beforeafter
heading2
beforeafter
heading3
beforeafter
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption
heading1
beforeafter
heading2
beforeafter
heading3
beforeafter

Rows format with output=nowiki

edit

{{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-000000E0-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-000000E1-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-000000E5-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-000000E6-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+

edit

{{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-000000EC-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-000000ED-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-000000F1-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-000000F2-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 m (4 ft 11+12 in)
'"`UNIQ--templatestyles-000000F8-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
{{Height/sandbox}}
1.51 m (4 ft 11+12 in)
'"`UNIQ--templatestyles-000000F9-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}}
{{Height}}
1.51 m (4 ft 11+12 in)
'"`UNIQ--templatestyles-000000FD-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
{{Height/sandbox}}
1.51 m (4 ft 11+12 in)
'"`UNIQ--templatestyles-000000FE-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)

Tablerows format

edit

{{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}}
{{tmbox}}
{{ombox}}
{{ombox/sandbox}}
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}
{{ombox}}
{{ombox/sandbox}}

Tablerows format with showheader=no

edit

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

edit

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 beforeafter
heading2 beforeafter
heading3 beforeafter
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption
heading1 beforeafter
heading2 beforeafter
heading3 beforeafter

Tablerows format with output=nowiki

edit

{{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-0000012E-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-0000012F-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-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`"'<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+

edit

{{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-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`"'<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-0000013F-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-00000140-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 m (4 ft 11+12 in)
'"`UNIQ--templatestyles-00000146-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
{{Height/sandbox}} 1.51 m (4 ft 11+12 in)
'"`UNIQ--templatestyles-00000147-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}}
{{Height}} 1.51 m (4 ft 11+12 in)
'"`UNIQ--templatestyles-0000014B-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
{{Height/sandbox}} 1.51 m (4 ft 11+12 in)
'"`UNIQ--templatestyles-0000014C-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)

Inline format

edit

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}}
  • <syntaxhighlight lang="wikitext" inline>{{tmbox|text=Lorem ipsum dolor sit amet}}</syntaxhighlight> →
  • <syntaxhighlight lang="wikitext" inline>{{ombox|text=Lorem ipsum dolor sit amet}}</syntaxhighlight> →
  • <syntaxhighlight lang="wikitext" inline>{{ombox/sandbox|text=Lorem ipsum dolor sit amet}}</syntaxhighlight> →

Inline format with showcode=no

edit

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}}
  • beforeafter
  • beforeafter
  • beforeafter
Sandbox template {{Test case nowiki/sandbox}}
  • beforeafter
  • beforeafter
  • beforeafter

Inline format with addline

edit

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 m (4 ft 11+12 in)
  • {{Height/sandbox|m=1.51}}1.51 m (4 ft 11+12 in)
  • {{Cvt|1.51|m|frac=2}}1.51 m (4 ft 11+12 in)
Sandbox template {{Test case nowiki/sandbox}}
  • <syntaxhighlight lang="wikitext" inline>{{Height|m=1.51}}</syntaxhighlight> → 1.51 m (4 ft 11+12 in)
  • <syntaxhighlight lang="wikitext" inline>{{Height/sandbox|m=1.51}}</syntaxhighlight> → 1.51 m (4 ft 11+12 in)
  • {{Cvt|1.51|m|frac=2}}1.51 m (4 ft 11+12 in)

Inline format with output=nowiki

edit

{{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}} → '"`UNIQ--templatestyles-00000177-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
  • {{Height/sandbox|m=1.51}} → '"`UNIQ--templatestyles-00000178-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
Sandbox template {{Test case nowiki/sandbox}}
  • <syntaxhighlight lang="wikitext" inline>{{Height|m=1.51}}</syntaxhighlight> → '"`UNIQ--templatestyles-0000017B-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
  • <syntaxhighlight lang="wikitext" inline>{{Height/sandbox|m=1.51}}</syntaxhighlight> → '"`UNIQ--templatestyles-0000017C-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)

Inline format with output=nowiki+

edit

{{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 m (4 ft 11+12 in)
    '"`UNIQ--templatestyles-00000181-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
  • {{Height/sandbox|m=1.51}}1.51 m (4 ft 11+12 in)
    '"`UNIQ--templatestyles-00000182-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
Sandbox template {{Test case nowiki/sandbox}}
  • <syntaxhighlight lang="wikitext" inline>{{Height|m=1.51}}</syntaxhighlight> → 1.51 m (4 ft 11+12 in)
    '"`UNIQ--templatestyles-00000185-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)
  • <syntaxhighlight lang="wikitext" inline>{{Height/sandbox|m=1.51}}</syntaxhighlight> → 1.51 m (4 ft 11+12 in)
    '"`UNIQ--templatestyles-00000186-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)

Inline format with prefix=#

edit

{{Test case nowiki |format=inline |prefix=# |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}

Main template {{Test case nowiki}}
  1. {{Height|m=1.51}}1.51 m (4 ft 11+12 in)
  2. {{Height/sandbox|m=1.51}}1.51 m (4 ft 11+12 in)
Sandbox template {{Test case nowiki/sandbox}}
  1. <syntaxhighlight lang="wikitext" inline>{{Height|m=1.51}}</syntaxhighlight> → 1.51 m (4 ft 11+12 in)
  2. <syntaxhighlight lang="wikitext" inline>{{Height/sandbox|m=1.51}}</syntaxhighlight> → 1.51 m (4 ft 11+12 in)

Inline format with prefix=:

edit

{{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 m (4 ft 11+12 in)
{{Height/sandbox|m=1.51}}1.51 m (4 ft 11+12 in)
Sandbox template {{Test case nowiki/sandbox}}
<syntaxhighlight lang="wikitext" inline>{{Height|m=1.51}}</syntaxhighlight> → 1.51 m (4 ft 11+12 in)
<syntaxhighlight lang="wikitext" inline>{{Height/sandbox|m=1.51}}</syntaxhighlight> → 1.51 m (4 ft 11+12 in)

Collapsible with default title

edit

{{Test case nowiki |collapsible=yes |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}

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

{{Height}}

1.51 m (4 ft 11+12 in)

{{Height/sandbox}}

1.51 m (4 ft 11+12 in)

Sandbox template {{Test case nowiki/sandbox}}
{{Height}}
{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11+12 in)

{{Height/sandbox}}

1.51 m (4 ft 11+12 in)

Collapsible with "title" parameter

edit

{{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 m (4 ft 11+12 in)

{{Height/sandbox}}

1.51 m (4 ft 11+12 in)

Sandbox template {{Test case nowiki/sandbox}}
Testing height template
{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11+12 in)

{{Height/sandbox}}

1.51 m (4 ft 11+12 in)

Collapsible with "titlecode" parameter

edit

{{Test case nowiki |collapsible=yes |titlecode=yes |showcode=no |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}

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

{{Height}}

1.51 m (4 ft 11+12 in)

{{Height/sandbox}}

1.51 m (4 ft 11+12 in)

Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11+12 in)

{{Height/sandbox}}

1.51 m (4 ft 11+12 in)

Hyphen prefix inside nowiki tag

edit

{{Test case nowiki |collapsible=yes |showcode=yes |template=period start |code=<nowiki>-{{__TEMPLATENAME__|Silurian}}</nowiki>}}

Main template {{Test case nowiki}}
-&#123;{period start|Silurian}}

{{period start}}

-{{period start|Silurian}}

{{period start/sandbox}}

-{{period start/sandbox|Silurian}}

Sandbox template {{Test case nowiki/sandbox}}
-&#123;{period start|Silurian}}

{{period start}}

-{{period start|Silurian}}

{{period start/sandbox}}

-{{period start/sandbox|Silurian}}

See also

edit