胃酸烧心吃什么药可以根治| 为什么一热就头疼| 九二年属猴的是什么命| 胃功能三项检查是什么| 属鼠的守护神是什么菩萨| sg什么意思| 419是什么意思| 血压200意味着什么| 二月一号是什么星座| 什么是外心| 蜂蜜不能和什么食物一起吃| 什么是三界五行| 浮想联翩是什么意思| 骶髂关节在什么位置| 00年是什么年| 鸟屎掉脸上有什么预兆| 心肾不交是什么意思| 克氏针是什么| 12月20是什么星座| 白细胞0是什么意思| 跻身是什么意思| 7月13日什么星座| 第一次世界大战是什么时候| 天珠是什么做的| 赎罪是什么意思| 胃造影和胃镜有什么区别| 什么少年| 汽车抖动是什么原因| 无缘无故流鼻血是什么原因| 嗜是什么意思| 炫是什么意思| 灰色配什么颜色好看| 芒果什么时候成熟| 力挺是什么意思| 地壳是什么| 觊觎是什么意思| 吃什么开胃增加食欲| 鹿代表什么生肖| 后背疼吃什么药| 血小板低吃什么补得快| 安宫牛黄丸什么时候吃最好| 爷爷的兄弟叫什么| 胎记是什么| 2022年属什么生肖| 疱疹是什么原因引起| 女人平胸是什么原因| 孕吐什么时候出现| 打喷嚏鼻塞吃什么药| 睡眠不足会引起什么症状| 儿童办护照需要什么证件| 嘴巴长疱疹用什么药| 肛门出血用什么药| 黄体功能不足吃什么药| 汉武帝属什么生肖| 乳腺导管局限性扩张是什么意思| 胃有火吃什么药| 淼读什么字| 守株待兔是什么意思| 打喷嚏流清鼻涕是什么感冒| 尿血什么原因| 天生丽质是什么生肖| 吃火龙果有什么好处和坏处| 脑梗复查挂什么科| 淋巴在什么部位| 蟋蟀吃什么食物| 身体肿是什么原因引起的| 鱼油有什么用| 上热下寒吃什么食物好| 骶管囊肿是什么意思| 九加虎念什么| 甲状旁腺分泌什么激素| 霉菌感染男性什么症状| 手足口病用什么药| 羊水指数是什么意思| 肾盂肾炎吃什么药| 胆结石吃什么水果好| 什么的浪花| 囊肿是什么原因造成的| 邮件号码是什么| 什么是梅尼埃综合症| 免疫力差吃什么| 落班是什么意思| 上面一个处下面一个日是什么字| dan是什么单位| 129什么星座| 他达拉非是什么药| 699是什么意思| 吃什么愈合伤口恢复最快| 宝宝拉水便是什么原因| 什么运动最减肥| 居士什么意思| 款式是什么意思| 什么动物没尾巴| 甲钴胺片主治什么病| 乳腺囊肿和乳腺结节有什么区别| 夏季吃什么水果好| 频繁什么意思| 皮肤为什么会痒| 吸入甲醛会有什么症状| 杀鸡吓什么| 梦到鱼是什么意思| 九月十号是什么节日| 年下恋是什么意思| 寒湿化热吃什么中成药| 手脚出汗什么原因| 供血不足吃什么药好| 莫代尔是什么面料| 热得什么| 言字旁可念什么| 雷锋属什么生肖| 吃地瓜叶有什么好处和坏处| 射频消融是什么手术| ppm是什么| 口腔溃疡可以吃什么药| 秋葵什么人不能吃| 阿尔山在内蒙古什么地方| 智齿是什么意思| 破关是什么意思| 腹茧症是什么病| 新生的什么| 下肢浮肿是什么原因| 寻麻疹看什么科| 激光脱毛对身体有什么危害| 心衰竭是什么病| 低蛋白血症是什么病| 低血压吃什么药效果好| 起诉离婚需要什么材料| 属什么生肖| 什么菜炒肉好吃| 苏轼是什么派词人| 备孕叶酸什么时候吃最好| 立是什么意思| 晚上两点是什么时辰| 镍是什么金属| 奥氮平片治疗什么病| 人有三急指的是什么| 想吐头晕是什么原因| 什么眼型最好看| 6.29是什么星座| pe材质是什么| 女人湿气太重喝什么茶| 老说梦话是什么原因| 刘德华属什么生肖| 民营企业和私营企业有什么区别| 成语什么争鸣| 站着腰疼是什么原因引起的| 正的五行属性是什么| 急性肠胃炎吃什么药效果好| 牙痛挂什么科| 儿童咽峡炎吃什么药| 公主抱是什么意思| 1958年属什么| 头发湿着睡觉有什么害处| 核桃什么时候吃最好| his系统是什么| 一个巾一个占念什么| 中央空调什么牌子好| 胃出血吃什么药好| 性功能下降吃什么药| 过期的洗面奶可以用来做什么| d代表什么| 复方阿胶浆适合什么样的人喝| 人生得意须尽欢是什么意思| 外阴瘙痒涂什么药膏| 白案是什么意思| 紫癜是什么病| 上火牙龈肿痛吃什么药| 女生肚子大是什么原因| 什么龙| vr间隙是什么意思| 什么叫直系亲属| 瘘是什么意思| 星芒是什么意思| 喝什么酒对身体好| 大学有什么专业适合女生| 坐飞机不能带什么东西| 为什么一吃饭就胃疼| 守护神是什么意思| 右脸长痣代表什么意思| 梦到和死人说话是什么意思| bpo是什么意思啊| 做b超需要挂什么科| 男人吃韭菜有什么好处| 为什么会吐| 自闭症是什么人投胎| 不禁是什么意思| 鸡拉白色稀粪吃什么药| 一边脸大一边脸小是什么原因| pct什么意思| 尿尿疼吃什么药| 迅雷不及掩耳之势是什么意思| 痢疾是什么原因引起的| 绞股蓝有什么作用| 办理护照需要什么资料| 宫腔镜检查主要查什么| 石榴木命是什么意思| 七五年属什么生肖| 菏泽有什么好玩的地方| 顶臀径是什么意思| 海肠是什么动物| 此言差矣是什么意思| 夹不住尿是什么原因| 五味子长什么样| 园五行属什么| 土鸡炖什么好吃| 雪藏是什么意思| 清炖鸡汤放什么调料| kp是什么| 魔鬼是什么意思| 梦见自己鞋子破了是什么意思| 挂绿荔枝为什么那么贵| 痉挛是什么意思啊| 肺气不足吃什么食物可以补肺气| 晚上咳嗽什么原因| 什么中生什么| 74年属虎是什么命| 宇字属于五行属什么| 唇系带断了有什么影响| 女生是什么意思| 雷蒙欣氨麻美敏片是什么药| 玻尿酸有什么作用| 脑梗吃什么药好| 胆囊在什么位置| 儿童热伤风吃什么药| 汁字五行属什么| 防蓝光眼镜有什么好处| 女生第一次是什么感觉| 尿肌酐是什么意思| 肌醇是什么| 结婚登记需要什么证件| 后背疼痛是什么原因| 冬瓜炒什么好吃| 洋葱吃了有什么好处| 嘴突然歪是什么原因造成的| 甲沟炎是什么引起的| 六月份什么星座| 复苏是什么意思| 刀口力念什么| 梦见做被子什么意思| 孕妇不能吃什么食物| 先算什么再算什么| cpf是什么意思| 记忆力减退是什么原因造成的| 细菌性前列腺炎吃什么药| 红枣和灰枣有什么区别| 血沉50说明什么原因| 上吐下泻吃什么| 九五年属什么生肖| 腹泻期间宜吃什么食物| 口腔溃疡喝什么饮料| 猴子屁股为什么是红色| 甲状腺挂什么科室| 瞌睡多是什么原因| 什么的风筝| 常流鼻血是什么原因| 散片是什么意思| 为什么会胸闷| elisa是什么检测方法| 心脏b超能查出什么| 如果是什么意思| 体位性低血压是什么| 早上起来眼睛肿是什么原因| 美女什么都没有穿| 小学生什么时候放假| 百度Prije?i na sadr?aj

