{{Test case nowiki |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
{{Test case nowiki |template1=tmbox |template2=ombox |template3=ombox/sandbox |showheader=no |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Default format with custom headings
The following parameter values are not displayed: caption, rowheader, heading0, before, after.
{{Test case nowiki |template1=tmbox |template2=ombox |template3=ombox/sandbox |caption=''caption'' |rowheader=''rowheader'' |heading0=''heading0'' |heading1=''heading1'' |heading2=''heading2'' |heading3=''heading3'' |before=''before'' |after=''after'' |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
heading1
before
Lorem ipsum dolor sit amet
after
heading2
before
Lorem ipsum dolor sit amet
after
heading3
before
Lorem ipsum dolor sit amet
after
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
heading1
before
Lorem ipsum dolor sit amet
after
heading2
before
Lorem ipsum dolor sit amet
after
heading3
before
Lorem ipsum dolor sit amet
after
Default format with output=nowiki
{{Test case nowiki |output=nowiki |template=ombox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
{{Test case nowiki |format=columns |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
{{Test case nowiki |format=columns |showcaption=no |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
{{Test case nowiki |format=columns |showheader=no |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Columns format with custom headings
{{Test case nowiki |format=columns |template1=tmbox |template2=ombox |template3=ombox/sandbox |caption=''caption'' |rowheader=''rowheader'' |heading0=''heading0'' |heading1=''heading1'' |heading2=''heading2'' |heading3=''heading3'' |before=<div style="border: 1px solid grey">''before'' |after=''after''</div> |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption
heading0
heading1
heading2
heading3
rowheader
before
Lorem ipsum dolor sit amet
after
before
Lorem ipsum dolor sit amet
after
before
Lorem ipsum dolor sit amet
after
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption
heading0
heading1
heading2
heading3
rowheader
before
Lorem ipsum dolor sit amet
after
before
Lorem ipsum dolor sit amet
after
before
Lorem ipsum dolor sit amet
after
Columns format with output=nowiki
{{Test case nowiki |format=columns |output=nowiki |template=ombox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
{{Test case nowiki |format=rows |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
{{Test case nowiki |format=rows |template1=tmbox |template2=ombox |template3=ombox/sandbox |showheader=no |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Rows format with custom headings
The following parameter values are not displayed: rowheader, heading0, before, after.
{{Test case nowiki |format=rows |template1=tmbox |template2=ombox |template3=ombox/sandbox |caption=''caption'' |rowheader=''rowheader'' |heading0=''heading0'' |heading1=''heading1'' |heading2=''heading2'' |heading3=''heading3'' |before=''before'' |after=''after'' |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}}}</nowiki>
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption
heading1
before
Lorem ipsum dolor sit amet
after
heading2
before
Lorem ipsum dolor sit amet
after
heading3
before
Lorem ipsum dolor sit amet
after
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption
heading1
before
Lorem ipsum dolor sit amet
after
heading2
before
Lorem ipsum dolor sit amet
after
heading3
before
Lorem ipsum dolor sit amet
after
Rows format with output=nowiki
{{Test case nowiki |format=rows |output=nowiki |template=ombox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
{{Test case nowiki |format=tablerows |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
The output here is the same as in rows format with showheader=no.
{{Test case nowiki |format=tablerows |template1=tmbox |template2=ombox |template3=ombox/sandbox |showheader=no |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Tablerows format with custom headings
The following parameter values are not displayed: rowheader, heading0, before, after.
{{Test case nowiki |format=tablerows |template1=tmbox |template2=ombox |template3=ombox/sandbox |caption=''caption'' |rowheader=''rowheader'' |heading0=''heading0'' |heading1=''heading1'' |heading2=''heading2'' |heading3=''heading3'' |before=''before'' |after=''after'' |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}}}</nowiki>
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption
heading1
→
before
Lorem ipsum dolor sit amet
after
heading2
→
before
Lorem ipsum dolor sit amet
after
heading3
→
before
Lorem ipsum dolor sit amet
after
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}}
caption
heading1
→
before
Lorem ipsum dolor sit amet
after
heading2
→
before
Lorem ipsum dolor sit amet
after
heading3
→
before
Lorem ipsum dolor sit amet
after
Tablerows format with output=nowiki
{{Test case nowiki |format=tablerows |output=nowiki |template=ombox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
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.
{{Test case nowiki |format=inline |template1=tmbox |template2=ombox |template3=ombox/sandbox |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
{{tmbox|text=Lorem ipsum dolor sit amet}} →
Lorem ipsum dolor sit amet
{{ombox|text=Lorem ipsum dolor sit amet}} →
Lorem ipsum dolor sit amet
{{ombox/sandbox|text=Lorem ipsum dolor sit amet}} →
Lorem ipsum dolor sit amet
Sandbox template {{Test case nowiki/sandbox}}
{{tmbox|text=Lorem ipsum dolor sit amet}} →
Lorem ipsum dolor sit amet
{{ombox|text=Lorem ipsum dolor sit amet}} →
Lorem ipsum dolor sit amet
{{ombox/sandbox|text=Lorem ipsum dolor sit amet}} →
Lorem ipsum dolor sit amet
Inline format with showcode=no
The inline format does not currently display headings (default or custom).
{{Test case nowiki |format=inline |showcode=no |template1=tmbox |template2=ombox |template3=ombox/sandbox |caption=''caption'' |rowheader=''rowheader'' |heading0=''heading0'' |heading1=''heading1'' |heading2=''heading2'' |heading3=''heading3'' |before=''before'' |after=''after'' |code=<nowiki>{{__TEMPLATENAME__|text=Lorem ipsum dolor sit amet}}</nowiki>}}
Main template {{Test case nowiki}}
before
Lorem ipsum dolor sit amet
after
before
Lorem ipsum dolor sit amet
after
before
Lorem ipsum dolor sit amet
after
Sandbox template {{Test case nowiki/sandbox}}
before
Lorem ipsum dolor sit amet
after
before
Lorem ipsum dolor sit amet
after
before
Lorem ipsum dolor sit amet
after
Inline format with addline
The contents of the addline parameter will be displayed next to an additional bullet at the end of the list.
{{Test case nowiki |format=inline |template1=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki> |addline=<code><nowiki>{{Cvt|1.51|m|frac=2}}</nowiki></code> → {{Cvt|1.51|m|frac=2}} }}
Main template {{Test case nowiki}}
{{Height|m=1.51}} → 1.51公尺(4英尺111⁄2英寸)
{{Height/sandbox|m=1.51}} → 1.51公尺(4英尺111⁄2英寸)
{{Cvt|1.51|m|frac=2}} → 1.51米(4英尺111⁄2英寸)
Sandbox template {{Test case nowiki/sandbox}}
{{Height|m=1.51}} → 1.51公尺(4英尺111⁄2英寸)
{{Height/sandbox|m=1.51}} → 1.51公尺(4英尺111⁄2英寸)
{{Cvt|1.51|m|frac=2}} → 1.51米(4英尺111⁄2英寸)
Inline format with output=nowiki
{{Test case nowiki |format=inline |output=nowiki |template=Height |code=<nowiki>{{__TEMPLATENAME__|m=1.51}}</nowiki>}}