Template:Collapse top: Difference between revisions
Jump to navigation
Jump to search
({{documentation}}) |
No edit summary |
||
(5 intermediate revisions by 3 users not shown) | |||
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}}} | ||
{{!}}- | {{!}}- | ||
{{!}} style="border: solid 1px silver; padding: 8px; background-color: white; " {{!}}<noinclude> | {{!}} style="border: solid 1px silver; padding: 8px; background-color: white; " {{!}}<noinclude> | ||
{{ | {{collapse bottom}} | ||
{{doc}} | |||
</noinclude> | </noinclude> |
Latest revision as of 04:02, 14 May 2014
Extended content |
---|
[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 |
---|
Content here. blah blah blah blah |
Example 2
{{Collapse top|optional message}} Content here. blah blah blah blah {{Collapse bottom}}
creates
optional message |
---|
Content here. blah blah blah blah |