4.15国家安全教育日宣传片——《船厂谍影》

Izvor: Wikipedija


local libUtil = require('libraryUtil')
local checkType = libUtil.checkType
local mTableTools = require('Module:TableTools')

local p = {}

local listTypes = {
	['bulleted'] = true,
	['unbulleted'] = true,
	['horizontal'] = true,
	['ordered'] = true,
	['horizontal_ordered'] = true
}

function p.makeListData(listType, args)
	-- Constructs a data table to be passed to p.renderList.
	local data = {}

	-- Classes and TemplateStyles
	data.classes = {}
	data.templatestyles = ''
	if listType == 'horizontal' or listType == 'horizontal_ordered' then
		table.insert(data.classes, 'hlist')
		data.templatestyles = mw.getCurrentFrame():extensionTag{
			name = 'templatestyles', args = { src = 'Hlist/styles.css' }
		}
	elseif listType == 'unbulleted' then
		table.insert(data.classes, 'plainlist')
		data.templatestyles = mw.getCurrentFrame():extensionTag{
			name = 'templatestyles', args = { src = 'Plainlist/styles.css' }
		}
	end
	table.insert(data.classes, args.class)

	-- Main div style
	data.style = args.style

	-- Indent for horizontal lists
	if listType == 'horizontal' or listType == 'horizontal_ordered' then
		local indent = tonumber(args.indent)
		indent = indent and indent * 1.6 or 0
		if indent > 0 then
			data.marginLeft = indent .. 'em'
		end
	end
	
	-- List style types for ordered lists
	-- This could be "1, 2, 3", "a, b, c", or a number of others. The list style
	-- type is either set by the "type" attribute or the "list-style-type" CSS
	-- property.
	if listType == 'ordered' or listType == 'horizontal_ordered' then 
		data.listStyleType = args.list_style_type or args['list-style-type']
		data.type = args['type']

		-- Detect invalid type attributes and attempt to convert them to
		-- list-style-type CSS properties.
		if data.type 
			and not data.listStyleType
			and not tostring(data.type):find('^%s*[1AaIi]%s*$')
		then
			data.listStyleType = data.type
			data.type = nil
		end
	end
	
	-- List tag type
	if listType == 'ordered' or listType == 'horizontal_ordered' then
		data.listTag = 'ol'
	else
		data.listTag = 'ul'
	end

	-- Start number for ordered lists
	data.start = args.start
	if listType == 'horizontal_ordered' then
		-- Apply fix to get start numbers working with horizontal ordered lists.
		local startNum = tonumber(data.start)
		if startNum then
			data.counterReset = 'listitem ' .. tostring(startNum - 1)
		end
	end

	-- List style
	 -- ul_style and ol_style are included for backwards compatibility. No
	 -- distinction is made for ordered or unordered lists.
	data.listStyle = args.list_style

	-- List items
	-- li_style is included for backwards compatibility. item_style was included
	-- to be easier to understand for non-coders.
	data.itemStyle = args.item_style or args.li_style
	data.items = {}
	for _, num in ipairs(mTableTools.numKeys(args)) do
		local item = {}
		item.content = args[num]
		item.style = args['item' .. tostring(num) .. '_style']
			or args['item_style' .. tostring(num)]
		item.value = args['item' .. tostring(num) .. '_value']
			or args['item_value' .. tostring(num)]
		table.insert(data.items, item)
	end
	
	return data
end

function p.renderList(data)
	-- Renders the list HTML.
	
	-- Return the blank string if there are no list items.
	if type(data.items) ~= 'table' or #data.items < 1 then
		return ''
	end
	
	-- Render the main div tag.
	local root = mw.html.create('div')
	for _, class in ipairs(data.classes or {}) do
		root:addClass(class)
	end
	root:css{['margin-left'] = data.marginLeft}
	if data.style then
		root:cssText(data.style)
	end

	-- Render the list tag.
	local list = root:tag(data.listTag or 'ul')
	list
		:attr{start = data.start, type = data.type}
		:css{
			['counter-reset'] = data.counterReset,
			['list-style-type'] = data.listStyleType
		}
	if data.listStyle then
		list:cssText(data.listStyle)
	end

	-- Render the list items
	for _, t in ipairs(data.items or {}) do
		local item = list:tag('li')
		if data.itemStyle then
			item:cssText(data.itemStyle)
		end
		if t.style then
			item:cssText(t.style)
		end
		item
			:attr{value = t.value}
			:wikitext(t.content)
	end

	return data.templatestyles .. tostring(root)
end

function p.renderTrackingCategories(args)
	local isDeprecated = false -- Tracks deprecated parameters.
	for k, v in pairs(args) do
		k = tostring(k)
		if k:find('^item_style%d+$') or k:find('^item_value%d+$') then
			isDeprecated = true
			break
		end
	end
	local ret = ''
	if isDeprecated then
		ret = ret .. '[[Category:List templates with deprecated parameters]]'
	end
	return ret
