Template:Userboxgroup: Difference between revisions
Jump to navigation
Jump to search
wp>Frietjes (fix navbox class) |
RandomUser34 (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 17:41, 5 December 2022
Userboxes |
---|
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!
Usage[edit source]
{{Userboxgroup |title= |collapsed= |content= }}
Example[edit source]
{{Userboxgroup
|title=My Userboxes
|collapsed=True
|content={{User wikipedia}}
}}
outputs:
My Userboxes |
---|
Parameters[edit source]
Parameter | Description |
---|---|
collapsed
|
If not empty, the userbox group will be collapsed. |
title
|
The heading displayed at the top of the userbox group. |
content
|
Aliases 1 The contents of the userbox group.
|
See also[edit source]
- {{userboxtop}}
- {{userboxbottom}}
- {{userboxbreak}}
- {{userboxside}}
TemplateStyles' src
attribute must not be empty.
The above documentation is transcluded from Template:Userboxgroup/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |