Jump to content

Module:Banner shell

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by MSGJ (talk | contribs) at 21:55, 3 May 2023 (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)

local p = {}
local yesno = require("Module:Yesno")
p.main = function(frame)
	local out = ''
	local args = frame:getParent().args
	if yesno(args.blp) then
		out = out .. frame:expandTemplate{title = 'BLP'}
	elseif yesno(args.blpo) then
		out = out .. frame:expandTemplate{title = 'BLP others'}
	end
end
return p