Jump to content

Module:Sandbox/MSGJ

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by MSGJ (talk | contribs) at 17:25, 14 March 2024. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
require('strict')
local p = {}

p.main = function()
	local tab = {
		description = "",
		params = {
	        one = {
	        	label = "Example parameter",
	        	description = "Example parameter description",
	            type = "string"
	    	}
		}
	}
	local class = {
		label = 'class',
		description = 'Assess the quality of the article',
		example = 'C',
		suggested = true,
		suggestedvalues = {'Stub', 'Start', 'C', 'B', 'A', 'List', 'GA', 'FA', 'FL'}
	}
	return mw.text.jsonEncode(class)
end

return p