Module:Property

local member = require('Module:Member') local utils = require('Module:Utils') local link_type = require('Module:Type').link

local p = {}

function p._create(args) local tags = utils.array_to_set(utils.trim_positional_arguments(args)) local icon = 'Pubfield.gif' if tags['RobloxPlaceSecurity'] then icon = 'Privfield.gif' else for tag in pairs(tags) do           if tag:match('[Ss]ecurity') then icon = 'Protfield.gif' end end end return member._create { name = args.name; icon = icon; prefix = link_type(args.type); tags = tags; } end

p.create = utils.make_wrapper_function(p._create)

return p