සැකිල්ල: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 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-00000027-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-0000002A-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-0000002F-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-00000032-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 (4 ft 11 1⁄2 in)
1.51 m (4 ft <span class="frac nowrap">11<span class="visualhide"> </span><sup>1</sup>⁄<sub>2</sub></span> in)
{{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 (4 ft 11 1⁄2 in)
1.51 m (4 ft <span class="frac nowrap">11<span class="visualhide"> </span><sup>1</sup>⁄<sub>2</sub></span> in)
{{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-00000065-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-00000068-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-0000006D-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-00000070-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 (4 ft 11 1⁄2 in)1.51 m (4 ft <span class="frac nowrap">11<span class="visualhide"> </span><sup>1</sup>⁄<sub>2</sub></span> in) |
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 (4 ft 11 1⁄2 in)1.51 m (4 ft <span class="frac nowrap">11<span class="visualhide"> </span><sup>1</sup>⁄<sub>2</sub></span> in) |
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-00000099-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-0000009C-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-000000A1-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-000000A4-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 (4 ft 11 1⁄2 in)1.51 m (4 ft <span class="frac nowrap">11<span class="visualhide"> </span><sup>1</sup>⁄<sub>2</sub></span> in) |
{{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 (4 ft 11 1⁄2 in)1.51 m (4 ft <span class="frac nowrap">11<span class="visualhide"> </span><sup>1</sup>⁄<sub>2</sub></span> in) |
{{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-000000CD-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-000000D0-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-000000D5-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-000000D8-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 (4 ft 11 1⁄2 in)1.51 m (4 ft <span class="frac nowrap">11<span class="visualhide"> </span><sup>1</sup>⁄<sub>2</sub></span> in) |
---|---|---|
{{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 (4 ft 11 1⁄2 in)1.51 m (4 ft <span class="frac nowrap">11<span class="visualhide"> </span><sup>1</sup>⁄<sub>2</sub></span> in) |
---|---|---|
{{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
_afterLorem ipsum dolor sit amet {{ombox|text=Lorem ipsum dolor sit amet}}
→ _before
_afterLorem 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}}
- <syntaxhighlight lang="wikitext" inline>{{tmbox|text=Lorem ipsum dolor sit amet}}</syntaxhighlight> → _before
_afterLorem ipsum dolor sit amet - <syntaxhighlight lang="wikitext" inline>{{ombox|text=Lorem ipsum dolor sit amet}}</syntaxhighlight> → _before
_afterLorem ipsum dolor sit amet - <syntaxhighlight lang="wikitext" inline>{{ombox/sandbox|text=Lorem ipsum dolor sit amet}}</syntaxhighlight> → _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 (4 ft 11 1⁄2 in){{Height/sandbox|m=1.51}}
→ Error: expandTemplate: template "Height/sandbox" does not exist{{Cvt|1.51|m|frac=2}}
→ 1.51 m (4 ft 11 1⁄2 in)
- Sandbox template {{Test case/sandbox}}
- <syntaxhighlight lang="wikitext" inline>{{Height|m=1.51}}</syntaxhighlight> → 1.51 m (4 ft 11 1⁄2 in)
- <syntaxhighlight lang="wikitext" inline>{{Height/sandbox|m=1.51}}</syntaxhighlight> → Error: expandTemplate: template "Height/sandbox" does not exist
{{Cvt|1.51|m|frac=2}}
→ 1.51 m (4 ft 11 1⁄2 in)
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 (4 ft <span class="frac nowrap">11<span class="visualhide"> </span><sup>1</sup>⁄<sub>2</sub></span> in){{Height/sandbox|m=1.51}}
→ <strong class="error">Error: expandTemplate: template "Height/sandbox" does not exist</strong>
- Sandbox template {{Test case/sandbox}}
- <syntaxhighlight lang="wikitext" inline>{{Height|m=1.51}}</syntaxhighlight> → 1.51 m (4 ft 11 1⁄2 in)
1.51 m (4 ft <span class="frac nowrap">11<span class="visualhide"> </span><sup>1</sup>⁄<sub>2</sub></span> in)
- <syntaxhighlight lang="wikitext" inline>{{Height/sandbox|m=1.51}}</syntaxhighlight> → 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 (4 ft 11 1⁄2 in)1.51 m (4 ft <span class="frac nowrap">11<span class="visualhide"> </span><sup>1</sup>⁄<sub>2</sub></span> in)
{{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}}
- <syntaxhighlight lang="wikitext" inline>{{Height|m=1.51}}</syntaxhighlight> → 1.51 m (4 ft 11 1⁄2 in)
1.51 m (4 ft <span class="frac nowrap">11<span class="visualhide"> </span><sup>1</sup>⁄<sub>2</sub></span> in)
- <syntaxhighlight lang="wikitext" inline>{{Height/sandbox|m=1.51}}</syntaxhighlight> → 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 (4 ft 11 1⁄2 in){{Height/sandbox|m=1.51}}
→ Error: expandTemplate: template "Height/sandbox" does not exist
- Sandbox template {{Test case/sandbox}}
- <syntaxhighlight lang="wikitext" inline>{{Height|m=1.51}}</syntaxhighlight> → 1.51 m (4 ft 11 1⁄2 in)
- <syntaxhighlight lang="wikitext" inline>{{Height/sandbox|m=1.51}}</syntaxhighlight> → 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 (4 ft 11 1⁄2 in){{Height/sandbox|m=1.51}}
→ Error: expandTemplate: template "Height/sandbox" does not exist- Sandbox template {{Test case/sandbox}}
- <syntaxhighlight lang="wikitext" inline>{{Height|m=1.51}}</syntaxhighlight> → 1.51 m (4 ft 11 1⁄2 in)
- <syntaxhighlight lang="wikitext" inline>{{Height/sandbox|m=1.51}}</syntaxhighlight> → 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 (4 ft 11 1⁄2 in)
{{Height/sandbox}}
Error: expandTemplate: template "Height/sandbox" does not exist
- Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}
{{Height}}
1.51 m (4 ft 11 1⁄2 in)
{{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 (4 ft 11 1⁄2 in)
{{Height/sandbox}}
Error: expandTemplate: template "Height/sandbox" does not exist
- Sandbox template {{Test case/sandbox}}
{{Height|m=1.51}}
{{Height}}
1.51 m (4 ft 11 1⁄2 in)
{{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 (4 ft 11 1⁄2 in)
{{Height/sandbox}}
Error: expandTemplate: template "Height/sandbox" does not exist
- Sandbox template {{Test case/sandbox}}
{{Height}}
1.51 m (4 ft 11 1⁄2 in)
{{Height/sandbox}}
Error: expandTemplate: template "Height/sandbox" does not exist