梨子什么季节成熟| 李莫愁的徒弟叫什么| 十月八号是什么星座| 梦见给别人剪头发是什么意思| 排酸肉是什么意思| bra什么意思| 过敏性鼻炎用什么药效果好| 女生真空是什么意思| 吃什么变聪明| 管理的本质是什么| 血精和精囊炎吃什么药| 血压是什么意思| 龙井茶属于什么茶| mra是什么药| 心机血缺血吃什么药最好| 喝苹果醋有什么好处| 小腿浮肿是什么原因引起的| 路政是干什么的| 醋泡黑豆有什么功效| 猪肉什么馅的饺子好吃| 10月9号是什么星座| 戒烟有什么好处| 送女生礼物送什么好| 孕晚期高血压对胎儿有什么影响| 小便少是什么原因| 分解酒精的是什么酶| 狗狗窝咳吃什么药最好| 护士要什么学历| 乌龟一般吃什么东西| 车仔面为什么叫车仔面| 什么化妆品好| 月经迟迟不来是什么原因| 吃南瓜子有什么好处| 双月刊什么意思| 肺大泡用什么药| 牙周炎是什么| 肾内科是看什么病的| 史诗级什么意思| 狼的天敌是什么动物| 什么人骗别人也骗自己| 一千年前是什么朝代| 反应蛋白高是什么意思| 去胎毒吃什么最好| 半硬半软是什么症状| 什么人不能坐飞机| 糖醋鱼用什么鱼| 什么除湿气效果最好| lpl是什么| 乞巧节是什么节| 婴儿补铁吃什么铁剂| 二便是什么意思| 补血补气吃什么最快最好| 东南方五行属什么| 屁多吃什么药| 源源不断是什么意思| 胎动频繁是什么原因| 木耳中毒什么症状| 鹿茸有什么功效| 喝黑枸杞有什么好处| 孕妇吃什么对胎儿好| 梦见针是什么意思| 淋巴结肿大用什么药| 小燕子的尾巴像什么| 口且念什么| 高血压突然变成低血压是什么原因| 小便粉红色是什么原因| 气血两虚是什么意思| 费洛蒙是什么| 牙结石是什么| 少尉军衔是什么级别| 梦见死人了是什么意思| 1213是什么日子| 黑洞里面有什么| 胃息肉是什么症状| 开边珠牛皮是什么意思| 脚背浮肿是什么原因引起的| 气血淤堵吃什么药| 抗核小体抗体阳性说明什么| 炖牛肉不能放什么调料| 过敏性鼻炎吃什么药好的快| 注音是什么| 邮政ems是什么意思| 液体变固体叫什么| 什么是反物质| 右肾结晶是什么意思| 女人八卦是什么意思| 溺爱什么意思| pin是什么意思| 心肌病吃什么药| 贤淑是什么意思| 倪字五行属什么| 兆以上的计数单位是什么| 烤箱可以烤些什么东西| 错峰是什么意思| 顺丰为什么这么快| 黄菡和黄澜什么关系| 什么的小手| 这是什么车| csf是什么意思| 喝藏红花有什么好处| 毛泽东的女儿为什么姓李| 血凝是什么意思| 木槿花什么时候开花| 多囊有什么症状| 巴沙鱼是什么鱼| 电脑pin是什么意思| 内招是什么意思| 太后是什么意思| 为什么老流鼻血| 相思病是什么意思| 尿结石是什么引起的| 乳房结节挂什么科室| 火牛命五行缺什么| 语言障碍挂什么科| fop是什么意思| 啤酒加味精有什么作用| 牛油果核有什么用| 嘴唇发紫是什么原因引起的| 什么时候能测出怀孕| 愚痴是什么意思| 送什么生日礼物给妈妈| 6月20日是什么星座| 白条是什么| 一什么冰雹| 数字7的风水含义是什么| 补气血喝什么茶| 老虎拉车的歇后语是什么| 虎口长痣代表什么| 镭是什么| 汶字五行属什么| 蚰蜒是什么| 彩字五行属什么| 早期唐筛是检查什么| 猪脚炖什么| 龙是什么命| 整装待发是什么意思| 清秋是什么意思| 胃痛胃胀什么原因引起的| 被毒蛇咬了有什么症状| 仰面朝天是什么生肖| 右眼皮一直跳什么预兆| 滔滔不绝的绝什么意思| 太后是什么意思| 一倍是什么意思| 高血压挂号要挂什么科| 甲状腺是由什么引起的| 吃绿豆有什么好处| 梦见奶奶死了是什么意思| 什么是喜欢什么是爱| 三叉神经挂什么科| 201是什么意思| 信的拼音是什么| 害怕什么| 偷鸡不成蚀把米是什么意思| 三个土什么字| 破月什么意思| 努尔哈赤是什么意思| 打飞机是什么| 什么叫老人临终骨折| 什么是分子| 扁桃体发炎能吃什么水果| 什么人容易得布病| 身体上有小红点是什么病| 经常放屁吃什么药| 喰种是什么意思| 艾草泡脚有什么功效| 两小无猜是什么意思| 异位性皮炎是什么意思| 良民是什么意思| 礼五行属什么| 100年前是什么朝代| rca是什么意思| 做蛋糕需要什么食材| 什么叫游走性关节疼痛| 慷慨什么意思| 炼奶是什么| 憩是什么意思| p是什么意思医学| 卫生局是什么单位| 纪委书记是什么级别| 胃出血什么症状| 老是干咳嗽是什么原因| 美容美体是干什么的| 高级别上皮内瘤变是什么意思| 大姨妈提前是什么原因| 子宫肌瘤是什么| 内分泌是什么意思| 莲子吃了有什么好处| 脸颊为什么会凹陷| 陶渊明是什么先生| 上升星座是什么意思| 为什么肚子越来越大| 百香果什么时候吃最好| aq是什么标准| 母亲节一般送什么礼物| 今年夏天为什么这么热| 相识是什么意思| 痣发痒是什么原因| 心度高血压是什么意思| 比熊吃什么牌子狗粮好| 蒲公英和什么一起泡水喝最好| 口苦口干吃什么药| 小姨是什么关系| 肠漏是什么| 什么是地震| 爱出汗是什么原因女人| 附件囊肿吃什么药可以消除| 博美犬吃什么狗粮最好| 流鼻涕咳嗽吃什么药| 为什么心慌| 附睾炎吃什么药最有效| 音召念什么| 查血压高挂什么科室| 流汗多是什么原因| 密度单位是什么| 除牛反绒是什么意思| 口苦是什么病| 排异是什么意思| 排骨焖什么好吃| 什么是体液| 2月1日什么星座| 大便颜色发黑是什么原因| 88.88红包代表什么意思| sg什么意思| 打九价是什么意思| 大闸蟹什么时候吃| 花椰菜是什么菜| 在家做什么小生意| 土加亥念什么| 红花配绿叶是什么意思| 慢性非萎缩性胃炎伴糜烂是什么意思| 狗发烧吃什么药| 痛风是什么病| 什么不同成语| 然五行属性是什么| 癫痫患者不能吃什么| 脚底发凉是什么原因| 623是什么意思| 老是口腔溃疡是什么原因| 农垦局是什么性质单位| 丙肝是什么| 重阳节应该吃什么| 解压密码是什么| 去草原穿什么衣服拍照好看| 敛肺是什么意思| 岫玉是什么玉| 庭字五行属什么| 猪日冲蛇什么意思| 查怀孕挂什么科| mf是什么| 吃什么可以增大阴茎| 什么可以祛斑| 林檎是什么意思| 长沙为什么叫星城| 什么是夹腿| 儿童遗尿挂什么科| 爱情是什么| 蝉什么时候出来| 桃子是什么季节的水果| 什么的清香| 光影什么| 偶发室性期前收缩是什么意思| 丁香茶有什么作用和功效| 心功能不全是什么意思| 百度???? ??

成都:制造业创新示范中心 最高一次性补助100万元

????, ?? ??? ???.
?? ????[???]
百度 据共同社3月21日报道,这是继2016年之后的第二次教育部长会议。
-- This is a meta-module for producing message box templates, including
-- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}.

-- Load necessary modules.
require('strict')
local getArgs
local categoryHandler = require('Module:Category handler')._main
local yesno = require('Module:Yesno')
local localize = mw.loadData('Module:Message box/localize')

-- Get a language object for formatDate and ucfirst.
local lang = mw.language.getContentLanguage()

-- Define constants
local CONFIG_MODULE = 'Module:Message box/configuration'

--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------

local function getTitleObject(...)
	-- Get the title object, passing the function through pcall
	-- in case we are over the expensive function count limit.
	local success, title = pcall(mw.title.new, ...)
	if success then
		return title
	end
end

local function union(t1, t2)
	-- Returns the union of two arrays.
	local vals = {}
	for i, v in ipairs(t1) do
		vals[v] = true
	end
	for i, v in ipairs(t2) do
		vals[v] = true
	end
	local ret = {}
	for k in pairs(vals) do
		table.insert(ret, k)
	end
	table.sort(ret)
	return ret
end

local function getArgNums(args, prefix)
	local nums = {}
	for k, v in pairs(args) do
		local num = mw.ustring.match(tostring(k), '^' .. prefix .. '([1-9]%d*)$')
		if num then
			table.insert(nums, tonumber(num))
		end
	end
	table.sort(nums)
	return nums
