Шаблон:Collapse/doc: различия между версиями
Перейти к навигации
Перейти к поиску
en>Thumperward (tidy) |
|||
| Строка 1: | Строка 1: | ||
{{template doc page}} | |||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
You can use this for an easy collapsible box. Just use <code><nowiki>{{collapse|your table}}</nowiki></code> to get a show/hide option. The <code>size</code> parameter can be specified (just the number) (default 235px), as can the <code>style</code> parameter (default "background:transparent") and the <code>class</code> parameter (default wikitable, you can also choose another form, such as [[template:prettytable|prettytable]]). | You can use this for an easy collapsible box. Just use <code><nowiki>{{collapse|your table}}</nowiki></code> to get a show/hide option. The <code>size</code> parameter can be specified (just the number) (default 235px), as can the <code>style</code> parameter (default "background:transparent") and the <code>class</code> parameter (default wikitable, you can also choose another form, such as [[template:prettytable|prettytable]]). | ||
=== See also === | |||
* {{tl|collapse top}} / {{tl|collapse bottom}} | |||
<includeonly> | <includeonly> | ||
Версия 08:33, 12 марта 2009
You can use this for an easy collapsible box. Just use {{collapse|your table}} to get a show/hide option. The size parameter can be specified (just the number) (default 235px), as can the style parameter (default "background:transparent") and the class parameter (default wikitable, you can also choose another form, such as prettytable).
See also
- {{collapse top}} / {{collapse bottom}}