gap是什么品牌| 一直嗝气是什么原因| 拔完智齿吃什么| 霏是什么意思| 尿酸高喝什么茶| 缩量是什么意思| 咳嗽吃什么水果| 凝血功能差是什么原因| 炮机是什么| 恩施玉露是什么茶| 用醋泡脚有什么好处| 刘欢属什么生肖| 嘴唇发黑是什么原因引起的| A型血为什么是完美血型| 夫妻肺片是什么肉| 胸口闷闷的有点疼是什么原因| 孕妇耳鸣是什么原因引起的| 放屁多是什么原因呢| 相处是什么意思| 钡餐造影能查出什么| 食欲不振是什么原因| 高处不胜寒是什么意思| 老打嗝是什么病的前兆| 什么耳什么腮| 为什么胸口疼| 欧舒丹属于什么档次| 马齿苋能治什么病| 脂肪肝看什么科| 冬天吃什么| 画眉是什么| 6月19日是什么节日| 戍什么意思| 舌尖发麻是什么原因引起的| 老人大小便失禁是什么原因造成的| 冠脉cta是什么检查| snoopy是什么意思| 妊娠线什么时候长| 淋巴滤泡增生吃什么药| 3月23日是什么星座| srpl是什么药| 现在适合做什么生意| 蜂蜜和柠檬一起喝有什么作用| 红绿色盲是什么遗传| 双肾泥沙样结石是什么意思| 甲片是什么| 手心脚心发热是什么原因引起的| 晴雨表是什么意思| 梦见亲嘴是什么意思| 空心菜什么人不能吃| 灰指甲不治疗有什么后果| 权字五行属什么| 三斤八两什么意思| 淤青擦什么药| 半边屁股疼是什么原因| 格斗和散打有什么区别| u型枕有什么作用| 双规是什么| 摄人心魄是什么意思| 拔罐后需要注意什么| 梦见牙齿掉了是什么征兆| 粉红色泡沫痰见于什么病| 头孢喝酒有什么反应| 什么叫正盐| 结婚纪念日送什么花| 水肺潜水是什么意思| 连号的钱为什么不能花| 柠檬水有什么好处| 坤沙酒是什么意思| 口臭要做什么检查| 过房是什么意思| 不速之客的速是什么意思| 总胆固醇高是什么原因| 分泌物豆腐渣状是什么原因| 名人轶事是什么意思| 小龙虾不能和什么一起吃| 佛法无边是什么意思| 老年人腿无力是什么原因导致的| 22年属什么生肖| 吉士粉是什么东西| ovs是什么品牌| 人流后吃什么水果好| 果胶是什么| 经期量少吃什么来排血| 人中长痘是什么原因| balmain什么档次| 梦见钓到大鱼是什么意思| 临床治愈什么意思| 水囊是什么| 国防部部长是什么级别| 眼睛干涩用什么眼药水| 嗓子疼咳嗽吃什么药| 九月初五是什么星座| 有什么办法让男人死精| 一步之遥是什么意思| 血糖低是什么原因| 文化传媒是干什么的| 女生的胸长什么样| 压差小是什么原因引起的| 一凉就咳嗽是什么原因| 1为什么读yao| 什么叫双飞| 妇科和妇产科有什么区别| 金字旁目字读什么| 白色车里放什么摆件好| 肠痉挛是什么症状| 直爽是什么意思| 雯五行属什么| 孕妇喝咖啡有什么危害| 知柏地黄丸治什么病| 吃什么可以增强抵抗力和免疫力| fruits是什么意思| 苏打水喝了有什么好处| 白色裤子配什么上衣好看| twins什么意思| 来之不易是什么意思| 婴儿胀气是什么原因| hrd是什么职位| 女生发个wink什么意思| 1882年属什么生肖| 五月10号是什么星座| 凯旋归来是什么意思| 石蛋是什么| 做梦掉牙齿是什么意思周公解梦| pretty是什么意思| 35岁属相是什么生肖| l1椎体在什么位置| 植发用什么头发| 带状疱疹看什么科| le是什么元素| 舌头上有溃疡是什么原因| 睡觉多梦是什么原因| 草莓是什么植物| 叫花子是什么意思| 为什么会长小肉粒| 边沿是什么意思| 养精蓄锐是什么意思| 跟腱断裂是什么感觉| 遗忘的遗是什么意思| 什么危不什么| 清明节有什么习俗| 腿肿脚肿是什么原因引起的| 车厘子是什么季节的水果| 钳子什么牌子好| 画蛇添足是什么意思| 君子兰什么时候开花| 腌肉用什么淀粉| 怀孕有什么征兆| 怀孕了吃什么药能流掉| 39年属什么生肖| 吃什么对前列腺有好处| 自言自语是什么病| 感性是什么意思| 尿液检查白细胞高是什么原因| 眉头有痣代表什么意思| 屡禁不止的意思是什么| 中成药是什么意思| 睡醒口干舌燥是什么原因| 来龙去脉是什么生肖| 系统性红斑狼疮是什么病| 结合是什么意思| 女人吃桃子有什么好处| 6克血是什么概念| 吃什么对胆囊有好处| 杀了神经的牙为什么还疼| 区间放量是什么意思| 诺如病毒吃什么药好得快一点| 狗狗能吃什么水果| maggie是什么意思| 人参归脾丸和归脾丸有什么区别| 喝陈皮水有什么好处| 世界上最多笔画的字是什么字| 艾灸脚心有什么好处| 回头是岸是什么生肖| 一什么方式| 打开图片用什么软件| 舌系带短挂什么科| 社保断交有什么影响| 天加一笔变成什么字| 普通健康证都检查什么| 做什么运动可以瘦腿| bgm是什么意思| 铊是什么东西| 睡着了咳嗽是什么原因| 高大的动物是什么生肖| 耳朵响吃什么药| 三聚磷酸钠是什么东西| 洋参片泡水喝有什么功效| 什么的青年| 女鼠和什么属相最配对| 免疫力低下吃什么| 兄弟是什么生肖| 丁毒豆泡酒能治什么病| 什么的叶丛| 暗物质是什么| 梦见买衣服是什么意思| 津液不足吃什么中成药| 油价什么时候上涨| 暧昧是什么意思| 四维彩超是检查什么| 叶凡为什么找石昊求救| 什么地开放填空| 梦见一坨屎是什么意思| 尿浑浊是什么病的前兆| 甲状腺偏高有什么影响| 小孩风热感冒吃什么药| 缺铁性贫血有什么症状| 痢疾是什么症状| 焯水什么意思| 什么是adhd| 白细胞高一点点是什么原因| 扁平足是什么样子图片| 冲牛煞西是什么意思| 口牙是什么意思| 五戒十善是什么| 人乳头瘤病毒33型阳性是什么意思| 眼珠发黄是什么原因| 霄字五行属什么| 胆汁酸高是什么原因| 骏五行属什么| 性病是什么| 肝损伤是怎么回事什么是肝损伤| 梦见捞鱼是什么意思| 指甲有条纹是什么原因| 尿蛋白质阳性什么意思| 身体出现小红点是什么原因| 6月7号是什么星座| 韭菜可以炒什么| 候和侯有什么区别| 氨咖黄敏胶囊是什么药| 身体逐渐消瘦是什么原因| 初心是什么| 数字是什么意思| 耳鸣看什么科| 气短是什么症状| 舌苔白吃什么药| 50分贝相当于什么声音| 说话快的人什么性格| jojo是什么意思| 60年属什么| 物竞天择什么意思| iruri 什么意思| 安宫牛黄丸什么时间吃最好| 2008属什么生肖| 想吃辣的是什么原因| 92年五行属什么| 肺火大吃什么药| 你什么都可以| 带状疱疹用什么药| 拉绿色大便是什么原因| 脖子大是什么原因| 怕老婆的男人说明什么| 博字五行属什么| 真实的印度是什么样的| 人生价值是什么| 金牛后面是什么星座| 背疼什么原因| kailas是什么牌子| 广西有什么特产| 做梦梦见下大雨是什么意思| 吃什么去肝火最快| 多囊卵巢是什么原因造成的| 脸色发青是什么原因引起的| 至字五行属什么| 肠阻塞有什么症状| 百度Jump to content

