Nhwɛdo:Hidden begin/testcases

{{Hidden begin|title=Default example}} *def *ghi {{Hidden end}}
{{Hidden begin|title=Default example}}
*def
*ghi
{{Hidden end}}
Default example
  • def
  • ghi
Default example
  • def
  • ghi
Expanded code
'"`UNIQ--templatestyles-00000005-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style=" "><div class="hidden-title skin-nightmode-reset-color" style=" ">Default example</div><div class="hidden-content mw-collapsible-content" style=" "> *def *ghi </div></div>
'"`UNIQ--templatestyles-00000007-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style=" "><div class="hidden-title" style=" ">Default example</div><div class="hidden-content mw-collapsible-content" style=" "> *def *ghi </div></div>
{{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"
  • def
  • ghi
titlebgcolor is "pink"
  • def
  • ghi
Expanded code
'"`UNIQ--templatestyles-0000000B-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style=" "><div class="hidden-title skin-nightmode-reset-color" style=" background-color:pink; ">titlebgcolor is "pink"</div><div class="hidden-content mw-collapsible-content" style=" "> *def *ghi </div></div>
'"`UNIQ--templatestyles-0000000C-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style=" "><div class="hidden-title" style=" background-color:pink; ">titlebgcolor is "pink"</div><div class="hidden-content mw-collapsible-content" style=" "> *def *ghi </div></div>
{{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;"
  • def
  • ghi
added "text-align:center;"
  • def
  • ghi
Expanded code
'"`UNIQ--templatestyles-00000010-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style=" "><div class="hidden-title skin-nightmode-reset-color" style=" background:pink; text-align:center;">added "text-align:center;"</div><div class="hidden-content mw-collapsible-content" style=" "> *def *ghi </div></div>
'"`UNIQ--templatestyles-00000011-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style=" "><div class="hidden-title" style=" background:pink; text-align:center;">added "text-align:center;"</div><div class="hidden-content mw-collapsible-content" style=" "> *def *ghi </div></div>
{{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
  • change window width and
  • watch title alignment
title on right with 3.0em padding
  • change window width and
  • watch title alignment
Expanded code
'"`UNIQ--templatestyles-00000015-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style=" "><div class="hidden-title skin-nightmode-reset-color" style=" background:pink; text-align:right; padding-right:3.0em;">title on right with 3.0em padding</div><div class="hidden-content mw-collapsible-content" style=" "> *change window width and *watch title alignment </div></div>
'"`UNIQ--templatestyles-00000016-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style=" "><div class="hidden-title" style=" background:pink; text-align:right; padding-right:3.0em;">title on right with 3.0em padding</div><div class="hidden-content mw-collapsible-content" style=" "> *change window width and *watch title alignment </div></div>
{{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"
  • def
  • ghi
showhide set to "left"
  • def
  • ghi
Expanded code
'"`UNIQ--templatestyles-0000001A-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsible-leftside-toggle mw-collapsed " style=" "><div class="hidden-title skin-nightmode-reset-color" style=" background:palegreen;">''showhide'' set to "left"</div><div class="hidden-content mw-collapsible-content" style=" "> *def *ghi </div></div>
'"`UNIQ--templatestyles-0000001B-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsible-leftside-toggle mw-collapsed " style=" "><div class="hidden-title" style=" background:palegreen;">''showhide'' set to "left"</div><div class="hidden-content mw-collapsible-content" style=" "> *def *ghi </div></div>
{{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
  • def
  • ghi
|showhide=left and bodystyle
  • def
  • ghi
Expanded code
'"`UNIQ--templatestyles-0000001F-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsible-leftside-toggle mw-collapsed " style=" "><div class="hidden-title skin-nightmode-reset-color" style=" background:palegreen;"><code class="tpl-para" style="word-break:break-word; ">&#124;showhide&#61;left</code> and ''bodystyle''</div><div class="hidden-content mw-collapsible-content" style=" font-size:150%; font-weight:bold;"> *def *ghi </div></div>
'"`UNIQ--templatestyles-00000020-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsible-leftside-toggle mw-collapsed " style=" "><div class="hidden-title" style=" background:palegreen;"><code class="tpl-para" style="word-break:break-word; ">&#124;showhide&#61;left</code> and ''bodystyle''</div><div class="hidden-content mw-collapsible-content" style=" font-size:150%; font-weight:bold;"> *def *ghi </div></div>
{{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_
  • make window narrower and
  • title will wrap
header=deprecated_header_
  • make window narrower and
  • title will wrap
Expanded code
'"`UNIQ--templatestyles-00000024-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style=" border:dashed; "><div class="hidden-title skin-nightmode-reset-color" style="text-align:left; background-color:palegreen; font-style:italic; padding-right:3.0em; font-size:120%;">''header''=deprecated_header_</div><div class="hidden-content mw-collapsible-content" style="text-align:center; "> *make window narrower and *title will wrap </div></div>
'"`UNIQ--templatestyles-00000025-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style=" border:dashed; "><div class="hidden-title" style="text-align:left; background-color:palegreen; font-style:italic; padding-right:3.0em; font-size:120%;">''header''=deprecated_header_</div><div class="hidden-content mw-collapsible-content" style="text-align:center; "> *make window narrower and *title will wrap </div></div>
{{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
  • def ... these should have left padding
  • ghi
title with non-breaking spaces
  • def ... these should have left padding
  • ghi
Expanded code
'"`UNIQ--templatestyles-00000029-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style=" border:dotted; "><div class="hidden-title skin-nightmode-reset-color" style="text-align:right; background-color:cyan; font-size:120%; padding-right:2.5em;">title with non-breaking spaces</div><div class="hidden-content mw-collapsible-content" style="text-align:left; background-color: yellow; font-size:150%; padding-left:3.0em;"> *def ... these should have left padding *ghi </div></div>
'"`UNIQ--templatestyles-0000002A-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style=" border:dotted; "><div class="hidden-title" style="text-align:right; background-color:cyan; font-size:120%; padding-right:2.5em;">title with non-breaking spaces</div><div class="hidden-content mw-collapsible-content" style="text-align:left; background-color: yellow; font-size:150%; padding-left:3.0em;"> *def ... these should have left padding *ghi </div></div>
{{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%
  • def
  • ghi
width is 40%
  • def
  • ghi
Expanded code
'"`UNIQ--templatestyles-0000002E-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style="width:40%; "><div class="hidden-title skin-nightmode-reset-color" style=" ">width is 40%</div><div class="hidden-content mw-collapsible-content" style=" "> *def *ghi </div></div>
'"`UNIQ--templatestyles-0000002F-QINU`"'<div class="hidden-begin mw-collapsible mw-collapsed " style="width:40%; "><div class="hidden-title" style=" ">width is 40%</div><div class="hidden-content mw-collapsible-content" style=" "> *def *ghi </div></div>