Jump to content

සැකිල්ල:Test case/testcases

විකිපීඩියා වෙතින්

Default format

[සංස්කරණය]

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

{{ombox}}

{{ombox/sandbox}}

Error: expandTemplate: template "ombox/sandbox" does not exist

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

{{tmbox}}

{{ombox}}

{{ombox/sandbox}}

Error: expandTemplate: template "ombox/sandbox" does not exist

Default format with _showheader=no

[සංස්කරණය]

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

Error: expandTemplate: template "ombox/sandbox" does not exist

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

Error: expandTemplate: template "ombox/sandbox" does not exist

Default format with custom headings

[සංස්කරණය]

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

_after

_heading2

_before

_after

_heading3

_beforeError: expandTemplate: template "ombox/sandbox" does not exist_after

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

_heading1

_before

_after

_heading2

_before

_after

_heading3

_beforeError: expandTemplate: template "ombox/sandbox" does not exist_after

Default format with _output=nowiki

[සංස්කරණය]

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

<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>

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

<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>

Default format with _output=nowiki+

[සංස්කරණය]

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

Error: expandTemplate: template "ombox/sandbox" does not exist

<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}

{{ombox}}

'"`UNIQ--templatestyles-0000003C-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}}

Error: expandTemplate: template "ombox/sandbox" does not exist

<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>

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

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

{{Height}}

1.51 m[convert: unknown unit]

1.51&nbsp;m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;m&quot; is not known">convert: unknown unit</span>]]</i>]</sup><span class="error"></span>

{{Height/sandbox}}

Error: expandTemplate: template "Height/sandbox" does not exist

<strong class="error">Error: expandTemplate: template "Height/sandbox" does not exist</strong>
Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}

{{Height}}

1.51 m[convert: unknown unit]

1.51&nbsp;m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;m&quot; is not known">convert: unknown unit</span>]]</i>]</sup><span class="error"></span>

{{Height/sandbox}}

Error: expandTemplate: template "Height/sandbox" does not exist

<strong class="error">Error: expandTemplate: template "Height/sandbox" does not exist</strong>

Columns format

[සංස්කරණය]

{{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}}
Side by side comparison
{{tmbox}}{{ombox}}{{ombox/sandbox}}
Error: expandTemplate: template "ombox/sandbox" does not exist
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Side by side comparison
{{tmbox}}{{ombox}}{{ombox/sandbox}}
Error: expandTemplate: template "ombox/sandbox" does not exist

Columns format with _showcaption=no

[සංස්කරණය]

{{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}}
Error: expandTemplate: template "ombox/sandbox" does not exist
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}{{ombox}}{{ombox/sandbox}}
Error: expandTemplate: template "ombox/sandbox" does not exist

Columns format with _showheader=no

[සංස්කරණය]

{{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}}
Error: expandTemplate: template "ombox/sandbox" does not exist
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Error: expandTemplate: template "ombox/sandbox" does not exist

Columns format with custom headings

[සංස්කරණය]

{{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}}
_caption
_heading0_heading1_heading2_heading3
_rowheader
_before_after
_before_after
_beforeError: expandTemplate: template "ombox/sandbox" does not exist_after
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading0_heading1_heading2_heading3
_rowheader
_before_after
_before_after
_beforeError: expandTemplate: template "ombox/sandbox" does not exist_after

Columns format with _output=nowiki

[සංස්කරණය]

{{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}}
Side by side comparison
{{ombox}}{{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> <strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
Side by side comparison
{{ombox}}{{ombox/sandbox}}
'"`UNIQ--templatestyles-0000007C-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> <strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>

Columns format with _output=nowiki+

[සංස්කරණය]

{{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}}
Side by side comparison
{{ombox}}{{ombox/sandbox}}
'"`UNIQ--templatestyles-0000007E-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>
Error: expandTemplate: template "ombox/sandbox" does not exist
<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
Side by side comparison
{{ombox}}{{ombox/sandbox}}
'"`UNIQ--templatestyles-00000082-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>
Error: expandTemplate: template "ombox/sandbox" does not exist
<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>

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

Main template {{Test case}}
{{Height|m=1.51}}
Side by side comparison
{{Height}}{{Height/sandbox}}
1.51 m[convert: unknown unit]
1.51&nbsp;m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;m&quot; is not known">convert: unknown unit</span>]]</i>]</sup><span class="error"></span>
Error: expandTemplate: template "Height/sandbox" does not exist
<strong class="error">Error: expandTemplate: template "Height/sandbox" does not exist</strong>
Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}
Side by side comparison
{{Height}}{{Height/sandbox}}
1.51 m[convert: unknown unit]
1.51&nbsp;m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;m&quot; is not known">convert: unknown unit</span>]]</i>]</sup><span class="error"></span>
Error: expandTemplate: template "Height/sandbox" does not exist
<strong class="error">Error: expandTemplate: template "Height/sandbox" does not exist</strong>

{{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}}
Error: expandTemplate: template "ombox/sandbox" does not exist
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}
{{ombox}}
{{ombox/sandbox}}
Error: expandTemplate: template "ombox/sandbox" does not exist