end

local function getDate(date)
	-- convert yyyy-mm or yyyy-mm-dd to 'yyyy? m?'
	local pattern1 = '^(%d%d%d%d)-(%d%d?)$'
	local pattern2 = '^(%d%d%d%d)-(%d%d?)-(%d%d?)$'

	if date then
		local y, m, _
		
		y, m = date:match(pattern1)
		if not y then
			y, m, _ = date:match(pattern2)
		end
		
		local yy, mm = tonumber(y), tonumber(m)
		
		if yy and mm and yy > 2000 and yy < 2100 and mm > 0 and mm < 13 then
			return yy .. '? ' .. mm .. '?'
		end
	end
	
	return date
end

--------------------------------------------------------------------------------
-- Box class definition
--------------------------------------------------------------------------------

local MessageBox = {}
MessageBox.__index = MessageBox

function MessageBox.new(boxType, args, cfg)
	args = args or {}
	local obj = {}

	-- Set the title object and the namespace.
	obj.title = getTitleObject(args.page) or mw.title.getCurrentTitle()

	-- Set the config for our box type.
	obj.cfg = cfg[boxType]
	if not obj.cfg then
		local ns = obj.title.namespace
		-- boxType is "mbox" or invalid input
		if ns == 0 then
			obj.cfg = cfg.ambox -- main namespace
		elseif ns == 6 then
			obj.cfg = cfg.imbox -- file namespace
		elseif ns == 14 then
			obj.cfg = cfg.cmbox -- category namespace
		else
			local nsTable = mw.site.namespaces[ns]
			if nsTable and nsTable.isTalk then
				obj.cfg = cfg.tmbox -- any talk namespace
			else
				obj.cfg = cfg.ombox -- other namespaces or invalid input
			end
		end
	end

	-- Set the arguments, and remove all blank arguments except for the ones
	-- listed in cfg.allowBlankParams.
	do
		local newArgs = {}
		for k, v in pairs(args) do
			if v ~= '' then
				newArgs[k] = v
			end
		end
		for i, param in ipairs(obj.cfg.allowBlankParams or {}) do
			newArgs[param] = args[param]
		end
		obj.args = newArgs
	end

	-- Define internal data structure.
	obj.categories = {}
	obj.classes = {}

	return setmetatable(obj, MessageBox)
end

function MessageBox:addCat(ns, cat, sort)
	if not cat then
		return nil
	end
	if sort then
		cat = string.format('[[??:%s|%s]]', cat, sort)
	else
		cat = string.format('[[??:%s]]', cat)
	end
	self.categories[ns] = self.categories[ns] or {}
	table.insert(self.categories[ns], cat)
end

function MessageBox:addClass(class)
	if not class then
		return nil
	end
	table.insert(self.classes, class)
end

function MessageBox:setParameters()
	local args = self.args
	local cfg = self.cfg

	-- Get type data.
	self.type = args.type
	local typeData = cfg.types[self.type]
	self.invalidTypeError = cfg.showInvalidTypeError
		and self.type
		and not typeData
	typeData = typeData or cfg.types[cfg.default]
	self.typeClass = typeData.class
	self.typeImage = typeData.image

	-- Find if the box has been wrongly substituted.
	self.isSubstituted = cfg.substCheck and args.subst == 'SUBST'

	-- Find whether we are using a small message box.
	self.isSmall = cfg.allowSmall and (
		cfg.smallParam and args.small == cfg.smallParam
		or not cfg.smallParam and yesno(args.small)
	)

	-- Add attributes, classes and styles.
	self.id = args.id
	if yesno(args.plainlinks) ~= false then
		self:addClass('plainlinks')
	end
	for _, class in ipairs(cfg.classes or {}) do
		self:addClass(class)
	end
	if self.isSmall then
		self:addClass(cfg.smallClass or 'mbox-small')
	end
	self:addClass(self.typeClass)
	self:addClass(args.class)
	self.style = args.style
	self.attrs = args.attrs

	-- Set text style.
	self.textstyle = args.textstyle

	-- Find if we are on the template page or not. This functionality is only
	-- used if useCollapsibleTextFields is set, or if both cfg.templateCategory
	-- and cfg.templateCategoryRequireName are set.
	self.useCollapsibleTextFields = cfg.useCollapsibleTextFields
	if self.useCollapsibleTextFields
		or cfg.templateCategory
		and cfg.templateCategoryRequireName
	then
		self.name = args.name
		if self.name then
			local templateName = mw.ustring.match(
				self.name,
				'^[tT][eE][mM][pP][lL][aA][tT][eE][%s_]*:[%s_]*(.*)$'
			) or self.name
			templateName = 'Template:' .. templateName
			self.templateTitle = getTitleObject(templateName)
		end
		self.isTemplatePage = self.templateTitle
			and mw.title.equals(self.title, self.templateTitle)
	end

	-- Process data for collapsible text fields. At the moment these are only
	-- used in {{ambox}}.
	if self.useCollapsibleTextFields then
		-- Get the self.issue value.
		if self.isSmall and args.smalltext then
			self.issue = args.smalltext
		else
			local sect
			if args.sect == '' then
				sect = 'This ' .. (cfg.sectionDefault or 'page')
			elseif type(args.sect) == 'string' then
				sect = 'This ' .. args.sect
			end
			local issue = args.issue
			issue = type(issue) == 'string' and issue ~= '' and issue or nil
			local text = args.text
			text = type(text) == 'string' and text or nil
			local issues = {}
			table.insert(issues, sect)
			table.insert(issues, issue)
			table.insert(issues, text)
			self.issue = table.concat(issues, ' ')
		end

		-- Get the self.talk value.
		local talk = args.talk
		-- Show talk links on the template page or template subpages if the talk
		-- parameter is blank.
		if talk == ''
			and self.templateTitle
			and (
				mw.title.equals(self.templateTitle, self.title)
				or self.title:isSubpageOf(self.templateTitle)
			)
		then
			talk = '#'
		elseif talk == '' then
			talk = nil
		end
		if talk then
			-- If the talk value is a talk page, make a link to that page. Else
			-- assume that it's a section heading, and make a link to the talk
			-- page of the current page with that section heading.
			local talkTitle = getTitleObject(talk)
			local talkArgIsTalkPage = true
			if not talkTitle or not talkTitle.isTalkPage then
				talkArgIsTalkPage = false
				talkTitle = getTitleObject(
					self.title.text,
					mw.site.namespaces[self.title.namespace].talk.id
				)
			end
			if talkTitle and talkTitle.exists then
				local talkText = '??? ?? ??? ????? '
				if talkArgIsTalkPage then
					talkText = string.format(
						'%s [[%s|%s]]?? ??? ???.',
						talkText,
						talk,
						talkTitle.prefixedText
					)
				else
					talkText = string.format(
						'%s [[%s#%s|?? ??]]?? ??? ???.',
						talkText,
						talkTitle.prefixedText,
						talk
					)
				end
				self.talk = talkText
			end
		end

		-- Get other values.
		self.fix = args.fix ~= '' and args.fix or nil
		local date
		if args.date and args.date ~= '' then
			date = args.date
		elseif args.date == '' and self.isTemplatePage then
			date = lang:formatDate('Y? n?')
		end
		if date then
			self.date = string.format(" <small>(%s)</small>", date)
		end
		self.info = args.info
		if yesno(args.removalnotice) then
			self.removalNotice = cfg.removalNotice
		end
	end

	-- Set the non-collapsible text field. At the moment this is used by all box
	-- types other than ambox, and also by ambox when small=yes.
	if self.isSmall then
		self.text = args.smalltext or args.text
	else
		self.text = args.text
	end

	-- Set the below row.
	self.below = cfg.below and args.below

	-- General image settings.
	self.imageCellDiv = not self.isSmall and cfg.imageCellDiv
	self.imageEmptyCell = cfg.imageEmptyCell
	if cfg.imageEmptyCellStyle then
		self.imageEmptyCellStyle = 'border:none;padding:0px;width:1px'
	end

	-- Left image settings.
	local imageLeft = self.isSmall and args.smallimage or args.image
	if cfg.imageCheckBlank and imageLeft ~= 'blank' and imageLeft ~= 'none'
		or not cfg.imageCheckBlank and imageLeft ~= 'none'
	then
		self.imageLeft = imageLeft
		if not imageLeft then
			local imageSize = self.isSmall
				and (cfg.imageSmallSize or '30x30px')
				or '40x40px'
			self.imageLeft = string.format('[[File:%s|%s|link=|alt=]]', self.typeImage
				or 'Information icon4.svg', imageSize)
		end
	end

	-- Right image settings.
	local imageRight = self.isSmall and args.smallimageright or args.imageright
	if not (cfg.imageRightNone and imageRight == 'none') then
		self.imageRight = imageRight
	end
