Module talk:Template test case/testcases

There are no discussions on this page.

2 tests failed.

test01_columns
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_format=columns |_caption=_caption |_rowheader=_rowheader |_heading0=_heading0 |_heading1=_heading1 |_heading2=_heading2 |_heading3=_heading3 |_before=_before |_after=_after |_template1=Commons-inline |_template2=Commons category-inline |_template3=Commons and category-inline |Lorem ipsum|Lorem ipsum}}
_caption
_heading0_heading1_heading2_heading3
_rowheader _before Media related to Lorem ipsum at Wikimedia Commons_after _before Media related to Lorem ipsum at Wikimedia Commons_after _before Media related to Lorem ipsum (category) at Wikimedia Commons_after
_caption
_heading0_heading1_heading2_heading3
_rowheader _before Media related to Lorem ipsum at Wikimedia Commons_after _before Media related to Lorem ipsum at Wikimedia Commons_after _before Media related to Lorem ipsum (category) at Wikimedia Commons_after
test01_columns_nowiki
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_format=columns |_caption=_caption |_rowheader=_rowheader |_heading0=_heading0 |_heading1=_heading1 |_heading2=_heading2 |_heading3=_heading3 |_before=_before |_after=_after |_template1=Commons-inline |_template2=Commons category-inline |_template3=Commons and category-inline |Lorem ipsum|Lorem ipsum}} <table><caption>_caption</caption><tr><th>_heading0</th><th style="width:33%">_heading1</th><th style="width:33%">_heading2</th><th style="width:33%">_heading3</th></tr><tr style="vertical-align:top"><th scope="row">_rowheader</th><td>

_before[[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] at Wikimedia Commons_after</td><td> _before[[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[commons:Category:Lorem ipsum|<span style=" ">Lorem ipsum</span>]] at Wikimedia Commons_after</td><td> _before[[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] ([[Commons:Category:Lorem ipsum|category]]) at Wikimedia Commons_after</td></tr></table>[[Category:Test cases using heading parameters]]

<table><caption>_caption</caption><tr><th>_heading0</th><th style="width:33%">_heading1</th><th style="width:33%">_heading2</th><th style="width:33%">_heading3</th></tr><tr style="vertical-align:top"><th scope="row">_rowheader</th><td>

_before[[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] at Wikimedia Commons_after</td><td> _before[[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[commons:Category:Lorem ipsum|<span style=" ">Lorem ipsum</span>]] at Wikimedia Commons_after</td><td> _before[[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] ([[Commons:Category:Lorem ipsum|category]]) at Wikimedia Commons_after</td></tr></table>[[Category:Test cases using heading parameters]]

test02_showheader
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_format=columns |_showheader=no |_template1=Commons-inline |_template2=Commons category-inline |_template3=Commons and category-inline |Lorem ipsum|Lorem ipsum}}
Media related to Lorem ipsum at Wikimedia Commons Media related to Lorem ipsum at Wikimedia Commons Media related to Lorem ipsum (category) at Wikimedia Commons
Media related to Lorem ipsum at Wikimedia Commons Media related to Lorem ipsum at Wikimedia Commons Media related to Lorem ipsum (category) at Wikimedia Commons
test02_showheader_nowiki
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_format=columns |_showheader=no |_template1=Commons-inline |_template2=Commons category-inline |_template3=Commons and category-inline |Lorem ipsum|Lorem ipsum}} <table><tr style="vertical-align:top"><td>

[[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] at Wikimedia Commons</td><td> [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[commons:Category:Lorem ipsum|<span style=" ">Lorem ipsum</span>]] at Wikimedia Commons</td><td> [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] ([[Commons:Category:Lorem ipsum|category]]) at Wikimedia Commons</td></tr></table>

<table><tr style="vertical-align:top"><td>

[[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] at Wikimedia Commons</td><td> [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[commons:Category:Lorem ipsum|<span style=" ">Lorem ipsum</span>]] at Wikimedia Commons</td><td> [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] ([[Commons:Category:Lorem ipsum|category]]) at Wikimedia Commons</td></tr></table>

test03_caption
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_format=columns |_caption=&nbsp; |_template1=Commons-inline |_template2=Commons category-inline |_template3=Commons and category-inline |Lorem ipsum|Lorem ipsum}}
 
{{Commons-inline}}{{Commons category-inline}}{{Commons and category-inline}}
Media related to Lorem ipsum at Wikimedia Commons Media related to Lorem ipsum at Wikimedia Commons Media related to Lorem ipsum (category) at Wikimedia Commons
 
{{Commons-inline}}{{Commons category-inline}}{{Commons and category-inline}}
Media related to Lorem ipsum at Wikimedia Commons Media related to Lorem ipsum at Wikimedia Commons Media related to Lorem ipsum (category) at Wikimedia Commons
test03_caption_nowiki
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_format=columns |_caption=&nbsp; |_template1=Commons-inline |_template2=Commons category-inline |_template3=Commons and category-inline |Lorem ipsum|Lorem ipsum}} <table><caption>&nbsp;</caption><tr><th style="width:33%">&#123;&#123;[[:Template:Commons-inline|Commons-inline]]&#125;&#125;</th><th style="width:33%">&#123;&#123;[[:Template:Commons category-inline|Commons category-inline]]&#125;&#125;</th><th style="width:33%">&#123;&#123;[[:Template:Commons and category-inline|Commons and category-inline]]&#125;&#125;</th></tr><tr style="vertical-align:top"><td>

