Module:Userbox-level

--[=[ Implementation logic for Template:Userbox-level ]=]

local p = {} --p stands for package

local getArgs = require('Module:Arguments').getArgs local yesno = require('Module:Yesno') local text_direction = require('Module:Lang')._text_direction

--[=[ Make userbox ]=] function p.userbox_level(frame) local args = getArgs(frame) local level = args.level or 'N'	local lang = args.id or args.lang local info_text = args.info or '' local dir = text_direction({lang = lang}) local dir_param = 'dir="' .. dir .. '"' local level_class = 'mw-babel-box-' .. level local div_open = ''	local id_th = '' .. lang .. '-' .. level .. ' '	local info_td = '' .. info_text .. ' '	return div_open .. ' ' end

return p