Template:Userboxgroup/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

A collapsible userbox group.

Purpose

[edit source]

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!

{{Userboxgroup
|title=
|collapsed=
|content=
}}

Example

[edit source]
{{Userboxgroup
|title=My Userboxes
|collapsed=True
|content={{User wikipedia}}
}}

outputs:

My Userboxes
This user is a Wikipedian.


Template Data

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Userboxgroup in articles based on its TemplateData.

TemplateData for Userboxgroup

A template for grouping userboxes as collapsible tables.

Template parameters

ParameterDescriptionTypeStatus
Collapsed:collapsed

If not empty, the userbox group will be collapsed.

Booleanoptional
extra-cssextra-css

no description

Unknownoptional
Titletitle

The heading displayed at the top of the userbox group.

Default
Userboxes
Example
My userboxes
Contentoptional
Contentcontent 1

The contents of the userbox group.

Example
{{User wikipedia}}
Unknownoptional

See also

[edit source]