[[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] at Wikimedia Commons</td><td> [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[commons:Category:Lorem ipsum|<span style=" ">Lorem ipsum</span>]] at Wikimedia Commons</td><td> [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] ([[Commons:Category:Lorem ipsum|category]]) at Wikimedia Commons</td></tr></table>

<table><caption>&nbsp;</caption><tr><th style="width:33%">&#123;&#123;[[:Template:Commons-inline|Commons-inline]]&#125;&#125;</th><th style="width:33%">&#123;&#123;[[:Template:Commons category-inline|Commons category-inline]]&#125;&#125;</th><th style="width:33%">&#123;&#123;[[:Template:Commons and category-inline|Commons and category-inline]]&#125;&#125;</th></tr><tr style="vertical-align:top"><td>

[[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] at Wikimedia Commons</td><td> [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[commons:Category:Lorem ipsum|<span style=" ">Lorem ipsum</span>]] at Wikimedia Commons</td><td> [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] ([[Commons:Category:Lorem ipsum|category]]) at Wikimedia Commons</td></tr></table>

test04_showcaption
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_format=columns |_showcaption=no |_template1=Commons-inline |_template2=Commons category-inline |_template3=Commons and category-inline |Lorem ipsum|Lorem ipsum}}
{{Commons-inline}}{{Commons category-inline}}{{Commons and category-inline}}
Media related to Lorem ipsum at Wikimedia Commons Media related to Lorem ipsum at Wikimedia Commons Media related to Lorem ipsum (category) at Wikimedia Commons
{{Commons-inline}}{{Commons category-inline}}{{Commons and category-inline}}
Media related to Lorem ipsum at Wikimedia Commons Media related to Lorem ipsum at Wikimedia Commons Media related to Lorem ipsum (category) at Wikimedia Commons
test04_showcaption_nowiki
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_format=columns |_showcaption=no |_template1=Commons-inline |_template2=Commons category-inline |_template3=Commons and category-inline |Lorem ipsum|Lorem ipsum}} <table><tr><th style="width:33%">&#123;&#123;[[:Template:Commons-inline|Commons-inline]]&#125;&#125;</th><th style="width:33%">&#123;&#123;[[:Template:Commons category-inline|Commons category-inline]]&#125;&#125;</th><th style="width:33%">&#123;&#123;[[:Template:Commons and category-inline|Commons and category-inline]]&#125;&#125;</th></tr><tr style="vertical-align:top"><td>

[[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] at Wikimedia Commons</td><td> [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[commons:Category:Lorem ipsum|<span style=" ">Lorem ipsum</span>]] at Wikimedia Commons</td><td> [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] ([[Commons:Category:Lorem ipsum|category]]) at Wikimedia Commons</td></tr></table>

<table><tr><th style="width:33%">&#123;&#123;[[:Template:Commons-inline|Commons-inline]]&#125;&#125;</th><th style="width:33%">&#123;&#123;[[:Template:Commons category-inline|Commons category-inline]]&#125;&#125;</th><th style="width:33%">&#123;&#123;[[:Template:Commons and category-inline|Commons and category-inline]]&#125;&#125;</th></tr><tr style="vertical-align:top"><td>

[[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] at Wikimedia Commons</td><td> [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[commons:Category:Lorem ipsum|<span style=" ">Lorem ipsum</span>]] at Wikimedia Commons</td><td> [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] ([[Commons:Category:Lorem ipsum|category]]) at Wikimedia Commons</td></tr></table>

test05_addline
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_format=inline |_showcode=yes |_template1=Height |m=1.51 |_addline=Output of Convert template: {{Cvt|1.51|m|frac=2}} }}
  • {{Height|m=1.51}} → 1.51 m (4 ft 11 12 in)
  • {{Height/sandbox|m=1.51}} → 1.51 m (4 ft 11 12 in)
  • Output of Convert template: 1.51 m (4 ft 11 12 in)
  • {{Height|m=1.51}} → 1.51 m (4 ft 11 12 in)
  • {{Height/sandbox|m=1.51}} → 1.51 m (4 ft 11 12 in)
  • Output of Convert template: 1.51 m (4 ft 11 12 in)
test05_addline_nowiki
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_format=inline |_showcode=yes |_template1=Height |m=1.51 |_addline=Output of Convert template: {{Cvt|1.51|m|frac=2}} }} * <code>&#123;&#123;Height&#124;m&#61;1.51&#125;&#125;</code> → 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in)

* <code>&#123;&#123;Height/sandbox&#124;m&#61;1.51&#125;&#125;</code> → 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) * Output of Convert template: 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in)

* <code>&#123;&#123;Height&#124;m&#61;1.51&#125;&#125;</code> → 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in)

* <code>&#123;&#123;Height/sandbox&#124;m&#61;1.51&#125;&#125;</code> → 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) * Output of Convert template: 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in)

test06_output
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_output=nowiki |_format=inline |_showcode=yes |_template1=Height |m=1.51}}
  • {{Height|m=1.51}} → 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in)
  • {{Height/sandbox|m=1.51}} → 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in)
  • {{Height|m=1.51}} → 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in)
  • {{Height/sandbox|m=1.51}} → 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in)
test07_output
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_output=nowiki+ |_format=inline |_showcode=yes |_template1=Height |m=1.51}}
  • {{Height|m=1.51}} → 1.51 m (4 ft 11 12 in)
    1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in)
  • {{Height/sandbox|m=1.51}} → 1.51 m (4 ft 11 12 in)
    1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in)
  • {{Height|m=1.51}} → 1.51 m (4 ft 11 12 in)
    1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in)
  • {{Height/sandbox|m=1.51}} → 1.51 m (4 ft 11 12 in)
    1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in)
test08_prefix
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_format=inline |_prefix=# |_showcode=yes |_template1=Height |m=1.51}}
  1. {{Height|m=1.51}} → 1.51 m (4 ft 11 12 in)
  2. {{Height/sandbox|m=1.51}} → 1.51 m (4 ft 11 12 in)
  1. {{Height|m=1.51}} → 1.51 m (4 ft 11 12 in)
  2. {{Height/sandbox|m=1.51}} → 1.51 m (4 ft 11 12 in)
test09_prefix
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_format=inline |_prefix=: |_template1=Height |m=1.51}}
1.51 m (4 ft 11 12 in)
1.51 m (4 ft 11 12 in)
1.51 m (4 ft 11 12 in)
1.51 m (4 ft 11 12 in)
test10_collapsible
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_collapsible=yes |_showcode=yes |_template=Height |m=1.51}}
{{Height}}
{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11 12 in)

{{Height/sandbox}}

1.51 m (4 ft 11 12 in)

{{Height}}
{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11 12 in)

{{Height/sandbox}}

1.51 m (4 ft 11 12 in)

test10_collapsible_nowiki
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_collapsible=yes |_showcode=yes |_template=Height |m=1.51}} <table class="mw-collapsible mw-collapsed" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:lightgreen">&#123;&#123;[[:Template:Height|Height]]&#125;&#125;</th></tr><tr><td>

'"`UNIQ--pre-00000001-QINU`"' <div style="clear: both;"></div> &#123;&#123;[[:Template:Height|Height]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) <div style="clear: both;"></div> &#123;&#123;[[:Template:Height/sandbox|Height/sandbox]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) </td></tr></table>

<table class="mw-collapsible mw-collapsed" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:lightgreen">&#123;&#123;[[:Template:Height|Height]]&#125;&#125;</th></tr><tr><td>

'"`UNIQ--pre-00000001-QINU`"' <div style="clear: both;"></div> &#123;&#123;[[:Template:Height|Height]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) <div style="clear: both;"></div> &#123;&#123;[[:Template:Height/sandbox|Height/sandbox]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) </td></tr></table>

test11_collapsible_title
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_collapsible=yes |_showcode=yes |_title=Testing height template |_template=Height |m=1.51}}
Testing height template
{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11 12 in)

{{Height/sandbox}}

1.51 m (4 ft 11 12 in)

Testing height template
{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11 12 in)

{{Height/sandbox}}

1.51 m (4 ft 11 12 in)

test11_collapsible_title_nowiki
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_collapsible=yes |_showcode=yes |_title=Testing height template |_template=Height |m=1.51}} <table class="mw-collapsible mw-collapsed" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:lightgreen">Testing height template</th></tr><tr><td>

'"`UNIQ--pre-00000003-QINU`"' <div style="clear: both;"></div> &#123;&#123;[[:Template:Height|Height]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) <div style="clear: both;"></div> &#123;&#123;[[:Template:Height/sandbox|Height/sandbox]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) </td></tr></table>

<table class="mw-collapsible mw-collapsed" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:lightgreen">Testing height template</th></tr><tr><td>

'"`UNIQ--pre-00000003-QINU`"' <div style="clear: both;"></div> &#123;&#123;[[:Template:Height|Height]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) <div style="clear: both;"></div> &#123;&#123;[[:Template:Height/sandbox|Height/sandbox]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) </td></tr></table>

test12_collapsible_titlecode
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_collapsible=yes |_titlecode=yes |_template=Height |m=1.51}}
{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11 12 in)

{{Height/sandbox}}

1.51 m (4 ft 11 12 in)

{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11 12 in)

{{Height/sandbox}}

1.51 m (4 ft 11 12 in)

test12_collapsible_titlecode_nowiki
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_collapsible=yes |_titlecode=yes |_template=Height |m=1.51}} <table class="mw-collapsible mw-collapsed" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:lightgreen"><kbd>&#123;&#123;Height&#124;m&#61;1.51&#125;&#125;</kbd></th></tr><tr><td>

<div style="clear: both;"></div> &#123;&#123;[[:Template:Height|Height]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) <div style="clear: both;"></div> &#123;&#123;[[:Template:Height/sandbox|Height/sandbox]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) </td></tr></table>

