Jump to content

Module:Sandbox/ProcrastinatingReader

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by ProcrastinatingReader (talk | contribs) at 13:22, 24 May 2021 (try something). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local p = {}

function p.main(frame)
	local tname = "ArbCom Arab-Israeli enforcement"
	local page = mw.title.new(frame:getTitle())
	local content = page:getContent()
	content = string.match(content, '{{' .. tname)
	
	if content then
		return "1"
	else
		return "0"
	end
end

return p