Template:Test case/testcases
| This is the template test cases page for the sandbox of Template:Test case. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Default format
[edit]{{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}}
| Lorem ipsum dolor sit amet |
{{ombox}}
| Lorem ipsum dolor sit amet |
{{ombox/sandbox}}
| Lorem ipsum dolor sit amet |
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}
| Lorem ipsum dolor sit amet |
{{ombox}}
| Lorem ipsum dolor sit amet |
{{ombox/sandbox}}
| Lorem ipsum dolor sit amet |
Default format with _showheader=no
[edit]{{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}}
| Lorem ipsum dolor sit amet |
| Lorem ipsum dolor sit amet |
| Lorem ipsum dolor sit amet |
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
| Lorem ipsum dolor sit amet |
| Lorem ipsum dolor sit amet |
| 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 |_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
| Lorem ipsum dolor sit amet |
_after
_heading2
_before
| Lorem ipsum dolor sit amet |
_after
_heading3
_before
| Lorem ipsum dolor sit amet |
_after
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
_heading1
_before
| Lorem ipsum dolor sit amet |
_after
_heading2
_before
| Lorem ipsum dolor sit amet |
_after
_heading3
_before
| Lorem ipsum dolor sit amet |
_after
Default format with _output=nowiki
[edit]{{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-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}}
'"`UNIQ--templatestyles-0000004D-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-0000004F-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-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+
[edit]{{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}}
| Lorem ipsum dolor sit amet |
'"`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}}
| Lorem ipsum dolor sit amet |
'"`UNIQ--templatestyles-00000053-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}}
| Lorem ipsum dolor sit amet |
'"`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>
{{ombox/sandbox}}
| Lorem ipsum dolor sit amet |
'"`UNIQ--templatestyles-0000005A-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 m (4 ft 11+1⁄2 in)
'"`UNIQ--templatestyles-00000060-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in)
{{Height/sandbox}}
1.51 m (4 ft 11+1⁄2 in)
'"`UNIQ--templatestyles-00000061-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in)
- Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}
{{Height}}
1.51 m (4 ft 11+1⁄2 in)
'"`UNIQ--templatestyles-00000067-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in)
{{Height/sandbox}}
1.51 m (4 ft 11+1⁄2 in)
'"`UNIQ--templatestyles-00000068-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in)
Columns format
[edit]{{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}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
| {{tmbox}} | {{ombox}} | {{ombox/sandbox}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
Columns format with _showcaption=no
[edit]{{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}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
| {{tmbox}} | {{ombox}} | {{ombox/sandbox}} | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
|
Columns format with _showheader=no
[edit]{{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}}
|
|
|
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
|
|
Columns format with custom headings
[edit]{{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}}
| _heading0 | _heading1 | _heading2 | _heading3 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| _rowheader |
_before
|
_before
|
_before
|
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
| _heading0 | _heading1 | _heading2 | _heading3 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| _rowheader |
_before
|
_before
|
_before
|
Columns format with _output=nowiki
[edit]{{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-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> | '"`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> |
- Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
| {{ombox}} | {{ombox/sandbox}} |
|---|---|
| '"`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> | '"`UNIQ--templatestyles-000000C2-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 |_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-000000C4-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-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> |
- Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
| {{ombox}} | {{ombox/sandbox}} | ||||
|---|---|---|---|---|---|
'"`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> |
'"`UNIQ--templatestyles-000000CC-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 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-000000D2-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in) |
1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-000000D3-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in) |
- Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}
| {{Height}} | {{Height/sandbox}} |
|---|---|
1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-000000D9-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in) |
1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-000000DA-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in) |
Rows format
[edit]{{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}} | ||
| ||
| {{ombox}} | ||
| ||
| {{ombox/sandbox}} | ||
|
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
| {{tmbox}} | ||
| ||
| {{ombox}} | ||
| ||
| {{ombox/sandbox}} | ||
|
Rows format with _showheader=no
[edit]{{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}}
| ||
| ||
|
- Sandbox template {{Test case/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 |_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}}
| _heading1 | ||
_before
| ||
| _heading2 | ||
_before
| ||
| _heading3 | ||
_before
|
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
| _heading1 | ||
_before
| ||
| _heading2 | ||
_before
| ||
| _heading3 | ||
_before
|
Rows format with _output=nowiki
[edit]{{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-0000011C-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-0000011D-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-0000011F-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-00000120-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 |_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-00000122-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-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> |
- Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
| {{ombox}} | ||
'"`UNIQ--templatestyles-00000129-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-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> |
{{Test case |_format=rows |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}
- Main template {{Test case}}
{{Height|m=1.51}}
| {{Height}} |
1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-00000130-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in) |
| {{Height/sandbox}} |
1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-00000131-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in) |
- Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}
| {{Height}} |
1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-00000137-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in) |
| {{Height/sandbox}} |
1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-00000138-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in) |
Tablerows format
[edit]{{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}} | → |
| ||
|---|---|---|---|---|
| {{ombox}} | → |
| ||
| {{ombox/sandbox}} | → |
|
- Sandbox template {{Test case/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 |_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}}
| ||
| ||
|
- Sandbox template {{Test case/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 |_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}}
| _heading1 | → |
_before
| ||
|---|---|---|---|---|
| _heading2 | → |
_before
| ||
| _heading3 | → |
_before
|
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
| _heading1 | → |
_before
| ||
|---|---|---|---|---|
| _heading2 | → |
_before
| ||
| _heading3 | → |
_before
|
Tablerows format with _output=nowiki
[edit]{{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-0000017A-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-0000017B-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-0000017D-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-0000017E-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 |_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-00000180-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-00000181-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-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`"'<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 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-0000018E-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in) |
|---|---|---|
| {{Height/sandbox}} | → |
1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-0000018F-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in) |
- Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}
| {{Height}} | → |
1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-00000195-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in) |
|---|---|---|
| {{Height/sandbox}} | → |
1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-00000196-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in) |
Inline format
[edit]{{Test case |_format=inline |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Test case}}

Lorem ipsum dolor sit amet 
Lorem ipsum dolor sit amet 
Lorem ipsum dolor sit amet
- Sandbox template {{Test case/sandbox}}

Lorem ipsum dolor sit amet 
Lorem ipsum dolor sit amet 
Lorem ipsum dolor sit amet
Inline format with _showcode=yes
[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. 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}}
{{tmbox|text=Lorem ipsum dolor sit amet}}→ _before
_after
Lorem ipsum dolor sit amet {{ombox|text=Lorem ipsum dolor sit amet}}→ _before
_after
Lorem ipsum dolor sit amet {{ombox/sandbox|text=Lorem ipsum dolor sit amet}}→ _before
_after
Lorem ipsum dolor sit amet
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}→ _before
_after
Lorem ipsum dolor sit amet {{ombox|text=Lorem ipsum dolor sit amet}}→ _before
_after
Lorem ipsum dolor sit amet {{ombox/sandbox|text=Lorem ipsum dolor sit amet}}→ _before
_after
Lorem ipsum dolor sit amet
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 |_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 m (4 ft 11+1⁄2 in){{Height/sandbox|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in){{Cvt|1.51|m|frac=2}}→ 1.51 m (4 ft 11+1⁄2 in)
- Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in){{Height/sandbox|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in){{Cvt|1.51|m|frac=2}}→ 1.51 m (4 ft 11+1⁄2 in)
Inline format with _output=nowiki
[edit]{{Test case |_format=inline |_output=nowiki |_showcode=yes |_template=Height |m=1.51}}
- Main template {{Test case}}
{{Height|m=1.51}}→ '"`UNIQ--templatestyles-000001D3-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in){{Height/sandbox|m=1.51}}→ '"`UNIQ--templatestyles-000001D4-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in)
- Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-000001D5-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in)
{{Height/sandbox|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-000001D6-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in)
Inline format with _output=nowiki+
[edit]{{Test case |_format=inline |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}
- Main template {{Test case}}
{{Height|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-000001DB-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in)
{{Height/sandbox|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-000001DC-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in)
- Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-000001E1-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in)
{{Height/sandbox|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in)'"`UNIQ--templatestyles-000001E2-QINU`"'1.51 m (4 ft <span class="frac">11<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in)
Inline format with _prefix=#
[edit]{{Test case |_format=inline |_prefix=# |_showcode=yes |_template=Height |m=1.51}}
- Main template {{Test case}}
{{Height|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in){{Height/sandbox|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in)
- Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in){{Height/sandbox|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in)
Inline format with _prefix=:
[edit]{{Test case |_format=inline |_prefix=: |_showcode=yes |_template=Height |m=1.51}}
- Main template {{Test case}}
{{Height|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in){{Height/sandbox|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in)- Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in){{Height/sandbox|m=1.51}}→ 1.51 m (4 ft 11+1⁄2 in)
Collapsible with default title
[edit]{{Test case |_collapsible=yes |_showcode=yes |_template=Height |m=1.51}}
- Main template {{Test case}}
- Sandbox template {{Test case/sandbox}}
Collapsible with "title" parameter
[edit]{{Test case |_collapsible=yes |_showcode=yes |_title=Testing height template |_template=Height |m=1.51}}
- Main template {{Test case}}
- Sandbox template {{Test case/sandbox}}
Collapsible with "titlecode" parameter
[edit]{{Test case |_collapsible=yes |_titlecode=yes |_template=Height |m=1.51}}
- Main template {{Test case}}
- Sandbox template {{Test case/sandbox}}