Please remember that WiKirby contains spoilers, which you read at your own risk! See our general disclaimer for details.

Module:Moderator

From WiKirby, your independent source of Kirby knowledge.
Jump to navigationJump to search

Replaces the #switch implementation of Template:Moderator.


local p = {}
 
local usersData = mw.loadData( 'Module:Moderator/data' )
 
function p.users( frame )
    local usersText = frame.args[1]
 
    return usersData[usersText] -- Will return "y" if it exists on the table
end
 
return p