require('strict')local p =
p.main = function(frame) local args = frame:getParent.args local yesno = require('Module:Yesno') local current_title = mw.title.getCurrentTitle local pagetype = require('Module:Pagetype')._main
if pagetype
'no' then -- bot does not run on user talk namespace return end
local templates = mw.loadData('Module:WikiProject banner/config').banner_shell.redirects local getparam = function(p) local TPVmodule = require('Module:Template parameter value').getParameter local success, param = TPVmodule(current_title.fullText, templates, p,) return success and param or nil end local check = function(p_table) local conflict = false local resolved for _, p in pairs(p_table) do local yn = yesno(p) -- check if "other" or "activepol" are set if p
'other' then yn = false -- other is treated as non-living end if yn
false then -- parameter is set if resolved
nil then if bio_resolved
'article' then out = 'Biography articles without living parameter' end else out = 'Pages using WikiProject Biography which need living parameter transferring' end elseif shell_resolved
return p