3 | | Since r11327 (acct_mgr-0.4) the plugin offers some macros for TracWiki. |
| 4 | == Syntax == |
| 5 | {{{ |
| 6 | #!html |
| 7 | <div style="color:darkblue"> |
| 8 | }}} |
| 9 | `UserQuery` :: Wiki macro listing users that match certain criteria. |
| 10 | |
| 11 | This macro accepts a comma-separated list of keyed parameters, in the form |
| 12 | "key=value". Valid keys: |
| 13 | * '''perm''' -- show only that users, a permission action given by ''value'' |
| 14 | has been granted to |
| 15 | * '''locked''' -- retrieve users, who's account has/has not been locked |
| 16 | * '''format''' -- output style: 'count', 'list' or comma-separated values |
| 17 | (default) |
| 18 | * '''nomatch''' -- replacement wiki markup that is displayed, if there's |
| 19 | no match and output style isn't 'count' either |
| 20 | |
| 21 | 'count' is also recognized without prepended key name. Other non-keyed |
| 22 | parameters are: |
| 23 | * '''name''' -- forces replacement of maching username with their |
| 24 | corresponding full names, if available |
| 25 | * '''email''' -- append email address to usernames, if available |
| 26 | {{{ |
| 27 | #!html |
| 28 | </div> |
| 29 | }}} |
| 30 | |
| 31 | ==== Related issues ==== |
| 32 | '''#6616''' Invalid entries for usernames in table - originally ''wontfix'', moved over from UserStatsMacro[[BR]] |
| 33 | '''#9852''' Embed some user information in TracWiki - initial and primary development ticket |