Template:Collapse top: Difference between revisions
Jump to navigation
Jump to search
(fix) |
>Ciencia Al [email protected] (Using mw-collapsible. The old system is plainly broken) |
||
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 mw-collapsible {{#if:{{{expand|}}}||mw-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}}} |
Revision as of 13:30, 31 December 2012
Extended content |
---|
The following content has been placed in a collapsed box for improved usability. |
[edit] Template documentation
Use with {{Collapse bottom}}, putting the content to be collapsed between the two templates.
Usage
{{Collapse top|optional message}}
Content here. blah blah blah blah
{{Collapse bottom}}
Examples
Example 1
{{Collapse top}} Content here. blah blah blah blah {{Collapse bottom}}
creates
Extended content |
---|
The following content has been placed in a collapsed box for improved usability. |
Content here. blah blah blah blah |
Example 2
{{Collapse top|optional message}} Content here. blah blah blah blah {{Collapse bottom}}
creates
optional message |
---|
The following content has been placed in a collapsed box for improved usability. |
Content here. blah blah blah blah |