Jump to content

Module:Contentious topics/aware

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Galobtter (talk | contribs) at 12:35, 26 May 2019 (hm). 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 content = mw.title.getCurrentTitle():getContent()
	codes = string.match(content, "{{Ds/aware|topic =%s+([%a,]+)")
	return frame:preprocess("<span style = 'font-size:200%; font-weight: bold'>User has indicated that they are aware of the topics {{mono|"
		..codes.."}}. They should not be alerted of these discretionary sanction areas again.</span>")
end

return p