Difference between revisions of "Template:Collapsible section/doc"
Jump to navigation
Jump to search
imported>Jay D. Easy (+collapse temp.) |
imported>Zarex (prevent overlapping with the collapse template) |
||
| Line 25: | Line 25: | ||
</pre> | </pre> | ||
produces: | produces: | ||
| + | {{Clear}} | ||
{{Collapsible section | {{Collapsible section | ||
| title = Example | | title = Example | ||
Revision as of 15:03, 20 September 2019
| This is a documentation subpage for Template:Collapsible section. It contains usage information, categories and other content that is not part of the original template page. |
| Collapsible templates |
|---|
| Script error: No such module "aligned table". |
| Article namespace |
|
| Infoboxes |
| Navigation templates |
| Talk namespace |
|
Syntax
{{Collapsible section
| framestyle = <!-- CSS styling applied to section -->
| titlealign = <!-- center (default), left or right -->
| titlestyle = <!-- CSS styling applied to title -->
| title =
| content =
| note = <!-- set to "omit", "off", "exclude", etc to omit "View by" note, otherwise delete or leave unused -->
}}
To omit the "View by clicking [show]" message below the title, set |note=omit or off or exclude etc.
Example
{{Collapsible section
| title = Example
| content = ''{{Lorem ipsum}}''
}}
produces:
Example
— View by clicking [show] —
See also
- {{Collapsible list}}
- {{Collapse top}}
- {{Collapse bottom}}