Template:Test case nowiki/testcases

Default format

change

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

change

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

change

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

heading2

heading3

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

heading1

heading2

heading3

Default format with output=nowiki

change

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

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

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

change

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

{{ombox/sandbox}}

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

<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-00000040-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-00000042-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-00000046-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-00000047-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)

Columns format

change

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

change

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

change

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

change

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

change

{{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-0000007D-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> <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-00000081-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> <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+

change

{{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-00000087-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>
<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-0000008B-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>
<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-00000091-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-00000092-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-00000096-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-00000097-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)

Rows format

change

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

change

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

change

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

Rows format with output=nowiki

change

{{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-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>
{{ombox/sandbox}}
<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-000000C5-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}}
<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+

change

{{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-000000CB-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}}
<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-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>
{{ombox/sandbox}}
<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-000000D5-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-000000D6-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-000000DA-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-000000DB-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)

Tablerows format

change

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

change

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

change

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

Tablerows format with output=nowiki

change

{{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-00000105-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}} <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-00000109-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}} <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+

change

{{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-0000010F-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}}
<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-00000113-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}}
<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-00000119-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-0000011A-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-0000011E-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-0000011F-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)

Inline format

change

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

change

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

Inline format with addline

change

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

Inline format with output=nowiki

change

{{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-00000146-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-00000147-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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}} → '"`UNIQ--templatestyles-0000014A-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-0000014B-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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+

change

{{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-00000150-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-00000151-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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}}1.51 m (4 ft 11+12 in)
    '"`UNIQ--templatestyles-00000154-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">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-00000155-QINU`"'1.51&nbsp;m (4&nbsp;ft <span class="frac" role="math">11<span class="sr-only">+</span><span class="num">1</span>&frasl;<span class="den">2</span></span>&nbsp;in)

Inline format with prefix=#

change

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

Inline format with prefix=:

change

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

Collapsible with default title

change

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

change

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

change

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

change

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

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

{{period start}}

-{{period start|Silurian}}

{{period start/sandbox}}

-{{period start/sandbox|Silurian}}

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

{{period start}}

-{{period start|Silurian}}

{{period start/sandbox}}

-{{period start/sandbox|Silurian}}

change