Template:Collapse top: Difference between revisions
adding option to hide message. hope it works
m>MSGJ m (collapse -> collapsed, and remove lonely /span) |
imported>Harej (adding option to hide message. hope it works) |
||
Line 1: | Line 1: | ||
{<noinclude></noinclude>{{!}} <!-- Template:Collapse top --> class="navbox collapsible {{#if:{{{expand|}}}||collapsed}}" style="text-align: left; border: {{{border|1px}}} solid silver; margin-top: 0.2em;" | {<noinclude></noinclude>{{!}} <!-- Template:Collapse top --> class="navbox collapsible {{#if:{{{expand|}}}||collapsed}}" style="text-align: left; border: {{{border|1px}}} solid silver; margin-top: 0.2em;" | ||
{{!}}- | {{!}}- | ||
! style="background-color: {{{bg|#CFC}}};" {{!}} {{{1|Extended content}}} | ! style="background-color: {{{bg|#CFC}}};" {{!}} {{{1|Extended content}}}{{#if:{{{hidemessage}}}|yes|| | ||
{{!}}- | {{!}}- | ||
{{!}} style="text-align:center;" {{!}} ''The following content has been placed in a collapsed box for improved usability.'' | {{!}} style="text-align:center;" {{!}} ''The following content has been placed in a collapsed box for improved usability.'' | ||
{{!}}- | {{!}}-}} | ||
{{!}} style="border: solid 1px silver; padding: 8px; background-color: white; " {{!}}<noinclude> | {{!}} style="border: solid 1px silver; padding: 8px; background-color: white; " {{!}}<noinclude> | ||
{{Collapse bottom}} | {{Collapse bottom}} |