User:84user/Sandbox
Test Template:Hidden 2010 October version from User:84user/Sandbox
Call without parameters:
I think call without parameters will cause all following text (including this text) to be hidden until two close div tags are seen:
Examples using 2010 October version
[edit]{{Hidden|1=parameter one|2=parameter two}}
produces
The 2011 March 4 version of Template:Hidden shows parameters one and two:
{{Hidden|1=parameter one|2=parameter two}}
produces
parameter two
{{Hidden|toggle=left|1=toggle=left, parameter one|2=parameter two}}
produces
:{{Hidden|1=prefixed with colon parameter one|2=prefixed with colon parameter two}}
prefixing the template with a colon ":" forces the parameter to be always unhidden:
{{Hidden|style=background:yellow|1=parameter one|2=parameter two}}
produces
{{Hidden|style=width: 50%;|headerstyle=background:#d0ffd0;|contentstyle=background:#ffe0e0;color:blue;|1=parameter one|2=parameter two}}
produces
Examples using 2011 March version
[edit]Call without parameters:
I think call without parameters will cause all following text (including this text) to be hidden until two close div tags are seen:
{{Hidden|1=parameter one|2=parameter two}}
produces
{{Hidden|toggle=left|1=toggle=left, parameter one|2=parameter two}}
produces
:{{Hidden|1=prefixed with colon parameter one|2=prefixed with colon parameter two}}
prefixing the template with a colon ":" forces the parameter to be always unhidden:
- prefixed with colon parameter one
{{Hidden|style=background:yellow|1=parameter one|2=parameter two}}
produces
{{Hidden|style=width: 50%;|headerstyle=background:#d0ffd0;|contentstyle=background:#ffe0e0;color:blue;|1=parameter one|2=parameter two}}
produces