Template:Userboxgrouptop

From OpenStreetMap Wiki
Jump to navigation Jump to search
Userboxes
[Edit] [Purge] Template-info.svg Template documentation

Description

Allows Userboxes to be (sub-)grouped in a collapsible table. Must be used in conjunction with {{Userboxgroupbottom}}.

Usage

{{Userboxgrouptop|title|yes/no}}
…
{{Userboxgroupbottom}}

The first parameter (the title) may be left empty to use the default “Userboxes”. The second parameter determines whether to collapse the group by default; the default value is no.


Example

{{Userboxtop}}
{{User username|Example User}}
{{Userboxgrouptop|Social|yes}}
{{User Discord|Example#1234}}
{{User Telegram|Example_User}}
{{Userboxgroupbottom}}
{{User JOSM}}
{{Userboxbottom}}

Output:

Userboxes
OSM Logo This user submits data to OpenStreetMap under the name
Example User.
Social
Discord Logo Userboxgrouptop uses Discord as @Example#1234
Telegram user Userboxgrouptop uses Telegram as @Example_User
JOSM Userboxgrouptop submits data to OpenStreetMap using JOSM.