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 01:15, 7 November 2016 (create data module for Module:DYK checklist). 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 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]]',
	},
}