Module:DYK checklist/data: Difference between revisions

From PsiForum
Jump to navigation Jump to search
(Created page with 'local frame = mw.getCurrentFrame() return { responseIcons = { YES = frame:expandTemplate{title = 'y'}, NO = frame:expandTemplate{title = 'n'}, UNKNOWN = frame:expandTemplate{title = 'hmmm'}, }, statusIcons = { YES_AGF = '16px', YES = '16px', NO = '16px', QUESTION = '16px', MAYBE = '[[File:Symbol possible vote.svg|16p...')
 
(No difference)

Latest revision as of 15:05, 9 February 2022

Documentation for this module may be created at Module:DYK checklist/data/doc

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]]',
	},
}