Difference between revisions of "Template:Collapsible test case/testcases"
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
imported>Zyxw (add tests, misc formatting) |
||
| Line 1: | Line 1: | ||
{{Testcases notice <!--|toc=on-->}} | {{Testcases notice <!--|toc=on-->}} | ||
| − | == Default format | + | == Default format == |
<kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| Line 9: | Line 9: | ||
{{{{BASEPAGENAME}}/sandbox |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}}/sandbox |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| − | == Default format with | + | == Default format with _output=nowiki == |
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | == Default format with _showheader=no == | ||
<kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| Line 17: | Line 25: | ||
{{{{BASEPAGENAME}}/sandbox |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}}/sandbox |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| − | == Default format with custom | + | == Default format with _title and custom headings == |
| + | The following parameter values are not displayed: _caption, _rowheader, _heading0, _before, _after. | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | == Columns format == | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | == Columns format with _output=nowiki == | ||
| − | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox | + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=columns |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> |
; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| − | {{{{BASEPAGENAME}} |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox | + | {{{{BASEPAGENAME}} |_format=columns |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} |
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| − | {{{{BASEPAGENAME}}/sandbox |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox | + | {{{{BASEPAGENAME}}/sandbox |_format=columns |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} |
| − | == | + | == Columns format with _showheader=no == |
| − | |||
| − | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox | + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=columns |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> |
; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| − | {{{{BASEPAGENAME}} |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox | + | {{{{BASEPAGENAME}} |_format=columns |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} |
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| − | {{{{BASEPAGENAME}}/sandbox |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox | + | {{{{BASEPAGENAME}}/sandbox |_format=columns |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} |
| − | == | + | == Columns format with _title and custom headings == |
| − | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=<div style="border: 1px solid grey">''_before'' |_after=''_after''</div> |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> |
; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| − | {{{{BASEPAGENAME}} |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} | + | {{{{BASEPAGENAME}} |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=<div style="border: 1px solid grey">''_before'' |_after=''_after''</div> |text=Lorem ipsum dolor sit amet}} |
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| − | {{{{BASEPAGENAME}}/sandbox |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} | + | {{{{BASEPAGENAME}}/sandbox |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=<div style="border: 1px solid grey">''_before'' |_after=''_after''</div> |text=Lorem ipsum dolor sit amet}} |
| − | == Rows format | + | == Rows format == |
<kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| Line 50: | Line 74: | ||
{{{{BASEPAGENAME}}/sandbox |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}}/sandbox |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| − | == Rows format with | + | == Rows format with _output=nowiki == |
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=rows |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=rows |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=rows |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | == Rows format with _showheader=no == | ||
<kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=rows |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=rows |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| Line 58: | Line 90: | ||
{{{{BASEPAGENAME}}/sandbox |_format=rows |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}}/sandbox |_format=rows |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| − | == Rows format with custom | + | == Rows format with _title and custom headings == |
| − | + | The following parameter values are not displayed: _rowheader, _heading0, _before, _after. | |
<kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| Line 67: | Line 99: | ||
{{{{BASEPAGENAME}}/sandbox |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}}/sandbox |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} | ||
| − | == | + | == Tablerows format == |
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=tablerows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=tablerows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=tablerows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | == Tablerows format with _output=nowiki == | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=tablerows |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=tablerows |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=tablerows |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | == Tablerows format with _showheader=no == | ||
| + | The output here is the same as in rows format with _showheader=no. | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=tablerows |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=tablerows |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=tablerows |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | == Tablerows format with _title and custom headings == | ||
| + | The following parameter values are not displayed: _rowheader, _heading0, _before, _after. | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=tablerows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=tablerows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=tablerows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} | ||
| − | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format= | + | == Inline format == |
| + | The default title of the collapsible box is the name of _template1. The inline format does not currently display headings (default or custom) for each template inside the box (if _heading1 is defined that will be used as the title, see next test case). The names of _template1/2/3 are shown in the code (when _showcode=yes), unlike the default, rows, or table formats where only the name of _template1 is shown in the code. | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1= |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| − | {{{{BASEPAGENAME}} |_format= | + | {{{{BASEPAGENAME}} |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1= |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} |
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| − | {{{{BASEPAGENAME}}/sandbox |_format= | + | {{{{BASEPAGENAME}}/sandbox |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1= |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} |
| − | == | + | == Inline format with _output=nowiki == |
| − | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format= | + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=inline |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> |
; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| − | {{{{BASEPAGENAME}} |_format= | + | {{{{BASEPAGENAME}} |_format=inline |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} |
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| − | {{{{BASEPAGENAME}}/sandbox |_format= | + | {{{{BASEPAGENAME}}/sandbox |_format=inline |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} |
| − | == | + | == Inline format with _heading1 == |
| + | If _heading1 is defined, that will be used in place of the default title. | ||
| − | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format= | + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_heading1=''_heading1'' |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> |
; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| − | {{{{BASEPAGENAME}} |_format= | + | {{{{BASEPAGENAME}} |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_heading1=''_heading1'' |text=Lorem ipsum dolor sit amet}} |
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| − | {{{{BASEPAGENAME}}/sandbox |_format= | + | {{{{BASEPAGENAME}}/sandbox |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_heading1=''_heading1'' |text=Lorem ipsum dolor sit amet}} |
| − | == Inline format with | + | == Inline format with _title == |
| − | + | A custom title for the collapsible box can be assigned via _title. As shown, this overrides _heading1. | |
| − | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox | | + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_heading1=''heading1'' |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> |
; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| − | {{{{BASEPAGENAME}} |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox | | + | {{{{BASEPAGENAME}} |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_heading1=''heading1'' |text=Lorem ipsum dolor sit amet}} |
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| − | {{{{BASEPAGENAME}}/sandbox |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox | | + | {{{{BASEPAGENAME}}/sandbox |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_heading1=''heading1'' |text=Lorem ipsum dolor sit amet}} |
| − | == Inline format with | + | == Inline format with _addline == |
| − | + | The contents of the _addline parameter will be displayed next to an additional bullet at the end of the list. | |
| − | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=inline |_showcode=yes |_template1= | + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_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}} }}</nowiki></kbd> |
; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| − | {{{{BASEPAGENAME}} |_format=inline |_showcode=yes |_template1= | + | {{{{BASEPAGENAME}} |_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}} }} |
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| − | {{{{BASEPAGENAME}}/sandbox |_format=inline |_showcode=yes |_template1= | + | {{{{BASEPAGENAME}}/sandbox |_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}} }} |
== See also == | == See also == | ||
* [[Template:Test case/testcases]] | * [[Template:Test case/testcases]] | ||
* [[Template:Test case nowiki/testcases]] | * [[Template:Test case nowiki/testcases]] | ||
Revision as of 06:51, 10 August 2018
| 42px | This is the template test cases page for the sandbox of Template:Collapsible test case. Script error: No such module "Purge". 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: |
Contents
- 1 Default format
- 2 Default format with _output=nowiki
- 3 Default format with _showheader=no
- 4 Default format with _title and custom headings
- 5 Columns format
- 6 Columns format with _output=nowiki
- 7 Columns format with _showheader=no
- 8 Columns format with _title and custom headings
- 9 Rows format
- 10 Rows format with _output=nowiki
- 11 Rows format with _showheader=no
- 12 Rows format with _title and custom headings
- 13 Tablerows format
- 14 Tablerows format with _output=nowiki
- 15 Tablerows format with _showheader=no
- 16 Tablerows format with _title and custom headings
- 17 Inline format
- 18 Inline format with _output=nowiki
- 19 Inline format with _heading1
- 20 Inline format with _title
- 21 Inline format with _addline
- 22 See also
Default format
{{Collapsible test case |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} | ||||
|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}
{{ombox}}
{{ombox/sandbox}} Error: expandTemplate: template "ombox/sandbox" does not exist |
- Sandbox template {{Collapsible test case/sandbox}}
| {{tmbox}} | ||||
|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}
{{ombox}}
{{ombox/sandbox}} Error: expandTemplate: template "ombox/sandbox" does not exist |
Default format with _output=nowiki
{{Collapsible test case |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} |
|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}} <table class="plainlinks plainlinks tmbox tmbox-notice" role="presentation"><tr><td class="mbox-image">[[File:OOjs UI icon information-progressive.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table> {{ombox}} <table class="plainlinks plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:OOjs UI icon information-progressive.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 {{Collapsible test case/sandbox}}
| {{tmbox}} |
|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}} <table class="plainlinks plainlinks tmbox tmbox-notice" role="presentation"><tr><td class="mbox-image">[[File:OOjs UI icon information-progressive.svg|40x40px|link=|alt=]]</td><td class="mbox-text">Lorem ipsum dolor sit amet</td></tr></table> {{ombox}} <table class="plainlinks plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:OOjs UI icon information-progressive.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 _showheader=no
{{Collapsible test case |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} | ||||
|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
Error: expandTemplate: template "ombox/sandbox" does not exist |
- Sandbox template {{Collapsible test case/sandbox}}
| {{tmbox}} | ||||
|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
Error: expandTemplate: template "ombox/sandbox" does not exist |
Default format with _title and custom headings
The following parameter values are not displayed: _caption, _rowheader, _heading0, _before, _after.
{{Collapsible test case |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| _title | ||||
|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
_heading1
_heading2
_heading3 Error: expandTemplate: template "ombox/sandbox" does not exist |
- Sandbox template {{Collapsible test case/sandbox}}
| _title | ||||
|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
_heading1
_heading2
_heading3 Error: expandTemplate: template "ombox/sandbox" does not exist |
Columns format
{{Collapsible test case |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{tmbox}} | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
Columns format with _output=nowiki
{{Collapsible test case |_format=columns |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} | ||||||
|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{tmbox}} | ||||||
|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
Columns format with _showheader=no
{{Collapsible test case |_format=columns |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} | |||||||
|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{tmbox}} | |||||||
|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
Columns format with _title and custom headings
{{Collapsible test case |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=<div style="border: 1px solid grey">''_before'' |_after=''_after''</div> |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| _title | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| _title | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
Rows format
{{Collapsible test case |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{tmbox}} | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
Rows format with _output=nowiki
{{Collapsible test case |_format=rows |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} | ||||||
|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{tmbox}} | ||||||
|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
Rows format with _showheader=no
{{Collapsible test case |_format=rows |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} | |||||||
|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{tmbox}} | |||||||
|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
Rows format with _title and custom headings
The following parameter values are not displayed: _rowheader, _heading0, _before, _after.
{{Collapsible test case |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| _title | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| _title | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
Tablerows format
{{Collapsible test case |_format=tablerows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{tmbox}} | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
Tablerows format with _output=nowiki
{{Collapsible test case |_format=tablerows |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} | |||||||||
|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{tmbox}} | |||||||||
|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
Tablerows format with _showheader=no
The output here is the same as in rows format with _showheader=no.
{{Collapsible test case |_format=tablerows |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} | |||||||
|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{tmbox}} | |||||||
|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
Tablerows format with _title and custom headings
The following parameter values are not displayed: _rowheader, _heading0, _before, _after.
{{Collapsible test case |_format=tablerows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| _title | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| _title | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
|
Inline format
The default title of the collapsible box is the name of _template1. The inline format does not currently display headings (default or custom) for each template inside the box (if _heading1 is defined that will be used as the title, see next test case). The names of _template1/2/3 are shown in the code (when _showcode=yes), unlike the default, rows, or table formats where only the name of _template1 is shown in the code.
{{Collapsible test case |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1= |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} |
|---|
- Sandbox template {{Collapsible test case/sandbox}}
| {{tmbox}} |
|---|
Inline format with _output=nowiki
{{Collapsible test case |_format=inline |_output=nowiki |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{tmbox}} |
|---|
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{tmbox}} |
|---|
|
Inline format with _heading1
If _heading1 is defined, that will be used in place of the default title.
{{Collapsible test case |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_heading1=''_heading1'' |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| _heading1 |
|---|
- Sandbox template {{Collapsible test case/sandbox}}
| _heading1 |
|---|
Inline format with _title
A custom title for the collapsible box can be assigned via _title. As shown, this overrides _heading1.
{{Collapsible test case |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |_heading1=''heading1'' |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| _title |
|---|
- Sandbox template {{Collapsible test case/sandbox}}
| _title |
|---|
Inline format with _addline
The contents of the _addline parameter will be displayed next to an additional bullet at the end of the list.
{{Collapsible test case |_format=inline |_showcode=yes |_template1=Height |m=1.51 |_addline=<code><nowiki>{{Cvt|1.51|m|frac=2}}</nowiki></code> → {{Cvt|1.51|m|frac=2}} }}
- Main template {{Collapsible test case}}
| {{Height}} |
|---|
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{Height}} |
|---|
|