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 with these links: |
Sandbox version
[change source]including code display
[change source]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}}} | |
{{{header1}}} | |
Custom value (label2) | {{{data2}}} |
{{{label3}}} | {{{data3}}} |
Custom value (header4) | |
{{{data5}}} | |
Custom value (data6) | |
{{{below}}} |
Main template
[change source]without code display
[change source]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}}} | |
{{{header1}}} | |
Custom value (label2) | {{{data2}}} |
{{{label3}}} | {{{data3}}} |
Custom value (header4) | |
{{{data5}}} | |
Custom value (data6) | |
{{{below}}} |