要闻--吉林频道--人民网

Frae Wikipedia, the free beuk o knawledge
百度 事实上,这项非人道的试验被曝光后引起了一系列后果,甚至惊动了整个德国的汽车行业和政府。
-- to enable us to replicate the current functioning of Country extract, we need to deal with:
-- 2 {{<name>}} DONE!
-- 3 [[<name>]] DONE!
-- 4 [[<name>|<junk>]] DONE!
-- 5 [[image:flag of <country>.[svg|gif|png|jpg]|\d+px]] DONE!

local p = {}
local getArgs = require("Module:Arguments").getArgs
local data = mw.loadData("Module:ISO 3166/data/National")

--[[----------F I N D N A M E----------]]--										-- Finds the name in the database

local function findname(code,cdata,qry)
	local sqry = p.strip(qry)
	if cdata["name"] and sqry==p.strip(cdata["name"])
		or cdata["isoname"] and sqry==p.strip(cdata["isoname"])
		or not cdata["nocode"] and sqry==code
		or sqry==cdata["alpha3"] or sqry==cdata["numeric"]
		then
		return true
	end
	for _,tname in pairs(cdata["isonames"] or {}) do
		if sqry==p.strip(tname) then
			return true
		end
	end
	for _,tname in pairs(cdata["altnames"] or {}) do
		if sqry==p.strip(tname) then
			return true
		end
	end
	return false