end

function MessageBox:setMainspaceCategories()
	local args = self.args
	local cfg = self.cfg

	if not cfg.allowMainspaceCategories then
		return nil
	end

	local nums = {}
	for _, prefix in ipairs{'cat', 'category', 'all'} do
		args[prefix .. '1'] = args[prefix]
		nums = union(nums, getArgNums(args, prefix))
	end

	-- The following is roughly equivalent to the old {{Ambox/category}}.
	local date = args.date
	date = type(date) == 'string' and date
	local preposition = 'from'
	for _, num in ipairs(nums) do
		local mainCat = args['cat' .. tostring(num)]
			or args['category' .. tostring(num)]
		local allCat = args['all' .. tostring(num)]
		mainCat = type(mainCat) == 'string' and mainCat
		allCat = type(allCat) == 'string' and allCat
		if mainCat and date and date ~= '' then
			local catTitle = string.format('%s/%s', mainCat, date)
			self:addCat(0, catTitle)
			catTitle = getTitleObject('??:' .. catTitle)
			if not catTitle or not catTitle.exists then
				self:addCat(0, '?? ??? ???? ?? ?? ?? ??')
			end
		elseif mainCat and (not date or date == '') then
			self:addCat(0, mainCat)
		end
		if allCat then
			self:addCat(0, allCat)
		end
	end
end

function MessageBox:setTemplateCategories()
	local args = self.args
	local cfg = self.cfg

	-- Add template categories.
	if cfg.templateCategory then
		if cfg.templateCategoryRequireName then
			if self.isTemplatePage then
				self:addCat(10, cfg.templateCategory)
			end
		elseif not self.title.isSubpage then
			self:addCat(10, cfg.templateCategory)
		end
	end
