Module:If empty

From Rothwell Wiki

Documentation for this module may be created at Module:If empty/doc

--This moduel uses material from the Wikipedia module of the same name, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License
local p = {}

function p.main(frame)
	local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false})

	for k,v in ipairs(args) do
		if v ~= '' then
			return v
		end
	end

end

return p
Cookies help us deliver our services. By using our services, you agree to our use of cookies.