Jump to content

Module:DYK checklist/data

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mr. Stradivarius (talk | contribs) at 02:43, 8 October 2018 (Protected "Module:DYK checklist/data": High-risk Lua module: ~1300 transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local frame = mw.getCurrentFrame()

return {
	responseIcons = {
		YES = frame:expandTemplate{title = 'y'},
		NO = frame:expandTemplate{title = 'n'},
		UNKNOWN = frame:expandTemplate{title = 'hmmm'},
	},
	statusIcons = {
		YES_AGF = '[[File:Symbol voting keep.svg|16px]]',
		YES = '[[File:Symbol confirmed.svg|16px]]',
		NO = '[[File:Symbol delete vote.svg|16px]]',
		QUESTION = '[[File:Symbol question.svg|16px]]',
		MAYBE = '[[File:Symbol possible vote.svg|16px]]',
		AGAIN = '[[File:Symbol redirect vote 4.svg|16px]]',
	},
}