Plugin Group Stat
Introduced in Tiki4
This wiki plugin is used to show the distribution of users among a list of groups.
Parameters
Show the distribution of users among groupsIntroduced in Tiki 4.
Go to the source code
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
(body of plugin) | Title | |||
groups |
separator: : |
Select one or more groups. If none selected, 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 |
Examples
Using percent of site users
This code:
Copy to clipboard
{groupstat percent_of="site"}
Would produce on this site:
Group Name | Number of Users | Percentage of Total |
---|---|---|
Admins | 35 | 0.30% |
DocContributors | 10 | 0.09% |
DocTwoAdmins | 22 | 0.19% |
DocTwoEditors | 14 | 0.12% |
Team Developers | 352 | 3.06% |
Screenshot
Here's a screenshot of an example listing showing numeric percentages: