Jump to content

Module:UsersInGroup

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Raph Williams65 (talk | contribs) at 16:42, 27 April 2025 (Added style). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

-- This module implements the template {{UsersInGroup}}
local p = {}

function p.main( frame )
           usersInGroup = mw.site.stats.usersInGroup(frame.args.group)
           Group = frame.args.group
           color = frame.args.color or ''
          return '<div style="background-color:' .. color .. '">UsersInGroup: ' .. Group .. ' = ' .. usersInGroup .. '</div>'
end
return p