end

function MessageBox:setAllNamespaceCategories()
	-- Set categories for all namespaces.
	if self.invalidTypeError then
		local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText
		self:addCat('all', '??? ???? ?? ??', allSort)
	end
	if self.isSubstituted then
		self:addCat('all', '?? ??? ?? ??? ??')
	end
end

function MessageBox:setCategories()
	if self.title.namespace == 0 then
		self:setMainspaceCategories()
	elseif self.title.namespace == 10 then
		self:setTemplateCategories()
	end
	self:setAllNamespaceCategories()
end

function MessageBox:renderCategories()
	-- Convert category tables to strings and pass them through
	-- [[Module:Category handler]].
	return categoryHandler{
		main = table.concat(self.categories[0] or {}),
		template = table.concat(self.categories[10] or {}),
		all = table.concat(self.categories.all or {}),
		nocat = self.args.nocat,
		page = self.args.page
	}
end

function MessageBox:export()
	local root = mw.html.create()

	-- Add the subst check error.
	if self.isSubstituted and self.name then
		root:tag('b')
			:addClass('error')
			:wikitext(string.format(
				'<code>%s[[?:%s|%s]]%s</code> ?? ?? ???????.',
				mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
			))
	end

	-- Create the box table.
	local boxTable = root:tag('table')
	boxTable:attr('id', self.id or nil)
	for i, class in ipairs(self.classes or {}) do
		boxTable:addClass(class or nil)
	end
	boxTable
		:cssText(self.style or nil)
		:attr('role', 'presentation')

	if self.attrs then
		boxTable:attr(self.attrs)
	end

	-- Add the left-hand image.
	local row = boxTable:tag('tr')
	if self.imageLeft then
		local imageLeftCell = row:tag('td'):addClass('mbox-image')
		if self.imageCellDiv then
			-- If we are using a div, redefine imageLeftCell so that the image
			-- is inside it. Divs use style="width: 52px;", which limits the
			-- image width to 52px. If any images in a div are wider than that,
			-- they may overlap with the text or cause other display problems.
			imageLeftCell = imageLeftCell:tag('div'):css('width', '52px')
		end
		imageLeftCell:wikitext(self.imageLeft or nil)
	elseif self.imageEmptyCell then
		-- Some message boxes define an empty cell if no image is specified, and
		-- some don't. The old template code in templates where empty cells are
		-- specified gives the following hint: "No image. Cell with some width
		-- or padding necessary for text cell to have 100% width."
		row:tag('td')
			:addClass('mbox-empty-cell')
			:cssText(self.imageEmptyCellStyle or nil)
	end

	-- Add the text.
	local textCell = row:tag('td'):addClass('mbox-text')
	if self.useCollapsibleTextFields then
		-- The message box uses advanced text parameters that allow things to be
		-- collapsible. At the moment, only ambox uses this.
		textCell:cssText(self.textstyle or nil)
		local textCellSpan = textCell:tag('span')
		textCellSpan
			:addClass('mbox-text-span')
			:wikitext(self.issue or nil)
		if (self.talk or self.fix) and not self.isSmall then
			textCellSpan:tag('span')
				:addClass('hide-when-compact')
				:wikitext(self.talk and (' ' .. self.talk) or nil)
				:wikitext(self.fix and ('<br />' .. self.fix) or nil)
		end
		textCellSpan:wikitext(self.date and (' ' .. self.date) or nil)
		if self.info and not self.isSmall then
			textCellSpan
				:tag('span')
				:addClass('hide-when-compact')
				:wikitext(self.info and (' ' .. self.info) or nil)
		end
		if self.removalNotice then
			textCellSpan:tag('small')
				:addClass('hide-when-compact')
				:tag('i')
					:wikitext(string.format(" (%s)", self.removalNotice))
		end
	else
		-- Default text formatting - anything goes.
		textCell
			:cssText(self.textstyle or nil)
			:wikitext(self.text or nil)
	end

	-- Add the right-hand image.
	if self.imageRight then
		local imageRightCell = row:tag('td'):addClass('mbox-imageright')
		if self.imageCellDiv then
			-- If we are using a div, redefine imageRightCell so that the image
			-- is inside it.
			imageRightCell = imageRightCell:tag('div'):css('width', '52px')
		end
		imageRightCell
			:wikitext(self.imageRight or nil)
	end

	-- Add the below row.
	if self.below then
		boxTable:tag('tr')
			:tag('td')
				:attr('colspan', self.imageRight and '3' or '2')
				:addClass('mbox-text')
				:cssText(self.textstyle or nil)
				:wikitext(self.below or nil)
	end

	-- Add error message for invalid type parameters.
	if self.invalidTypeError then
		root:tag('div')
			:css('text-align', 'center')
			:wikitext(string.format(
				'? ??? ??? ???? ?? "type=%s" ??? ???? ???? ??? ?????.',
				self.type or ''
			))
	end

	-- Add categories.
	root:wikitext(self:renderCategories() or nil)

	return tostring(root)