Rows format with _showheader=no

[සංස්කරණය]

{{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}}
Error: expandTemplate: template "ombox/sandbox" does not exist
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Error: expandTemplate: template "ombox/sandbox" does not exist

Rows format with custom headings

[සංස්කරණය]

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}}
_caption
_heading1
_before_after
_heading2
_before_after
_heading3
_beforeError: expandTemplate: template "ombox/sandbox" does not exist_after
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading1
_before_after
_heading2
_before_after
_heading3
_beforeError: expandTemplate: template "ombox/sandbox" does not exist_after

Rows format with _output=nowiki

[සංස්කරණය]

{{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-000000B2-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}}
<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}
'"`UNIQ--templatestyles-000000B4-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}}
<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>

Rows format with _output=nowiki+

[සංස්කරණය]

{{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-000000B6-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}}
Error: expandTemplate: template "ombox/sandbox" does not exist
<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}
'"`UNIQ--templatestyles-000000BA-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}}
Error: expandTemplate: template "ombox/sandbox" does not exist
<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>

{{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[convert: unknown unit]
1.51&nbsp;m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;m&quot; is not known">convert: unknown unit</span>]]</i>]</sup><span class="error"></span>
{{Height/sandbox}}
Error: expandTemplate: template "Height/sandbox" does not exist
<strong class="error">Error: expandTemplate: template "Height/sandbox" does not exist</strong>
Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}
{{Height}}
1.51 m[convert: unknown unit]
1.51&nbsp;m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;m&quot; is not known">convert: unknown unit</span>]]</i>]</sup><span class="error"></span>
{{Height/sandbox}}
Error: expandTemplate: template "Height/sandbox" does not exist
<strong class="error">Error: expandTemplate: template "Height/sandbox" does not exist</strong>

Tablerows format

[සංස්කරණය]

{{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}} Error: expandTemplate: template "ombox/sandbox" does not exist
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}
{{ombox}}
{{ombox/sandbox}} Error: expandTemplate: template "ombox/sandbox" does not exist

Tablerows format with _showheader=no

[සංස්කරණය]

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}}
Error: expandTemplate: template "ombox/sandbox" does not exist
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Error: expandTemplate: template "ombox/sandbox" does not exist

Tablerows format with custom headings

[සංස්කරණය]

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}}
_caption
_heading1 _before_after
_heading2 _before_after
_heading3 _beforeError: expandTemplate: template "ombox/sandbox" does not exist_after
Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
_caption
_heading1 _before_after
_heading2 _before_after
_heading3 _beforeError: expandTemplate: template "ombox/sandbox" does not exist_after

Tablerows format with _output=nowiki

[සංස්කරණය]

{{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-000000EA-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}} <strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}} '"`UNIQ--templatestyles-000000EC-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
{{ombox/sandbox}} <strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>

Tablerows format with _output=nowiki+

[සංස්කරණය]

{{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-000000EE-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}} Error: expandTemplate: template "ombox/sandbox" does not exist
<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>
Sandbox template {{Test case/sandbox}}
{{ombox|text=Lorem ipsum dolor sit amet}}
{{ombox}}
'"`UNIQ--templatestyles-000000F2-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Information icon4.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table>
{{ombox/sandbox}} Error: expandTemplate: template "ombox/sandbox" does not exist
<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong>

