Difference between revisions of "Template:Collapsible Table"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{{!}} class="collapsible {{#if:{{{collapsed|}}}|collapsed}} {{#if:{{{autocollapse|}}}|autocollapse}} {{{table-class|}}}" style="background-color:transparent; {{{table-style|}}}"
{{{!}} class="collapsible {{#if:{{{collapsed|}}}|collapsed}} {{#if:{{{autocollapse|}}}|autocollapse}} {{{table-class|}}}" style="background-color:transparent; {{{table-style|}}}" {{{table-attributes|}}}
! style="{{{title-style|}}}" colspan="{{{title-colspan|}}}" {{{title-attributes|}}} {{!}} {{{title|}}}
! style="{{{title-style|}}}" colspan="{{{title-colspan|}}}" {{{title-attributes|}}} {{!}} {{{title|}}}
{{!}}-
{{!}}-
Line 21: Line 21:
| table-style
| table-style
| user supplied styling for the table
| user supplied styling for the table
|-
| table-attributes
| user supplied attributes for the table
|-
|-
| title-style
| title-style
Line 27: Line 30:
| title-colspan
| title-colspan
| how many columns the title element should span
| how many columns the title element should span
|-
| title-attributes
| user supplied attributes for the title
|-
|-
| title
| title

Revision as of 08:44, 10 May 2012

variable description
collapsed any value will activate collapsed
autocollapse collapses the table if other collapsible tables are present
table-class additional user supplied class value
table-style user supplied styling for the table
table-attributes user supplied attributes for the table
title-style style for the title row
title-colspan how many columns the title element should span
title-attributes user supplied attributes for the title
title table title
content the table contents, to be supplied in {{!}} form.