Template:Collapse top: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
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="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>

Revision as of 04:01, 14 May 2014

[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

Example 2

{{Collapse top|optional message}}
Content here. blah blah blah blah
{{Collapse bottom}}

creates

See also