<table class="mw-collapsible mw-collapsed" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:lightgreen"><kbd>&#123;&#123;Height&#124;m&#61;1.51&#125;&#125;</kbd></th></tr><tr><td>

<div style="clear: both;"></div> &#123;&#123;[[:Template:Height|Height]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) <div style="clear: both;"></div> &#123;&#123;[[:Template:Height/sandbox|Height/sandbox]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) </td></tr></table>

test13_wantdiff
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_collapsible=yes |_wantdiff=yes |_showcode=yes |_template=Height |m=1.51}}
{{Height}}
{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11 12 in)

{{Height/sandbox}}

1.51 m (4 ft 11 12 in)

{{Height}}
{{Height|m=1.51}}

{{Height}}

1.51 m (4 ft 11 12 in)

{{Height/sandbox}}

1.51 m (4 ft 11 12 in)

test13_wantdiff_2
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_collapsible=yes |_wantdiff=yes |_showcode=yes |_template1=Commons-inline |_template2=Commons category-inline |Lorem ipsum|Lorem ipsum}} <table class="mw-collapsible" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:#90a8ee">&#123;&#123;[[:Template:Commons-inline|Commons-inline]]&#125;&#125;</th></tr><tr><td>

'"`UNIQ--pre-00000007-QINU`"' <div style="clear: both;"></div> &#123;&#123;[[:Template:Commons-inline|Commons-inline]]&#125;&#125; [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] at Wikimedia Commons <div style="clear: both;"></div> &#123;&#123;[[:Template:Commons category-inline|Commons category-inline]]&#125;&#125; [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[commons:Category:Lorem ipsum|<span style=" ">Lorem ipsum</span>]] at Wikimedia Commons </td></tr></table>

<table class="mw-collapsible" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:#90a8ee">&#123;&#123;[[:Template:Commons-inline|Commons-inline]]&#125;&#125;</th></tr><tr><td>

'"`UNIQ--pre-00000007-QINU`"' <div style="clear: both;"></div> &#123;&#123;[[:Template:Commons-inline|Commons-inline]]&#125;&#125; [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] at Wikimedia Commons <div style="clear: both;"></div> &#123;&#123;[[:Template:Commons category-inline|Commons category-inline]]&#125;&#125; [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[commons:Category:Lorem ipsum|<span style=" ">Lorem ipsum</span>]] at Wikimedia Commons </td></tr></table>

test13_wantdiff_2_wiki
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_collapsible=yes |_wantdiff=yes |_showcode=yes |_template1=Commons-inline |_template2=Commons category-inline |Lorem ipsum|Lorem ipsum}}
{{Commons-inline}}
{{Commons-inline|Lorem ipsum|Lorem ipsum}}

{{Commons-inline}}

Media related to Lorem ipsum at Wikimedia Commons

{{Commons category-inline}}

Media related to Lorem ipsum at Wikimedia Commons

{{Commons-inline}}
{{Commons-inline|Lorem ipsum|Lorem ipsum}}

{{Commons-inline}}

Media related to Lorem ipsum at Wikimedia Commons

{{Commons category-inline}}

Media related to Lorem ipsum at Wikimedia Commons

