Difference between revisions of "Template:CollapsibleSection"
Jump to navigation
Jump to search
Bea Linden (talk | contribs) |
|||
Line 1: | Line 1: | ||
{| class="wikitable collapsible {{{collapse_param|autocollapse}}}" align="{{{align|left}}}" valign="{{{valign|top}}}" width="{{{width|100%}}}" | {| class="wikitable collapsible {{{collapse_param|autocollapse}}}" align="{{{align|left}}}" valign="{{{valign|top}}}" width="{{{width|100%}}}" | ||
!style="font-size: {{{font_size|16px}}}; font-weight: {{{font_weight|bold}}}; background: {{{title_bgcolor|#7ca59f}}}; color: {{{title_color|white}}}; text-align | !style="font-size: {{{font_size|16px}}}; font-weight: {{{font_weight|bold}}}; background: {{{title_bgcolor|#7ca59f}}}; color: {{{title_color|white}}}; text-align: {{{text_align|center}}};"|{{{title|}}} | ||
|- align="{{{content_align|left}}}" style="background: {{{content_bgcolor|#EEEEFF}}}; color: {{{content_color|black}}};" | |- align="{{{content_align|left}}}" style="background: {{{content_bgcolor|#EEEEFF}}}; color: {{{content_color|black}}};" | ||
| | | |
Latest revision as of 10:15, 29 October 2010
This template allows you to create collapsible sections for your wiki pages. The parameters are as follows:
- Functional Parameters
- collapse_param
- Determines how the collapsible section should appear on load. Param can be:
- "" (will be open by default)
- collapsed (will be closed by default)
- autocollapse (will be closed if more than 2 sections are on the same wiki page) - default
- Determines how the collapsible section should appear on load. Param can be:
- collapse_param
- Style Parameters
- Table Params
- valign (top)
- align (left)
- width (100%)
- Header Params
- font_size (16px)
- font_weight (bold)
- text_align (center)
- title_bgcolor (#7ca59f)
- title_color (white)
- Content Block Params
- content_align (left)
- content_bgcolor (#EEEEFF)
- content_color (black)
- Table Params
- Content Parameters
- title
- content