end

function p.makeList(listType, args)
	if not listType or not listTypes[listType] then
		error(string.format(
			"bad argument #1 to 'makeList' ('%s' is not a valid list type)",
			tostring(listType)
		), 2)
	end
	checkType('makeList', 2, args, 'table')
	local data = p.makeListData(listType, args)
	local list = p.renderList(data)
	local trackingCategories = p.renderTrackingCategories(args)
	return list .. trackingCategories
end

for listType in pairs(listTypes) do
	p[listType] = function (frame)
		local mArguments = require('Module:Arguments')
		local origArgs = mArguments.getArgs(frame, {
			valueFunc = function (key, value)
			if not value or not mw.ustring.find(value, '%S') then return nil end
			if mw.ustring.find(value, '^%s*[%*#;:]') then
				return value
			else
				return value:match('^%s*(.-)%s*$')
			end
			return nil
		end
		})
		-- Copy all the arguments to a new table, for faster indexing.
		local args = {}
		for k, v in pairs(origArgs) do
			args[k] = v
		end
		return p.makeList(listType, args)
	end
end

return p
嘴角烂了涂什么药 女人梦见棺材是什么征兆 梦见大蜘蛛是什么预兆 狼吞虎咽是什么生肖 铁路12306什么时候放票
做胃镜挂什么科 臭粉是什么东西 118号是什么星座 百依百顺是什么生肖 嘴唇起泡是什么原因
六月十三日是什么日子 和田玉五行属什么 洛神花有什么功效 脚肿了是什么原因 粘液丝高是什么原因
肉包子打狗的歇后语是什么 整天放屁是什么原因 一天什么时候最热 跳蚤怕什么 风土人情是什么意思
京东积分有什么用hcv7jop5ns0r.cn 蚊子不咬什么体质的人hcv9jop4ns1r.cn 积液是什么原因造成的怎么治疗hcv8jop6ns2r.cn 一张张什么hcv8jop8ns2r.cn 肾上腺素有什么用hcv7jop9ns5r.cn
套牌车是什么意思hcv7jop6ns2r.cn 刑妻克子是什么意思hcv8jop8ns5r.cn 什么的蔷薇hcv7jop9ns5r.cn 什么味道hcv8jop9ns9r.cn quilt什么意思hcv7jop7ns2r.cn
什么异思迁hcv9jop1ns1r.cn 拉肚子拉稀水吃什么药管用hcv9jop2ns7r.cn 甲乙丙丁戊己庚辛壬癸代表什么hcv9jop4ns4r.cn 吃什么可以降血糖hcv9jop5ns5r.cn 地瓜不能和什么一起吃hcv8jop8ns8r.cn
18岁属什么生肖sscsqa.com 横店是什么hcv9jop4ns1r.cn 富态是什么意思hcv8jop3ns8r.cn 燕麦片热量高为什么还能减肥hcv9jop1ns2r.cn 中暑发烧吃什么药hcv8jop6ns2r.cn
百度