Jump to content

Module:Check blp parameter

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by MSGJ (talk | contribs) at 20:32, 7 September 2024 (start). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

require('strict')
local p = {}

p.main = function(frame)
	local page = mw.title.getCurrentTitle().fullText
	local templates = mw.loadData('Module:WikiProject banner/config').banner_shell.redirects
	local getparam = function(p)
		require('Module:Template parameter value').getParameter(page, templates, p, {ignore_subtemplates=true, ignore_blank=true})
	end
	local shell_blp = getparam('blp')
	local shell_living = getparam('living')
end

return p