Difference between revisions of "Template:Collapsible test case/testcases"
imported>Zyxw (add tests with _showheader=no) |
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) |
||
| Line 3: | Line 3: | ||
== Default format with default title and headings == | == Default format with default title and headings == | ||
| − | < | + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<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 |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}} |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| Line 11: | Line 11: | ||
== Default format with default title and _showheader=no == | == Default format with default title and _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> |
; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
{{{{BASEPAGENAME}} |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}} |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| Line 19: | Line 19: | ||
== Default format with custom title and default headings == | == Default format with custom title and default headings == | ||
| − | < | + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |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'' |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}} |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |text=Lorem ipsum dolor sit amet}} | ||
| Line 28: | Line 28: | ||
Note: In default format, the following parameter values are not displayed: _caption, _rowheader, _heading0, _before, _after | Note: In default format, 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 |_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}}}} | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
{{{{BASEPAGENAME}} |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}} |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} | ||
| Line 36: | Line 36: | ||
== Default format with custom title and headings == | == Default format with custom title and 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> |
; 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}} |_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}} | ||
| Line 44: | Line 44: | ||
== Rows format with default title and headings == | == Rows format with default title and headings == | ||
| − | < | + | <kbd><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |_format=rows |_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=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}} |_format=rows |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| Line 52: | Line 52: | ||
== Rows format with default title and _showheader=no == | == Rows format with default title and _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> |
; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
{{{{BASEPAGENAME}} |_format=rows |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}} |_format=rows |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| Line 61: | Line 61: | ||
Note: In rows format, the following parameter values are not displayed: _rowheader, _heading0, _before, _after | Note: In rows format, 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> |
; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
{{{{BASEPAGENAME}} |_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}} |_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}} | ||
| Line 69: | Line 69: | ||
== Columns format with default title and headings == | == Columns format with default title and headings == | ||
| − | < | + | <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}}}} | ; Main template <nowiki>{{</nowiki>{{BASEPAGENAME}}}} | ||
{{{{BASEPAGENAME}} |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}} |_format=columns |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| Line 77: | Line 77: | ||
== Columns format with default title and _showheader=no == | == Columns format with default title and _showheader=no == | ||
| − | < | + | <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}} |_format=columns |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}} |_format=columns |_showheader=no |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |text=Lorem ipsum dolor sit amet}} | ||
| Line 85: | Line 85: | ||
== Columns format with custom title and headings == | == Columns format with custom title and headings == | ||
| − | < | + | <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}} |_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}} |_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}} | ||
| Line 94: | Line 94: | ||
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. 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. | 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. 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=''_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 |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}} |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}} | ||
| Line 103: | Line 103: | ||
A custom title for the collapsible box can be assigned via _title. The inline format does not currently display headings (default or custom) for each template inside the box. 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. | A custom title for the collapsible box can be assigned via _title. The inline format does not currently display headings (default or custom) for each template inside the box. 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 |_title=''_title'' |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 |_title=''_title'' |text=Lorem ipsum dolor sit amet}} | {{{{BASEPAGENAME}} |_format=inline |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |text=Lorem ipsum dolor sit amet}} | ||
Revision as of 06:43, 5 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 with default title and headings
- 2 Default format with default title and _showheader=no
- 3 Default format with custom title and default headings
- 4 Default format with default title and custom headings
- 5 Default format with custom title and headings
- 6 Rows format with default title and headings
- 7 Rows format with default title and _showheader=no
- 8 Rows format with custom title and headings
- 9 Columns format with default title and headings
- 10 Columns format with default title and _showheader=no
- 11 Columns format with custom title and headings
- 12 Inline format with default title
- 13 Inline format with custom title
- 14 See also
Default format with default title and headings
{{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 default title and _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 custom title and default headings
{{Collapsible test case |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_title=''_title'' |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| _title | ||||
|---|---|---|---|---|
{{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}}
| _title | ||||
|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
{{tmbox}}
{{ombox}}
{{ombox/sandbox}} Error: expandTemplate: template "ombox/sandbox" does not exist |
Default format with default title and custom headings
Note: In default format, the following parameter values are not displayed: _caption, _rowheader, _heading0, _before, _after
{{Collapsible test case |_showcode=yes |_template1=tmbox |_template2=ombox |_template3=ombox/sandbox |_caption=''_caption'' |_rowheader=''_rowheader'' |_heading0=''_heading0'' |_heading1=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| _heading1 | ||||
|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
_heading1
_heading2
_heading3 Error: expandTemplate: template "ombox/sandbox" does not exist |
- Sandbox template {{Collapsible test case/sandbox}}
| _heading1 | ||||
|---|---|---|---|---|
{{tmbox|text=Lorem ipsum dolor sit amet}}
_heading1
_heading2
_heading3 Error: expandTemplate: template "ombox/sandbox" does not exist |
Default format with custom title and headings
{{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 |
Rows format with default title and headings
{{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 default title and _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 custom title and headings
Note: In rows format, 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}}
|
Columns format with default title and headings
{{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 default title and _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 custom title and 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}}
|
Inline format with default title
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. 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=''_heading1'' |_heading2=''_heading2'' |_heading3=''_heading3'' |_before=''_before'' |_after=''_after'' |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| _heading1 |
|---|
- Sandbox template {{Collapsible test case/sandbox}}
| _heading1 |
|---|
Inline format with custom title
A custom title for the collapsible box can be assigned via _title. The inline format does not currently display headings (default or custom) for each template inside the box. 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 |_title=''_title'' |text=Lorem ipsum dolor sit amet}}
- Main template {{Collapsible test case}}
| _title |
|---|
- Sandbox template {{Collapsible test case/sandbox}}
| _title |
|---|