Module:If preview

From Candypedia
Revision as of 06:45, 2 November 2024 by NeonWabbit (talk | contribs)

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

local p = {}
local getArgs = require("Module:Arguments").getArgs
local cfg = mw.loadData('Module:If preview/configuration')

-- Main function that returns nil to avoid any output
function p.main(frame)
	return nil
end

function p.pmain(frame)
	return nil
end

-- Simplified warning function that returns nil
local function warning_text(warning)
	return nil
end

function p._warning(args)
	return nil
end

-- Commented out warning functions to prevent any output
-- function p.warning(frame)
-- 	return nil
-- end

function p.pwarning(frame)
	return nil
end

function p.warn(text)
	return nil
end

function p.consoleWarning(frame)
	return nil
end

return p