Jump to content

Module:Is the arbitration proposed decision posted

From Calamity Wiki
Revision as of 00:58, 15 April 2026 by imported>HouseBlaster (check the right page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#invoke:Is the arbitration proposed decision posted|main|''case name goes here''}} returns yes if the proposed decision of case name has been posted and the empty string if it has not. This is detected by the removal of an HTML comment which is included in the proposed decision template, but removed when the first principle is posted. The case name should not include the Wikipedia:Arbitration/Requests/Case/ prefix.



local p = {}

function p.main(frame)
	args = require('Module:Arguments').getArgs(frame)
	return mw.ustring.find(mw.title.new("Wikipedia:Arbitration/Requests/Case/" .. args[1] .. "/Proposed decision").content or "", "remove this comment", 1, true) and '' or 'yes'
end

return p