Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a44b85bdeae63a24

Jump to content

Template:Collapsible test case/testcases

From Wikipedia, the free encyclopedia

Default format

[edit]

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

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

{{tmbox}}

{{ombox}}

{{ombox/sandbox}}

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

{{tmbox}}

{{ombox}}

{{ombox/sandbox}}

Default format with _showheader=no

[edit]

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

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

Default format with _title and custom headings

[edit]

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

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

Main template {{Collapsible test case}}
_title
{{tmbox|text=Lorem ipsum dolor sit amet}}

_heading1

_before_after

_heading2

_before_after

_heading3

_before_after
Sandbox template {{Collapsible test case/sandbox}}
_title
{{tmbox|text=Lorem ipsum dolor sit amet}}

_heading1

_before_after

_heading2

_before_after

_heading3

_before_after

Default format with _titlecode=yes

[edit]

{{Collapsible test case |_titlecode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}

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

{{ombox}}

{{ombox/sandbox}}

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

{{ombox}}

{{ombox/sandbox}}

Default format with _output=nowiki

[edit]

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

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

{{ombox}}

'"`UNIQ--templatestyles-00000079-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-0000007A-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 {{Collapsible test case/sandbox}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}

{{ombox}}

'"`UNIQ--templatestyles-00000080-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-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>

Default format with _output=nowiki+

[edit]

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

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

{{ombox}}

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

{{ombox/sandbox}}

'"`UNIQ--templatestyles-00000088-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 {{Collapsible test case/sandbox}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}

{{ombox}}

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

{{ombox/sandbox}}

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

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

Main template {{Collapsible test case}}
{{Height}}
{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11+1⁄2 in)
'"`UNIQ--templatestyles-0000009D-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+1⁄2 in)
'"`UNIQ--templatestyles-0000009E-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 {{Collapsible test case/sandbox}}
{{Height}}
{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11+1⁄2 in)
'"`UNIQ--templatestyles-000000A8-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+1⁄2 in)
'"`UNIQ--templatestyles-000000A9-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]

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

Main template {{Collapsible test case}}
{{tmbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Side by side comparison
{{tmbox}}{{ombox}}{{ombox/sandbox}}
Sandbox template {{Collapsible test case/sandbox}}
{{tmbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Side by side comparison
{{tmbox}}{{ombox}}{{ombox/sandbox}}

Columns format with _showcaption=no

[edit]

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

Main template {{Collapsible test case}}
{{tmbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}{{ombox}}{{ombox/sandbox}}
Sandbox template {{Collapsible test case/sandbox}}
{{tmbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}{{ombox}}{{ombox/sandbox}}

Columns format with _showheader=no

[edit]

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

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

Columns format with _title and custom headings

[edit]

{{Collapsible test case |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_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 {{Collapsible test case}}
_title
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading0_heading1_heading2_heading3
_rowheader
_before_after
_before_after
_before_after
Sandbox template {{Collapsible test case/sandbox}}
_title
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading0_heading1_heading2_heading3
_rowheader
_before_after
_before_after
_before_after

Columns format with _titlecode=yes

[edit]

{{Collapsible test case |_format=columns |_titlecode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}

Main template {{Collapsible test case}}
{{ombox|text=Lorem ipsum dolor sit amet}}
Side by side comparison
{{ombox}}{{ombox/sandbox}}
Sandbox template {{Collapsible test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
Side by side comparison
{{ombox}}{{ombox/sandbox}}

Columns format with _output=nowiki

[edit]

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

Main template {{Collapsible test case}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
Side by side comparison
{{ombox}}{{ombox/sandbox}}
'"`UNIQ--templatestyles-00000137-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-00000138-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 {{Collapsible test case/sandbox}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
Side by side comparison
{{ombox}}{{ombox/sandbox}}
'"`UNIQ--templatestyles-0000013E-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-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>

Columns format with _output=nowiki+

[edit]

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

Main template {{Collapsible test case}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
Side by side comparison
{{ombox}}{{ombox/sandbox}}
'"`UNIQ--templatestyles-00000145-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-00000146-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 {{Collapsible test case/sandbox}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
Side by side comparison
{{ombox}}{{ombox/sandbox}}
'"`UNIQ--templatestyles-00000150-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-00000151-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>

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

Main template {{Collapsible test case}}
{{Height}}
{{Height|m=1.51}}
Side by side comparison
{{Height}}{{Height/sandbox}}
1.51 m (4 ft 11+1⁄2 in)
'"`UNIQ--templatestyles-0000015B-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+1⁄2 in)
'"`UNIQ--templatestyles-0000015C-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 {{Collapsible test case/sandbox}}
{{Height}}
{{Height|m=1.51}}
Side by side comparison
{{Height}}{{Height/sandbox}}
1.51 m (4 ft 11+1⁄2 in)
'"`UNIQ--templatestyles-00000166-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+1⁄2 in)
'"`UNIQ--templatestyles-00000167-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]

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

Main template {{Collapsible test case}}
{{tmbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}
{{ombox}}
{{ombox/sandbox}}
Sandbox template {{Collapsible test case/sandbox}}
{{tmbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}
{{ombox}}
{{ombox/sandbox}}

Rows format with _showheader=no

[edit]

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

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

Rows format with _title and custom headings

[edit]

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

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

Main template {{Collapsible test case}}
_title
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading1
_before_after
_heading2
_before_after
_heading3
_before_after
Sandbox template {{Collapsible test case/sandbox}}
_title
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading1
_before_after
_heading2
_before_after
_heading3
_before_after

Rows format with _titlecode=yes

[edit]

{{Collapsible test case |_format=rows |_titlecode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}

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

Rows format with _output=nowiki

[edit]

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

Main template {{Collapsible test case}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}
'"`UNIQ--templatestyles-000001D9-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-000001DA-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 {{Collapsible test case/sandbox}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}
'"`UNIQ--templatestyles-000001E0-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-000001E1-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]

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

Main template {{Collapsible test case}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}
'"`UNIQ--templatestyles-000001E7-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-000001E8-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 {{Collapsible test case/sandbox}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}
'"`UNIQ--templatestyles-000001F2-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-000001F3-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>

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

Main template {{Collapsible test case}}
{{Height}}
{{Height|m=1.51}}
{{Height}}
1.51 m (4 ft 11+1⁄2 in)
'"`UNIQ--templatestyles-000001FD-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+1⁄2 in)
'"`UNIQ--templatestyles-000001FE-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 {{Collapsible test case/sandbox}}
{{Height}}
{{Height|m=1.51}}
{{Height}}
1.51 m (4 ft 11+1⁄2 in)
'"`UNIQ--templatestyles-00000208-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+1⁄2 in)
'"`UNIQ--templatestyles-00000209-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]

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

Main template {{Collapsible test case}}
{{tmbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}→
{{ombox}}→
{{ombox/sandbox}}→
Sandbox template {{Collapsible test case/sandbox}}
{{tmbox}}
{{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.

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

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

Tablerows format with _title and custom headings

[edit]

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

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

Main template {{Collapsible test case}}
_title
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading1→ _before_after
_heading2→ _before_after
_heading3→ _before_after
Sandbox template {{Collapsible test case/sandbox}}
_title
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading1→ _before_after
_heading2→ _before_after
_heading3→ _before_after

Tablerows format with _titlecode=yes

[edit]

{{Collapsible test case |_format=tablerows |_titlecode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}

Main template {{Collapsible test case}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}→
{{ombox/sandbox}}→
Sandbox template {{Collapsible test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}→
{{ombox/sandbox}}→

Tablerows format with _output=nowiki

[edit]

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

Main template {{Collapsible test case}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}→ '"`UNIQ--templatestyles-0000027B-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-0000027C-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 {{Collapsible test case/sandbox}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}→ '"`UNIQ--templatestyles-00000282-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-00000283-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]

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

Main template {{Collapsible test case}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}→
'"`UNIQ--templatestyles-00000289-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-0000028A-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 {{Collapsible test case/sandbox}}
{{ombox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}→
'"`UNIQ--templatestyles-00000294-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-00000295-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>

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

Main template {{Collapsible test case}}
{{Height}}
{{Height|m=1.51}}
{{Height}}→ 1.51 m (4 ft 11+1⁄2 in)
'"`UNIQ--templatestyles-0000029F-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+1⁄2 in)
'"`UNIQ--templatestyles-000002A0-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 {{Collapsible test case/sandbox}}
{{Height}}
{{Height|m=1.51}}
{{Height}}→ 1.51 m (4 ft 11+1⁄2 in)
'"`UNIQ--templatestyles-000002AA-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+1⁄2 in)
'"`UNIQ--templatestyles-000002AB-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 default title of the collapsible box is the name of _template1.

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

Main template {{Collapsible test case}}
{{tmbox}}
Sandbox template {{Collapsible test case/sandbox}}
{{tmbox}}

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

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

Main template {{Collapsible test case}}
{{tmbox}}
  • {{tmbox|text=Lorem ipsum dolor sit amet}} → _before_after
  • {{ombox|text=Lorem ipsum dolor sit amet}} → _before_after
  • {{ombox/sandbox|text=Lorem ipsum dolor sit amet}} → _before_after
Sandbox template {{Collapsible test case/sandbox}}
{{tmbox}}
  • {{tmbox|text=Lorem ipsum dolor sit amet}} → _before_after
  • {{ombox|text=Lorem ipsum dolor sit amet}} → _before_after
  • {{ombox/sandbox|text=Lorem ipsum dolor sit amet}} → _before_after

Inline format with _heading1

[edit]

If _heading1 is defined, that will be used in place of the default title.

{{Collapsible test case |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_heading1=''_heading1'' |text=Lorem ipsum dolor sit amet}}

Main template {{Collapsible test case}}
_heading1
  • {{tmbox|text=Lorem ipsum dolor sit amet}} →
  • {{ombox|text=Lorem ipsum dolor sit amet}} →
  • {{ombox/sandbox|text=Lorem ipsum dolor sit amet}} →
Sandbox template {{Collapsible test case/sandbox}}
_heading1
  • {{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 _title

[edit]

A custom title for the collapsible box can be assigned via _title. As shown, this overrides _heading1.

{{Collapsible test case |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_heading1=''heading1'' |text=Lorem ipsum dolor sit amet}}

Main template {{Collapsible test case}}
_title
  • {{tmbox|text=Lorem ipsum dolor sit amet}} →
  • {{ombox|text=Lorem ipsum dolor sit amet}} →
  • {{ombox/sandbox|text=Lorem ipsum dolor sit amet}} →
Sandbox template {{Collapsible test case/sandbox}}
_title
  • {{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 _titlecode=yes

[edit]

{{Collapsible test case |_format=inline |_titlecode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}

Main template {{Collapsible test case}}
{{ombox|text=Lorem ipsum dolor sit amet}}
Sandbox template {{Collapsible test case/sandbox}}
{{ombox|text=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.

{{Collapsible 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 {{Collapsible test case}}
{{Height}}
  • {{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 {{Collapsible test case/sandbox}}
{{Height}}
  • {{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]

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

Main template {{Collapsible test case}}
{{Height}}
  • {{Height|m=1.51}} → '"`UNIQ--templatestyles-00000363-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-00000365-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 {{Collapsible test case/sandbox}}
{{Height}}
  • {{Height|m=1.51}} → '"`UNIQ--templatestyles-0000036B-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-0000036D-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]

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

Main template {{Collapsible test case}}
{{Height}}
  • {{Height|m=1.51}} → 1.51 m (4 ft 11+1⁄2 in)
    '"`UNIQ--templatestyles-00000373-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+1⁄2 in)
    '"`UNIQ--templatestyles-00000375-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 {{Collapsible test case/sandbox}}
{{Height}}
  • {{Height|m=1.51}} → 1.51 m (4 ft 11+1⁄2 in)
    '"`UNIQ--templatestyles-0000037F-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+1⁄2 in)
    '"`UNIQ--templatestyles-00000381-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]

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

Main template {{Collapsible test case}}
{{Height}}
  1. {{Height|m=1.51}} → 1.51 m (4 ft 11+1⁄2 in)
  2. {{Height/sandbox|m=1.51}} → 1.51 m (4 ft 11+1⁄2 in)
Sandbox template {{Collapsible test case/sandbox}}
{{Height}}
  1. {{Height|m=1.51}} → 1.51 m (4 ft 11+1⁄2 in)
  2. {{Height/sandbox|m=1.51}} → 1.51 m (4 ft 11+1⁄2 in)

Inline format with _prefix=:

[edit]

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

Main template {{Collapsible test case}}
{{Height}}
{{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 {{Collapsible test case/sandbox}}
{{Height}}
{{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)

See also

[edit]