Difference between revisions of "Template:Collapsible test case/testcases"
imported>Zyxw (add tests, misc formatting) |
imported>Zyxw (add/update tests) |
||
| Line 8: | Line 8: | ||
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
{{{{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 _showheader=no == | == Default format with _showheader=no == | ||
| Line 33: | Line 25: | ||
; 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 |_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}} | ||
| + | |||
| + | == Default format with _output=nowiki == | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | == Default format with _output=nowiki+ == | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}} | ||
== Columns format == | == Columns format == | ||
| Line 42: | Line 56: | ||
{{{{BASEPAGENAME}}/sandbox |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}}/sandbox |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| − | == Columns format with | + | == Columns format with _showcaption=no == |
| − | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=columns | | + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=columns |_showcaption=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}} |_format=columns | | + | {{{{BASEPAGENAME}} |_format=columns |_showcaption=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 |_format=columns | | + | {{{{BASEPAGENAME}}/sandbox |_format=columns |_showcaption=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} |
== Columns format with _showheader=no == | == Columns format with _showheader=no == | ||
| Line 65: | Line 79: | ||
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
{{{{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}} | {{{{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}} | ||
| + | |||
| + | == Columns format with _output=nowiki == | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=columns |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=columns |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=columns |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | == Columns format with _output=nowiki+ == | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=columns |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=columns |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=columns |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=columns |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=columns |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=columns |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}} | ||
== Rows format == | == Rows format == | ||
| Line 73: | Line 109: | ||
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
{{{{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 _showheader=no == | == Rows format with _showheader=no == | ||
| Line 98: | Line 126: | ||
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
{{{{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}} | ||
| + | |||
| + | == Rows format with _output=nowiki == | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=rows |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=rows |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=rows |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | == Rows format with _output=nowiki+ == | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=rows |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=rows |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=rows |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=rows |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=rows |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=rows |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}} | ||
== Tablerows format == | == Tablerows format == | ||
| Line 106: | Line 156: | ||
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; 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}} | {{{{BASEPAGENAME}}/sandbox |_format=tablerows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== Tablerows format with _showheader=no == | == Tablerows format with _showheader=no == | ||
| Line 132: | Line 174: | ||
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; 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}} | {{{{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}} | ||
| + | |||
| + | == Tablerows format with _output=nowiki == | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=tablerows |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=tablerows |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=tablerows |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | == Tablerows format with _output=nowiki+ == | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=tablerows |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=tablerows |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=tablerows |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=tablerows |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=tablerows |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=tablerows |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}} | ||
== Inline format == | == Inline format == | ||
| − | The default title of the collapsible box is the name of _template1 | + | The default title of the collapsible box is the name of _template1. |
| − | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=inline | + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=inline |_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=inline | + | {{{{BASEPAGENAME}} |_format=inline |_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=inline | + | {{{{BASEPAGENAME}}/sandbox |_format=inline |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} |
| − | == Inline format with | + | == 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). | ||
| − | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=inline | + | <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=inline | + | {{{{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=inline | + | {{{{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 _heading1 == | == Inline format with _heading1 == | ||
| Line 176: | Line 241: | ||
; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
{{{{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}} }} | {{{{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}} }} | ||
| + | |||
| + | == Inline format with _output=nowiki == | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=inline |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=inline |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=inline |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | == Inline format with _output=nowiki+ == | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=inline |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=inline |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=inline |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}} | ||
| + | |||
| + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=inline |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}</nowiki></kbd> | ||
| + | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
| + | {{{{BASEPAGENAME}} |_format=inline |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}} | ||
| + | ; Sandbox template <nowiki>{{</nowiki>{{BASEPAGENAME}}/sandbox}} | ||
| + | {{{{BASEPAGENAME}}/sandbox |_format=inline |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}} | ||
== 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 10:27, 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 _showheader=no
- 3 Default format with _title and custom headings
- 4 Default format with _output=nowiki
- 5 Default format with _output=nowiki+
- 6 Columns format
- 7 Columns format with _showcaption=no
- 8 Columns format with _showheader=no
- 9 Columns format with _title and custom headings
- 10 Columns format with _output=nowiki
- 11 Columns format with _output=nowiki+
- 12 Rows format
- 13 Rows format with _showheader=no
- 14 Rows format with _title and custom headings
- 15 Rows format with _output=nowiki
- 16 Rows format with _output=nowiki+
- 17 Tablerows format
- 18 Tablerows format with _showheader=no
- 19 Tablerows format with _title and custom headings
- 20 Tablerows format with _output=nowiki
- 21 Tablerows format with _output=nowiki+
- 22 Inline format
- 23 Inline format with _showcode=yes
- 24 Inline format with _heading1
- 25 Inline format with _title
- 26 Inline format with _addline
- 27 Inline format with _output=nowiki
- 28 Inline format with _output=nowiki+
- 29 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 _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 |
Default format with _output=nowiki
{{Collapsible test case |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{ombox}} |
|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
{{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}}
| {{ombox}} |
|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
{{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 _output=nowiki+
{{Collapsible test case |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{ombox}} | ||
|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
{{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}} Error: expandTemplate: template "ombox/sandbox" does not exist<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong> |
- Sandbox template {{Collapsible test case/sandbox}}
| {{ombox}} | ||
|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
{{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}} Error: expandTemplate: template "ombox/sandbox" does not exist<strong class="error">Error: expandTemplate: template "ombox/sandbox" does not exist</strong> |
{{Collapsible test case |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}
- Main template {{Collapsible test case}}
| {{Height}} |
|---|
{{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}} 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) |
- Sandbox template {{Collapsible test case/sandbox}}
| {{Height}} |
|---|
{{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}} 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) |
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 _showcaption=no
{{Collapsible test case |_format=columns |_showcaption=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 _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}}
|
Columns format with _output=nowiki
{{Collapsible test case |_format=columns |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{ombox}} | ||||
|---|---|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{ombox}} | ||||
|---|---|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
|
Columns format with _output=nowiki+
{{Collapsible test case |_format=columns |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{ombox}} | ||||||
|---|---|---|---|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{ombox}} | ||||||
|---|---|---|---|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
|
{{Collapsible test case |_format=columns |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}
- Main template {{Collapsible test case}}
| {{Height}} | ||||
|---|---|---|---|---|
{{Height|m=1.51}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{Height}} | ||||
|---|---|---|---|---|
{{Height|m=1.51}}
|
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 _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}}
|
Rows format with _output=nowiki
{{Collapsible test case |_format=rows |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{ombox}} | ||||
|---|---|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{ombox}} | ||||
|---|---|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
|
Rows format with _output=nowiki+
{{Collapsible test case |_format=rows |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{ombox}} | ||||||
|---|---|---|---|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{ombox}} | ||||||
|---|---|---|---|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
|
{{Collapsible test case |_format=rows |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}
- Main template {{Collapsible test case}}
| {{Height}} | ||||
|---|---|---|---|---|
{{Height|m=1.51}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{Height}} | ||||
|---|---|---|---|---|
{{Height|m=1.51}}
|
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 _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}}
|
Tablerows format with _output=nowiki
{{Collapsible test case |_format=tablerows |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{ombox}} | ||||||
|---|---|---|---|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{ombox}} | ||||||
|---|---|---|---|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
|
Tablerows format with _output=nowiki+
{{Collapsible test case |_format=tablerows |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{ombox}} | ||||||||
|---|---|---|---|---|---|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{ombox}} | ||||||||
|---|---|---|---|---|---|---|---|---|
{{ombox|text=Lorem ipsum dolor sit amet}}
|
{{Collapsible test case |_format=tablerows |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}
- Main template {{Collapsible test case}}
| {{Height}} | ||||||
|---|---|---|---|---|---|---|
{{Height|m=1.51}}
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{Height}} | ||||||
|---|---|---|---|---|---|---|
{{Height|m=1.51}}
|
Inline format
The default title of the collapsible box is the name of _template1.
{{Collapsible test case |_format=inline |_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 _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).
{{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 _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}} |
|---|
|
Inline format with _output=nowiki
{{Collapsible test case |_format=inline |_output=nowiki |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{ombox}} |
|---|
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{ombox}} |
|---|
|
Inline format with _output=nowiki+
{{Collapsible test case |_format=inline |_output=nowiki+ |_showcode=yes |_template=ombox |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| {{ombox}} | ||
|---|---|---|
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{ombox}} | ||
|---|---|---|
|
{{Collapsible test case |_format=inline |_output=nowiki+ |_showcode=yes |_template=Height |m=1.51}}
- Main template {{Collapsible test case}}
| {{Height}} |
|---|
|
- Sandbox template {{Collapsible test case/sandbox}}
| {{Height}} |
|---|
|