test13_wantdiff_3
Text Expected Actual
☒N {{#invoke:Template test case/sandbox |main |_collapsible=yes |_wantdiff=yes |_showcode=yes |_template=Height |m=1.51}}
{{Commons-inline}}
{{Commons-inline|Lorem ipsum|Lorem ipsum}}

{{Commons-inline}}

Media related to Lorem ipsum at Wikimedia Commons

{{Commons category-inline}}

Media related to Lorem ipsum at Wikimedia Commons

{{Height}}
{{Commons-inline|Lorem ipsum|Lorem ipsum}}

{{Height}}

1.51 m (4 ft 11 12 in)

{{Height/sandbox}}

1.51 m (4 ft 11 12 in)

test13_wantdiff_3_nowiki
Text Expected Actual
☒N {{#invoke:Template test case/sandbox |main |_collapsible=yes |_wantdiff=yes |_showcode=yes |_template=Height |m=1.51}} <table class="mw-collapsible" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:#90a8ee">&#123;&#123;[[:Template:Commons-inline|Commons-inline]]&#125;&#125;</th></tr><tr><td>

'"`UNIQ--pre-00000007-QINU`"' <div style="clear: both;"></div> &#123;&#123;[[:Template:Commons-inline|Commons-inline]]&#125;&#125; [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[Commons:Lorem ipsum|Lorem ipsum]] at Wikimedia Commons <div style="clear: both;"></div> &#123;&#123;[[:Template:Commons category-inline|Commons category-inline]]&#125;&#125; [[File:Commons-logo.svg|16x16px|class=noviewer|alt=]] Media related to [[commons:Category:Lorem ipsum|<span style=" ">Lorem ipsum</span>]] at Wikimedia Commons </td></tr></table>

<table class="mw-collapsible" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:yellow">&#123;&#123;[[:Template:Height|Height]]&#125;&#125;</th></tr><tr><td>

'"`UNIQ--pre-00000007-QINU`"' <div style="clear: both;"></div> &#123;&#123;[[:Template:Height|Height]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) <div style="clear: both;"></div> &#123;&#123;[[:Template:Height/sandbox|Height/sandbox]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) </td></tr></table>

test13_wantdiff_nowiki
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_collapsible=yes |_wantdiff=yes |_showcode=yes |_template=Height |m=1.51}} <table class="mw-collapsible" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:yellow">&#123;&#123;[[:Template:Height|Height]]&#125;&#125;</th></tr><tr><td>

'"`UNIQ--pre-00000005-QINU`"' <div style="clear: both;"></div> &#123;&#123;[[:Template:Height|Height]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) <div style="clear: both;"></div> &#123;&#123;[[:Template:Height/sandbox|Height/sandbox]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) </td></tr></table>

<table class="mw-collapsible" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:yellow">&#123;&#123;[[:Template:Height|Height]]&#125;&#125;</th></tr><tr><td>

'"`UNIQ--pre-00000005-QINU`"' <div style="clear: both;"></div> &#123;&#123;[[:Template:Height|Height]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) <div style="clear: both;"></div> &#123;&#123;[[:Template:Height/sandbox|Height/sandbox]]&#125;&#125; 1.51&nbsp;m (4&nbsp;ft <span class="frac nowrap">11<span class="visualhide">&nbsp;</span><sup>1</sup>&frasl;<sub>2</sub></span>&nbsp;in) </td></tr></table>

test14_equals_sign_parameter
Text Expected Actual
checkY {{#invoke:Template test case/sandbox |main |_collapsible=yes |_wantdiff=yes |_showcode=yes |_template=3x |{{=}}|name=value}} <table class="mw-collapsible" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:yellow">&#123;&#123;[[:Template:3x|3x]]&#125;&#125;</th></tr><tr><td>

'"`UNIQ--pre-00000009-QINU`"' <div style="clear: both;"></div> &#123;&#123;[[:Template:3x|3x]]&#125;&#125; === <div style="clear: both;"></div> &#123;&#123;[[:Template:3x/sandbox|3x/sandbox]]&#125;&#125; === </td></tr></table>

<table class="mw-collapsible" style="background-color:transparent;width:100%;border:solid silver 1px"><tr><th style="background-color:yellow">&#123;&#123;[[:Template:3x|3x]]&#125;&#125;</th></tr><tr><td>

'"`UNIQ--pre-00000009-QINU`"' <div style="clear: both;"></div> &#123;&#123;[[:Template:3x|3x]]&#125;&#125; === <div style="clear: both;"></div> &#123;&#123;[[:Template:3x/sandbox|3x/sandbox]]&#125;&#125; === </td></tr></table>

Return to "Template test case/testcases" page.