Template:Userboxgroup/doc
This is a documentation subpage for Template:Userboxgroup. It may contain usage information, categories and other content that is not part of the original template page. |
A collapsible userbox group.
Purpose
[edit]To group userboxes as collapsible tables.
If you wish to group your userboxes into expandable lists, one way of doing this is by using collapsible tables with certain classes.
Wikipedia's Mediawiki configuration attempts to make this happen through a combination of ECMAScript and CSS. This method is accessible to users with ECMAScript (jScript/JavaScript) disabled, and should work in most modern browsers (it is the method used by {{Navbox}}
). This works much better and simpler using normal wiki table markup!
Usage
[edit]{{Userboxgroup
|title=
|collapsed=
|content=
}}
Example
[edit]{{Userboxgroup
|title=My Userboxes
|collapsed=True
|content={{User wikipedia}}
}}
outputs:
My Userboxes | ||
---|---|---|
|
Template Data
[edit]TemplateData for Userboxgroup
A template for grouping userboxes as collapsible tables.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Collapsed: | collapsed | If not empty, the userbox group will be collapsed. | Boolean | optional |
extra-css | extra-css | no description | Unknown | optional |
Title | title | The heading displayed at the top of the userbox group.
| Content | optional |
Content | content 1 | The contents of the userbox group.
| Unknown | optional |
See also
[edit]- {{userboxtop}}
- {{userboxbottom}}
- {{userboxbreak}}
- {{userboxside}}