Template:Parameter names example/testcases
Appearance
![]() | This is the template test cases page for the sandbox of Template:Parameter names example. 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 and parsers with these links: |
For Template:Infobox
[edit]Sandbox version
[edit]including code display
[edit]Code used
{{{{TEMPLATENAME|testcases}}/sandbox |_template=Infobox |_code=include |above |image |caption |header1 |label2=Custom value (label2) |data2 |label3 |data3 |header4=''Custom value (header4)'' |data5 |data6=Custom value {{small|(data6)}} |below }}
Result
{{{above}}} | |
---|---|
{{{image}}} {{{caption}}} | |
{{{header1}}} | |
Custom value (label2) | {{{data2}}} |
{{{label3}}} | {{{data3}}} |
Custom value (header4) | |
{{{data5}}} | |
Custom value (data6) | |
{{{below}}} |
Main template
[edit]without code display
[edit]Code used
{{{{TEMPLATENAME|testcases}}/sandbox |_template=Infobox |above |image |caption |header1 |label2=Custom value (label2) |data2 |label3 |data3 |header4=''Custom value (header4)'' |data5 |data6=Custom value {{small|(data6)}} |below }}
Result
{{{above}}} | |
---|---|
{{{image}}} {{{caption}}} | |
{{{header1}}} | |
Custom value (label2) | {{{data2}}} |
{{{label3}}} | {{{data3}}} |
Custom value (header4) | |
{{{data5}}} | |
Custom value (data6) | |
{{{below}}} |