{{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[convert: unknown unit]
1.51&nbsp;m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;m&quot; is not known">convert: unknown unit</span>]]</i>]</sup><span class="error"></span>
{{Height/sandbox}} Error: expandTemplate: template "Height/sandbox" does not exist
<strong class="error">Error: expandTemplate: template "Height/sandbox" does not exist</strong>
Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}
{{Height}} 1.51 m[convert: unknown unit]
1.51&nbsp;m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;m&quot; is not known">convert: unknown unit</span>]]</i>]</sup><span class="error"></span>
{{Height/sandbox}} Error: expandTemplate: template "Height/sandbox" does not exist
<strong class="error">Error: expandTemplate: template "Height/sandbox" does not exist</strong>

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

Main template {{Test case}}
  • Error: expandTemplate: template "ombox/sandbox" does not exist
Sandbox template {{Test case/sandbox}}
  • Error: expandTemplate: template "ombox/sandbox" does not exist

Inline format with _showcode=yes

[සංස්කරණය]

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
  • {{ombox|text=Lorem ipsum dolor sit amet}}_before_after
  • {{ombox/sandbox|text=Lorem ipsum dolor sit amet}}_beforeError: expandTemplate: template "ombox/sandbox" does not exist_after
Sandbox template {{Test case/sandbox}}
  • {{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}}_beforeError: expandTemplate: template "ombox/sandbox" does not exist_after

Inline format with _addline

[සංස්කරණය]

The contents of the _addline parameter will be displayed next to an additional bullet at the end of the list.

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

Inline format with _output=nowiki

[සංස්කරණය]

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

Main template {{Test case}}
  • {{Height|m=1.51}} → 1.51&nbsp;m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;m&quot; is not known">convert: unknown unit</span>]]</i>]</sup><span class="error"></span>
  • {{Height/sandbox|m=1.51}}<strong class="error">Error: expandTemplate: template "Height/sandbox" does not exist</strong>
Sandbox template {{Test case/sandbox}}
  • {{Height|m=1.51}} → 1.51 m[convert: unknown unit]
    1.51&nbsp;m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;m&quot; is not known">convert: unknown unit</span>]]</i>]</sup><span class="error"></span>
  • {{Height/sandbox|m=1.51}}Error: expandTemplate: template "Height/sandbox" does not exist
    <strong class="error">Error: expandTemplate: template "Height/sandbox" does not exist</strong>

Inline format with _output=nowiki+

[සංස්කරණය]

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

Main template {{Test case}}
  • {{Height|m=1.51}} → 1.51 m[convert: unknown unit]
    1.51&nbsp;m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;m&quot; is not known">convert: unknown unit</span>]]</i>]</sup><span class="error"></span>
  • {{Height/sandbox|m=1.51}}Error: expandTemplate: template "Height/sandbox" does not exist
    <strong class="error">Error: expandTemplate: template "Height/sandbox" does not exist</strong>
Sandbox template {{Test case/sandbox}}
  • {{Height|m=1.51}} → 1.51 m[convert: unknown unit]
    1.51&nbsp;m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;m&quot; is not known">convert: unknown unit</span>]]</i>]</sup><span class="error"></span>
  • {{Height/sandbox|m=1.51}}Error: expandTemplate: template "Height/sandbox" does not exist
    <strong class="error">Error: expandTemplate: template "Height/sandbox" does not exist</strong>

Inline format with _prefix=#

[සංස්කරණය]

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

Main template {{Test case}}
  1. {{Height|m=1.51}} → 1.51 m[convert: unknown unit]
  2. {{Height/sandbox|m=1.51}}Error: expandTemplate: template "Height/sandbox" does not exist
Sandbox template {{Test case/sandbox}}
  1. {{Height|m=1.51}} → 1.51 m[convert: unknown unit]
  2. {{Height/sandbox|m=1.51}}Error: expandTemplate: template "Height/sandbox" does not exist

Inline format with _prefix=:

[සංස්කරණය]

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

Main template {{Test case}}
{{Height|m=1.51}} → 1.51 m[convert: unknown unit]
{{Height/sandbox|m=1.51}}Error: expandTemplate: template "Height/sandbox" does not exist
Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}} → 1.51 m[convert: unknown unit]
{{Height/sandbox|m=1.51}}Error: expandTemplate: template "Height/sandbox" does not exist

Collapsible with default title

[සංස්කරණය]

{{Test case |_collapsible=yes |_showcode=yes |_template=Height |m=1.51}}

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

{{Height}}

1.51 m[convert: unknown unit]

{{Height/sandbox}}

Error: expandTemplate: template "Height/sandbox" does not exist

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

{{Height}}

1.51 m[convert: unknown unit]

{{Height/sandbox}}

Error: expandTemplate: template "Height/sandbox" does not exist

Collapsible with "title" parameter

[සංස්කරණය]

{{Test case |_collapsible=yes |_showcode=yes |_title=Testing height template |_template=Height |m=1.51}}

Main template {{Test case}}
Testing height template
{{Height|m=1.51}}

{{Height}}

1.51 m[convert: unknown unit]

{{Height/sandbox}}

Error: expandTemplate: template "Height/sandbox" does not exist

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

{{Height}}

1.51 m[convert: unknown unit]

{{Height/sandbox}}

Error: expandTemplate: template "Height/sandbox" does not exist

Collapsible with "titlecode" parameter

[සංස්කරණය]

{{Test case |_collapsible=yes |_titlecode=yes |_template=Height |m=1.51}}

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

{{Height}}

1.51 m[convert: unknown unit]

{{Height/sandbox}}

Error: expandTemplate: template "Height/sandbox" does not exist

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

{{Height}}

1.51 m[convert: unknown unit]

{{Height/sandbox}}

Error: expandTemplate: template "Height/sandbox" does not exist

"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Test_case/testcases&oldid=689044" වෙතින් සම්ප්‍රවේශනය කෙරිණි