User:84user/Sandbox
[edit]
DocumentationTest 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
{{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:
- prefixed with colon parameter two
{{Hidden|style=background:yellow|1=parameter one|2=parameter two}}
producesparameter two
{{Hidden|style=width: 50%;|headerstyle=background:#d0ffd0;|contentstyle=background:#ffe0e0;color:blue;|1=parameter one|2=parameter two}}
producesparameter two
Examples using 2011 March version
Call without parameters:
{{{1}}}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}}
producesparameter oneparameter two
{{Hidden|toggle=left|1=toggle=left, parameter one|2=parameter two}}
producestoggle=left, parameter oneparameter two
:{{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 oneprefixed with colon parameter two
{{Hidden|style=background:yellow|1=parameter one|2=parameter two}}
producesparameter oneparameter two
{{Hidden|style=width: 50%;|headerstyle=background:#d0ffd0;|contentstyle=background:#ffe0e0;color:blue;|1=parameter one|2=parameter two}}
producesparameter oneparameter two