This is the template test cases page for the sandbox of Template:Hidden begin. 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: |
TC1
edit{{Hidden begin|title=Default example}} *def *ghi {{Hidden end}} | ||||
---|---|---|---|---|
{{Hidden begin|title=Default example}} *def *ghi {{Hidden end}} | ||||
Default example
| ||||
Default example
| ||||
|
TC2
edit{{Hidden begin|titlebgcolor=pink|title=titlebgcolor is "pink"}} *def *ghi {{Hidden end}} | ||||
---|---|---|---|---|
{{Hidden begin|titlebgcolor=pink|title=titlebgcolor is "pink"}} *def *ghi {{Hidden end}} | ||||
titlebgcolor is "pink"
| ||||
titlebgcolor is "pink"
| ||||
|
TC3
edit{{Hidden begin|titlestyle=background:pink; text-align:center;|title=added "text-align:center;"}} *def *ghi {{Hidden end}} | ||||
---|---|---|---|---|
{{Hidden begin|titlestyle=background:pink; text-align:center;|title=added "text-align:center;"}} *def *ghi {{Hidden end}} | ||||
added "text-align:center;"
| ||||
added "text-align:center;"
| ||||
|
TC4
edit{{Hidden begin|titlestyle=background:pink; text-align:right; padding-right:3.0em;|title= title on right with 3.0em padding}} *change window width and *watch title alignment {{Hidden end}} | ||||
---|---|---|---|---|
{{Hidden begin|titlestyle=background:pink; text-align:right; padding-right:3.0em;|title= title on right with 3.0em padding}} *change window width and *watch title alignment {{Hidden end}} | ||||
title on right with 3.0em padding
| ||||
title on right with 3.0em padding
| ||||
|
TC5
edit{{Hidden begin|showhide=left|titlestyle=background:palegreen;|title=''showhide'' set to "left"}} *def *ghi {{Hidden end}} | ||||
---|---|---|---|---|
{{Hidden begin|showhide=left|titlestyle=background:palegreen;|title=''showhide'' set to "left"}} *def *ghi {{Hidden end}} | ||||
showhide set to "left"
| ||||
showhide set to "left"
| ||||
|
TC6
edit{{Hidden begin|showhide=left|titlestyle=background:palegreen;|title={{para|showhide|left}} and ''bodystyle''|bodystyle=font-size:150%; font-weight:bold;}} *def *ghi {{Hidden end}} | ||||
---|---|---|---|---|
{{Hidden begin|showhide=left|titlestyle=background:palegreen;|title={{para|showhide|left}} and ''bodystyle''|bodystyle=font-size:150%; font-weight:bold;}} *def *ghi {{Hidden end}} | ||||
|showhide=left and bodystyle
| ||||
|showhide=left and bodystyle
| ||||
|
TC7
edit{{Hidden begin|titlestyle=background-color:palegreen; font-style:italic; padding-right:3.0em; font-size:120%;|title=''header''{{=}}deprecated_header_|ontentstyle=background-color: cyan; font-size:150%|border=dashed|ta1=left|ta2=center}} *make window narrower and *title will wrap {{Hidden end}} | ||||
---|---|---|---|---|
{{Hidden begin|titlestyle=background-color:palegreen; font-style:italic; padding-right:3.0em; font-size:120%;|title=''header''{{=}}deprecated_header_|ontentstyle=background-color: cyan; font-size:150%|border=dashed|ta1=left|ta2=center}} *make window narrower and *title will wrap {{Hidden end}} | ||||
header=deprecated_header_
| ||||
header=deprecated_header_
| ||||
|
TC8
edit{{Hidden begin|titlestyle=background-color:cyan; font-size:120%; padding-right:2.5em;|contentstyle=background-color: yellow; font-size:150%; padding-left:3.0em;|title=title with non-breaking spaces|border=dotted|ta1=right|ta2=left}} *def ... these should have left padding *ghi {{Hidden end}} | ||||
---|---|---|---|---|
{{Hidden begin|titlestyle=background-color:cyan; font-size:120%; padding-right:2.5em;|contentstyle=background-color: yellow; font-size:150%; padding-left:3.0em;|title=title with non-breaking spaces|border=dotted|ta1=right|ta2=left}} *def ... these should have left padding *ghi {{Hidden end}} | ||||
title with non-breaking spaces
| ||||
title with non-breaking spaces
| ||||
|
TC9
edit{{Hidden begin|title=width is 40%|width=40%}} *def *ghi {{Hidden end}} | ||||
---|---|---|---|---|
{{Hidden begin|title=width is 40%|width=40%}} *def *ghi {{Hidden end}} | ||||
width is 40%
| ||||
width is 40%
| ||||
|