Jump to content

Template:Parameter names example/testcases

From Wikipedia, the free encyclopedia

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}}}