|
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
(body of plugin) | Title | |||
groups |
Groups, separated by ":". If empty, all groups will be listed. | 4.0 | ||
percent_of |
groups site |
Show percentage out of all users in site, or just those specified in the groups parameter. | groups | 8.0 |
show_bar |
(blank) y n |
Represent the percentage of total users that are members of each group in a bar graph (default is not to show the bar graph) | n | 4.0 |
show_percent |
(blank) y n |
Show the percentage of total users that are members of each group (percentages are shown by default) | y | 4.0 |
This code:
{groupstat percent_of="site"}
Would produce on this site:
Group Name | Number of Users | Percentage of Total |
---|---|---|
Admins | 34 | 0.30% |
DocContributors | 10 | 0.09% |
DocTwoAdmins | 21 | 0.18% |
DocTwoEditors | 13 | 0.11% |
Team Developers | 351 | 3.05% |
Here's a screenshot of an example listing showing numeric percentages: