Template:Collapse top/doc: Difference between revisions

#000cfc would be blue
w:en>Mrjulesd
(rv 629387142 by 70.39.185.179 (talk))
w:en>9cfilorux
(#000cfc would be blue)
Line 29: Line 29:
;left: If this parameter evaluates to true (i.e. is not empty) it will align the 'parameter 1 title' along the left margin. Text aligns centered between the left margin and the left bracket of the left ''show'' link by default. For example <code><nowiki>{{cot|This is the title text|left=true}}</nowiki></code>
;left: If this parameter evaluates to true (i.e. is not empty) it will align the 'parameter 1 title' along the left margin. Text aligns centered between the left margin and the left bracket of the left ''show'' link by default. For example <code><nowiki>{{cot|This is the title text|left=true}}</nowiki></code>
;expand: If this parameter evaluates to true (i.e. is not empty) it will leave the material uncollapsed with the border and coloring. Default is to collapse the material. For example <code><nowiki>{{cot|This is the title text|expand=true}}</nowiki></code>
;expand: If this parameter evaluates to true (i.e. is not empty) it will leave the material uncollapsed with the border and coloring. Default is to collapse the material. For example <code><nowiki>{{cot|This is the title text|expand=true}}</nowiki></code>
;bg: Sets the background color of the collapsed material. Defaults to #000CFC - a pleasant green. Other colors available from [[List of colors]]. For example <code><nowiki>{{cot|This is the title text|bg=#F0F2F5}}</nowiki></code>
;bg: Sets the background color of the collapsed material. Defaults to #CFC - a pleasant green. Other colors available from [[List of colors]]. For example <code><nowiki>{{cot|This is the title text|bg=#F0F2F5}}</nowiki></code>
;fc: Sets the font color of the title of the collapsible bar. Defaults to Black. Other colors available from [[List of colors]]. For example <code><nowiki>{{cot|This is the title text|fc=#F0F2F5}}</nowiki></code>
;fc: Sets the font color of the title of the collapsible bar. Defaults to Black. Other colors available from [[List of colors]]. For example <code><nowiki>{{cot|This is the title text|fc=#F0F2F5}}</nowiki></code>
;border: Sets the width of the border line on the collapsed material. defaults to 1px. For example <code><nowiki>{{cot|This is the title text|border=2px}}</nowiki></code>
;border: Sets the width of the border line on the collapsed material. defaults to 1px. For example <code><nowiki>{{cot|This is the title text|border=2px}}</nowiki></code>
Anonymous user