Changes

548 bytes added ,  20:19, 23 August 2021
Line 5: Line 5:  
|style="width: 100%; margin: 1em; text-align: {{{align|center}}}; padding: 0.5em 1em; color: {{{listcolor|#000000}}}; font-size: {{{fontsize|100}}}%"| {{{list}}}
 
|style="width: 100%; margin: 1em; text-align: {{{align|center}}}; padding: 0.5em 1em; color: {{{listcolor|#000000}}}; font-size: {{{fontsize|100}}}%"| {{{list}}}
 
|}{{{category|}}}<noinclude>
 
|}{{{category|}}}<noinclude>
== State usage ==
+
== Parameters ==
These are guidelines for the <code>state</code> parameter:
+
{| {{STDT}}
* <code>|state='''collapsed'''</code> - The table is collapsible and collapsed (default).
+
|- style="background:lightgray;"
* <code>|state='''open'''</code> - The table is collapsible and not collapsed.
+
! Parameter !! Optional? !! Default !! Notes
* <code>|state='''auto'''</code> - The table is collapsible and will collapse if multiple boxes are present.
+
|-
* <code>|state='''plain'''</code> - The table is not collapsible.
+
| '''title''' || || || The title (header) of the box
 
+
|-
[[Category:Parent templates]]</noinclude>
+
| '''list''' || || || The contents (list) of the box
 +
|-
 +
| '''image''' || Optional || ||
 +
|-
 +
| '''boxbackcolor''' || Optional || #f8f8ff || The box's background color
 +
|-
 +
| '''bordercolor''' || Optional || #bebebe || The box's border color
 +
|-
 +
| '''titlebackcolor''' || Optional || #ccddee || The box's header background color
 +
|-
 +
| '''titlecolor''' || Optional || #000000 || The box's header font color
 +
|-
 +
| '''align''' || Optional || center || Use only these values:
 +
* ''center'' — Centers the text
 +
* ''justify'' — Stretches the lines so that each line has equal width
 +
* ''left'' — Aligns the text to the left
 +
* ''right'' — Aligns the text to the right
 +
|-
 +
| '''listcolor''' || Optional || #000000 || The list's font color
 +
|-
 +
| '''fontsize''' || Optional || 100 || The list's font size in percentages
 +
|-
 +
| '''category''' || Optional || ||
 +
|}