Template:Collapsible section/doc

Revision as of 11:10, 13 November 2020 by Caleb Cooper (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page, please; interwikis at Wikidata --> {{Collapse Templates}} ===Syntax=== <pre style="overflow:auto;"> {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.

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:

See also