සැකිල්ල:Test case/testcases
| This is the template test cases page for the sandbox of සැකිල්ල:Test case. Purge this page 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
[සංස්කරණය]{{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}}
Error: expandTemplate: template "ombox/sandbox" does not exist
- 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}}
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}}
| Lorem ipsum dolor sit amet |
| 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}}
| Lorem ipsum dolor sit amet |
| 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
| Lorem ipsum dolor sit amet |
_after
_heading2
_before
| Lorem ipsum dolor sit amet |
_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
| Lorem ipsum dolor sit amet |
_after
_heading2
_before
| Lorem ipsum dolor sit amet |
_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}}
| Lorem ipsum dolor sit amet |
'"`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}}
| Lorem ipsum dolor sit amet |
'"`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 m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name "m" 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 m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name "m" 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}}
| {{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 _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}}
| _heading0 | _heading1 | _heading2 | _heading3 | ||||
|---|---|---|---|---|---|---|---|
| _rowheader |
_before
|
_before
|
_beforeError: expandTemplate: template "ombox/sandbox" does not exist_after |
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
| _heading0 | _heading1 | _heading2 | _heading3 | ||||
|---|---|---|---|---|---|---|---|
| _rowheader |
_before
|
_before
|
_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}}
| {{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}}
| {{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}}
| {{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}}
| {{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}}
| {{Height}} | {{Height/sandbox}} |
|---|---|
1.51 m[convert: unknown unit]1.51 m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name "m" 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}}
| {{Height}} | {{Height/sandbox}} |
|---|---|
1.51 m[convert: unknown unit]1.51 m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name "m" 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> |
Rows format
[සංස්කරණය]{{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}}
| _heading1 | ||
_before
| ||
| _heading2 | ||
_before
| ||
| _heading3 | ||
| _beforeError: expandTemplate: template "ombox/sandbox" does not exist_after |
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
| _heading1 | ||
_before
| ||
| _heading2 | ||
_before
| ||
| _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 m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name "m" 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 m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name "m" 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}}
| _heading1 | → |
_before
| ||
|---|---|---|---|---|
| _heading2 | → |
_before
| ||
| _heading3 | → | _beforeError: expandTemplate: template "ombox/sandbox" does not exist_after |
- Sandbox template {{Test case/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
| _heading1 | → |
_before
| ||
|---|---|---|---|---|
| _heading2 | → |
_before
| ||
| _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 m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name "m" 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 m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name "m" 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> |
Inline format
[සංස්කරණය]{{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 - Error: expandTemplate: template "ombox/sandbox" does not exist
- Sandbox template {{Test case/sandbox}}

Lorem ipsum dolor sit amet 
Lorem ipsum dolor sit amet - 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
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}}→ _beforeError: expandTemplate: template "ombox/sandbox" does not exist_after
- 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}}→ _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}}
{{Height|m=1.51}}→ 1.51 m[convert: unknown unit]{{Height/sandbox|m=1.51}}→ Error: expandTemplate: template "Height/sandbox" does not exist{{Cvt|1.51|m|frac=2}}→ 1.51 m[convert: unknown unit]
- 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{{Cvt|1.51|m|frac=2}}→ 1.51 m[convert: unknown unit]
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<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name "m" 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 m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name "m" 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 m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name "m" 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 m<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name "m" 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}}
{{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
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|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
Collapsible with "title" parameter
[සංස්කරණය]{{Test case |_collapsible=yes |_showcode=yes |_title=Testing height template |_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
Collapsible with "titlecode" parameter
[සංස්කරණය]{{Test case |_collapsible=yes |_titlecode=yes |_template=Height |m=1.51}}
- Main template {{Test case}}
{{Height}}
1.51 m[convert: unknown unit]
{{Height/sandbox}}
Error: expandTemplate: template "Height/sandbox" does not exist
- Sandbox template {{Test case/sandbox}}
{{Height}}
1.51 m[convert: unknown unit]
{{Height/sandbox}}
Error: expandTemplate: template "Height/sandbox" does not exist