User:84user/Sandbox/doc

From OpenMedia
< User:84user/Sandbox
Revision as of 22:49, 4 March 2011 by 84user (Talk) (Imported 2013-03-10 from http://commons.wikimedia.org/wiki/[SAME-NAME-AS-HERE] to enable licence display of reused media. See there for complete license and author attribution!)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Test Template:Hidden 2010 October version from User:84user/Sandbox

Call without parameters:


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 one

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

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

parameter one 
parameter two


{{Hidden|toggle=left|1=toggle=left, parameter one|2=parameter two}}
produces

toggle=left, parameter one 
parameter 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 one 
prefixed with colon parameter two