Шаблон:Collapse/doc: различия между версиями
→The expand parameter: doc update for |clear=
en>Frietjes |
en>SMcCandlish (→The expand parameter: doc update for |clear=) |
||
| Строка 47: | Строка 47: | ||
===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. Other options: {{para|expand|}} <code>yes, y, expand, expanded, uncollapse, uncollapsed</code>. Note: {{para|expand|no}} will fold the box (default). | 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. Other options: {{para|expand|}} <code>yes, y, expand, expanded, uncollapse, uncollapsed</code>. Note: {{para|expand|no}} will fold the box (default). | ||
===The clear parameter=== | |||
In some situations you may not want the default <code>clear: both;</code> css to apply, with puts the collapse box below any left- or right-floated content within the same HTML block. In this case you case, you can use {{para|clear|none}}, {{para|clear|right}}, or {{para|clear|left}}, as needed. | |||
===When content includes tables=== | ===When content includes tables=== | ||