FANDOM


local utils = require("Module:Utils")
local InfoboxUtils = require("Module:InfoboxUtils")
local yesno = require('Dev:Yesno')
local p = {}
 
 p._format_membership = function(args)
    local bc = args.membership or args.bc
    if bc == "BC" then
        return "Builder's Club"
    elseif bc == "TBC" then
        return "Turbo Builder's Club"
    elseif bc == "OBC" then
        return "Outrageous Builder's club"
    elseif bc == "NBC" then
        return utils.error_message("Do not use NBC as a membership type.  If they have no membership, leave this argument blank.")
    elseif bc == "bc" or bc == "tbc" or bc == "tbc" then
        return utils.error_message("Please capitalize the membership (BC, TBC, OBC).")
    else
     return   utils.error_message("Invalid BC type.  Must be BC, TBC, or OBC.")
        end
end
 
p.format_membership=utils.make_wrapper_function(p._format_membership)
 
p._format_Admin = function(args)
    if yesno(args.admin) then
        return "[[ROBLOX Administrator]]"
    end
end
 
p.format_Admin=utils.make_wrapper_function(p._format_Admin)
 
p._format_place_visits = function(args)
    return InfoboxUtils.round_number(args["place visits"], 10000, "Players with less than 600000 place visits", 600000)
end
 
p.format_place_visits=utils.make_wrapper_function(p._format_place_visits)
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.