end

--[[----------I S O N A M E----------]]--										-- Find the ISO name of a country/region

local function isoname(data,code,lang)
	if data[code]["isonames"] then
		local name = data[code]["isodisplaynames"] and data[code]["isodisplaynames"][lang]
			 or data[code]["isonames"][lang]
			 or data[code]["isodisplaynames"] and data[code]["isodisplaynames"][data[code]["defaultlang"] or data["defaultlang"]]
			 or data[code]["isonames"][data[code]["defaultlang"] or data["defaultlang"]]
			 or data[code]["isodisplaynames"] and data[code]["isodisplaynames"]["en"]
			 or data[code]["isonames"]["en"]
		if name then return name end
		for _,iname in pairs(data[code]["isonames"]) do return iname end
		return data[code]["isodisplayname"] or data[code]["isoname"]
	else
		return data[code]["isodisplayname"] or data[code]["isoname"]
	end
end

--[[----------S T R I P----------]]--											-- Removes junk from the input

function p.strip(text)
	local accents = {["à"]="A",["á"]="A",["?"]="A",["?"]="A",					-- accent list
		["?"]="A",["?"]="A",["?"]="C",["è"]="E",["é"]="E",
		["ê"]="E",["?"]="E",["ì"]="I",["í"]="I",["?"]="I",
		["?"]="I",["?"]="N",["ò"]="O",["ó"]="O",["?"]="O",
		["?"]="O",["?"]="O",["?"]="O",["ù"]="U",["ú"]="U",
		["?"]="U",["ü"]="U",["Y"]="Y"
	}
	local remove = {"NATION OF","COUNTRY OF","TERRITORY OF",					-- text to be removed list
		"FLAG OF","FLAG","KINGDOM OF","STATE OF"," STATE ",
		"PROVINCE OF","PROVINCE","TERRITORY"
	}
	local patterns = {[".+:"]="",["|.+"]="",["%(.-%)"]="",						-- patterns to follow (order may matter)
		["%..*"]="",["^THE "]="",["%_"]=" ",["%-"]=" ",
		["%d%d?%d?PX"]="",
	}
	
	text = mw.ustring.upper(text)												-- Case insensitivity
	text = mw.ustring.gsub(text,"[à-Y]",accents)								-- Deaccent
	
	for pattern,value in pairs(patterns) do										-- Follow patterns
	text = mw.ustring.gsub(text,pattern,value) 
	end
	
	for _,words in pairs(remove) do												-- Remove unneeded words
	text = mw.ustring.gsub(text,words,"") 
	end
	
	text = mw.ustring.gsub(text,"%W","")										-- Remove non alpha-numeric
	
	return text
	
end

--[[----------P . C A L L S T R I P ---------]]--								-- Calls P.strip but using Module:Arguments