end

--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------

local p, mt = {}, {}

function p._exportClasses()
	-- For testing.
	return {
		MessageBox = MessageBox
	}
end

function p.main(boxType, args, cfgTables)
	local newargs = {}
	for k, v in pairs(args) do
		newargs[localize.arg_map[k] or k] = v
	end
	if newargs.type ~= nil then
		newargs.type = localize.type_map[newargs.type] or newargs.type
	end
	if newargs.small ~= nil then
		newargs.small = localize.small_map[newargs.small] or newargs.small
	end
	
	if newargs.image == '??' then newargs.image = 'none' end
	if newargs.imageright == '??' then newargs.imageright = 'none' end
	if newargs.smallimage == '??' then newargs.smallimage = 'none' end
	if newargs.smallimageright == '??' then newargs.smallimageright = 'none' end
	if newargs.date then newargs.date = getDate(newargs.date) end

	local box = MessageBox.new(boxType, newargs, cfgTables or mw.loadData(CONFIG_MODULE))
	box:setParameters()
	box:setCategories()
	return box:export()
end

function mt.__index(t, k)
	return function (frame)
		if not getArgs then
			getArgs = require('Module:Arguments').getArgs
		end
		return t.main(k, getArgs(frame, {trim = false, removeBlanks = false}))
	end
end

return setmetatable(p, mt)
坐车头疼是什么原因 赵本山什么时候去世的 安抚奶嘴什么时候开始用 龙抄手是什么 圆圆的月亮像什么
屎壳郎的学名叫什么 分母是什么意思 驾临是什么意思 腿膝盖疼是什么原因 wis是什么牌子
mickey是什么牌子 轴位是什么 包子有什么馅的 来加贝念什么 和平是什么意思
什么是cosplay 老打嗝是什么原因 mc是什么意思啊 孕早期宫缩是什么感觉 pashmina是什么面料
国药准字号是什么意思ff14chat.com 今年是什么命hcv7jop5ns4r.cn psg是什么意思hcv9jop0ns9r.cn 睡觉嗓子干是什么原因hcv7jop6ns8r.cn 胃气不足吃什么中成药hcv9jop4ns3r.cn
牛马是什么意思bysq.com 冥想是什么hcv7jop4ns8r.cn 一个月一个非念什么baiqunet.com 牙疼是什么原因导致的hcv8jop8ns9r.cn 卧榻是什么意思hcv8jop5ns7r.cn
爬虫什么意思hcv9jop1ns2r.cn 清华大学前身叫什么hcv7jop7ns2r.cn 结婚20周年属于什么婚hcv9jop0ns5r.cn 肿瘤切开了里面是什么hcv8jop3ns6r.cn 农历8月13日是什么星座hcv9jop4ns6r.cn
手持吸尘器什么牌子好hcv8jop5ns2r.cn 小孩尿味道很重是什么原因dayuxmw.com 草龟吃什么hcv7jop9ns2r.cn 浓缩汁是什么意思hcv9jop1ns0r.cn 经常恶心干呕是什么原因shenchushe.com
百度