Module:Disguise

local utils = require("Module:Utility")

local p = {}

function p._format_grouping(args) if args.grouping == "None" or args.grouping == "N" or args.grouping == "n" or args.grouping == "none" then return "No Grouping " elseif args.grouping == "StarterPack" or args.grouping == "Gold" or args.grouping == "Diamond" then return ""..args.grouping.."".."" else return utils.error_message("'grouping' must be 'n', 'StarterPack', 'Gold', or 'Diamond'") end end

p.format_grouping = utils.make_wrapper_function(p._format_grouping)

return p