function p.callstrip(frame)
	
	local args = getArgs(frame)
	
	return p.strip(args[1]) or ""

end

--[[----------P . L U A C O D E---------]]--									-- Makes the ISO code of a country

function p.luacode(args)

	if string.find(args[1] or '',"%-") then
		args[1], args[2] = string.match(args[1] or '',"^([^%-]*)%-(.*)$")
	end
	
	if args[1] then args[1] = p.strip(args[1]) end
	if args[2] then args[2] = p.strip(args[2]) end
	
	if args["codetype"]=="3" then
		args["codetype"]="alpha3"
	end
	
	local eot = args.error or ""
	
	local catnocountry = (args.nocat and args.nocat == 'true') and '' 
		or '[[Category:Wikipaedia page wi obscur kintra]]'
	local catnosubdivision = (args.nocat and args.nocat == 'true') and '' 
		or '[[Category:Wikipaedia page wi obscur subdiveesion]]'
	
	if not args[1] then
		if mw.title.getCurrentTitle().namespace ~= 0 then catnocountry = '' end
		return catnocountry, '<span style="font-size:100%" class="error">"No parameter for the country given"</span>'
	end
	
	if not args[2] then															--3166-1 code
		for alpha2,cdata in pairs(data) do
			if findname(alpha2,cdata,args[1]) then
				if args["codetype"]=="numeric" or args["codetype"]=="alpha3" then
					return cdata[args["codetype"]]
				else
					return alpha2
				end
			end
		end
		if mw.title.getCurrentTitle().namespace ~= 0 then catnocountry = '' end
		return catnocountry
	else																		--3166-2 code
		for alpha2,cdata in pairs(data) do                                       
			if findname(alpha2,cdata,args[1]) then
				if mw.ustring.match(alpha2,"GB") then							-- For England, Wales etc.
					alpha2 = "GB"
				end
				local sdata = mw.loadData("Module:ISO 3166/data/"..alpha2)
				local empty = true
				for scode,scdata in pairs(sdata) do
					if type(scdata)=="table" then
						empty = false
						if findname(scode,scdata,args[2]) then
							return alpha2.."-"..scode
						end
					end
				end
				if mw.title.getCurrentTitle().namespace ~= 0 then catnosubdivision = '' end
				return catnosubdivision
			end
		end
		if mw.title.getCurrentTitle().namespace ~= 0 then catnocountry = '' end
		return catnocountry
	end

end

--[[----------P . C O D E---------]]--											-- Calls P.Luacode but using Module:Arguments

function p.code(frame)

	return p.luacode(getArgs(frame)) or ""

end

--[[----------P . N U M E R I C---------]]--									-- Calls P.Luacode but using Module:Arguments and setting it to output a numeric value

function p.numeric(frame)

	local args = getArgs(frame)
	
	args["codetype"]="numeric"
	
	return p.luacode(args) or ""
	
end
	
--[[----------P . L U A N A M E---------]]--									-- Makes the ISO/common name of a country
	
function p.luaname(args)

	local code1 = p.luacode(args)
	local code2 = ''
	
	if string.find(code1,"%-") then
		code1, code2 = string.match(code1,"^([^%-]*)%-(.*)$")
	end
	
	if string.find(code1,"^%u%u$") then
		if code2=="" then														--3166-1 alpha-2 code
			if data[code1] then
				return (args.isoname or args.lang) and isoname(data,code1,args.lang)
					or (data[code1]["displayname"] or data[code1]["name"])
			else
				return '[[Category:Wikipaedia page wi obscur kintra]]'
			end
		else																	--3166-2 code
			local sdata
			if data[code1] then
				sdata = mw.loadData("Module:ISO 3166/data/"..code1)
			else
				return '[[Category:Wikipaedia page wi obscure kintra]]'
			end
			if sdata[code2] then
				return (args.isoname or args.lang) and isoname(sdata,code2,args.lang)
					or (sdata[code2]["displayname"] or sdata[code2]["name"])
			else
				return '[[Category:Wikipaedia page wi obscur kintra]]'
			end
		end
	end
	
end

--[[----------P . N A M E---------]]--											-- Calls P.Luaname but using Module:Arguments

