Module:Sandbox

From Wikisource
Jump to navigation Jump to search
Module documentation[create]
--[=[
Module description
]=]

local p = {} --p stands for package
local getArgs = require('Module:Arguments').getArgs

--[=[
Function docs
]=]
function p.css_thingy(frame)
	
	local args = getArgs(frame)
	
	if not (args[2] == nil or args[2] == '@std' or args[2] == args[3]) then
		return args[1] .. ':' .. args[2] .. ';'	
	end
	return ''
end

return p