Template:Collapse top/doc: Difference between revisions

Jump to navigation Jump to search
m
Fix header level
w:en>SMcCandlish
(expand feature not documented (and needs to be fixed anyway))
w:en>Anypodetos
m (Fix header level)
Line 15: Line 15:
{{Tl|Collapse bottom}}
{{Tl|Collapse bottom}}


=== bg parameter ===
=== The bg parameter ===


The bg parameter is Optional. It changes the background color. use [[Web color]] values (e.g. #F0F2F5).
The bg parameter is Optional. It changes the background color. use [[Web color]] values (e.g. #F0F2F5).
Line 39: Line 39:
{{Divbox|tt|Changed to|{{Tlsp|Collapse top|[[Help:Section|Heading]]|}}<br />{{Lorem ipsum}}<br />{{Tlsp|Collapse bottom}}}}
{{Divbox|tt|Changed to|{{Tlsp|Collapse top|[[Help:Section|Heading]]|}}<br />{{Lorem ipsum}}<br />{{Tlsp|Collapse bottom}}}}


===The expand parameter==
===The expand parameter===
Simply add {{para|expand|yes}} to have the box show up in expanded form with a "hide" link, instead of collapsed form with a "show" link.  Note: {{para|expand|no}} does not work, which is lame; to disable the feature, you have to remove the entire {{para||expand}} parameter and value.
Simply add {{para|expand|yes}} to have the box show up in expanded form with a "hide" link, instead of collapsed form with a "show" link.  Note: {{para|expand|no}} does not work, which is lame; to disable the feature, you have to remove the entire {{para||expand}} parameter and value.


Anonymous user

Navigation menu