function p.name(frame)

	return p.luaname(getArgs(frame)) or ""

end
	
--[[----------P . G E O C O O R D I N S E R T---------]]--						-- Wrapper for Module:Coordinates.coordinsert
function p.geocoordinsert(frame)
	-- {{#invoke:ISO 3166|geocoordinsert|{{coord|...}}
	-- |country=..|subdivision1=...|subdivision2=...
	-- |type=...|scale=...|dim=...|source=...|globe=...
	-- }}
	local args = frame.args
	local subdivisionqueried = false
	local catnocountry = (args.nocat and args.nocat == 'true') and '' 
		or '[[Category:Wikipaedia page wi obscur kintra]]'
	local catnosubdivision = (args.nocat and args.nocat == 'true') and ''
		or '[[Category:Wikipaedia page wi obscur subdiveesion]]' or ''
	local tracking = ''
	local targs = {}
	targs[1] = args[1] or ''
	for i, v in pairs(args) do
		if i == 'country' and not mw.ustring.find(targs[1], 'region:') then
			local country = v
			local k, region = 1, ''
			-- look for a valid subdivision
			while region == '' and k < 3 do
				local subdivision = args['subdivision' .. k] or ''
				if subdivision ~= '' then
					region = p.luacode({country, subdivision, nocat = 'true'})
					subdivisionqueried = true
				end
				k = k + 1
			end
			-- subdivision lookup failed or never attempted, try country only
			if region == '' then
				region = p.luacode({country, nocat = 'true'})
				if mw.title.getCurrentTitle().namespace ~= 0 then catnocountry, catnosubdivision = '', '' end
				if region == '' then
					tracking = tracking .. catnocountry
				elseif subdivisionqueried == true then
					tracking = tracking .. catnosubdivision
				end
			end
			-- something worked, add it to the targs
			if region ~= '' then
				targs[#targs + 1] = 'region:' .. region
			end
		elseif i == 'type' or i == 'scale' or i == 'dim' 
				or i == 'source' or i == 'globe' then
			targs[#targs + 1] = i .. ':' .. v
		end
	end
	-- call Module:Coordinates.coordinsert if there is something to insert
	if #targs > 1 then
		local coordinsert = require('Module:Coordinates').coordinsert
		return coordinsert({args = targs}) .. tracking
	end
	-- otherwise, just return the coordinates
	return targs[1] .. tracking
end

return p
小米长什么样 银耳是什么 我想长胖点有什么办法 肚子左侧疼是什么原因 尿路结石吃什么药
rock什么意思 右侧胸膜增厚是什么意思 眼睛痛是什么原因 打喷嚏流清鼻涕是什么感冒 晚睡早起是什么原因
射精是什么感觉 出虚汗吃什么中成药 胸片是检查什么的 小圆细胞阳性什么意思 判处死刑缓期二年执行是什么意思
小孩为什么吃果糖二磷酸钠 转氨酶高是什么病 梦见自己给自己理发是什么意思 厥是什么意思 无毛猫叫什么
前方高能什么意思hcv7jop9ns4r.cn 老年人口苦是什么原因hcv9jop2ns4r.cn 旖旎什么意思hcv9jop6ns9r.cn 1234是什么意思hcv8jop3ns8r.cn 冷的什么hcv8jop0ns5r.cn
明鉴是什么意思hcv8jop2ns5r.cn 香油是什么hcv9jop4ns4r.cn vans是什么牌子fenrenren.com 拔罐有什么好处bfb118.com 亲吻是什么感觉hcv7jop6ns6r.cn
左眼跳代表什么hcv8jop0ns5r.cn 总胆红素偏高是什么病hcv8jop0ns0r.cn 男人有美人尖代表什么wuhaiwuya.com 脊椎炎有什么症状hcv7jop6ns0r.cn 手机电池为什么会鼓包hcv9jop5ns2r.cn
指甲看什么科hcv8jop6ns9r.cn 生肖狗和什么生肖相冲hcv7jop6ns4r.cn 手足口病吃什么药好得快hcv8jop7ns0r.cn 什么是免疫组化检查hcv8jop0ns6r.cn 心肌炎吃什么药效果好hcv8jop1ns2r.cn
百度