Template:Collapse top: Difference between revisions
Appearance
m Protected "Template:Collapse top" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) |
No edit summary |
||
| Line 2: | Line 2: | ||
{{!}}- | {{!}}- | ||
! 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> | ||
Revision as of 04:01, 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 |