红细胞分布宽度偏高是什么意思| 屠苏指的是什么| 明天是什么节气| 原发性高血压是什么意思| 天蝎后面是什么星座| 舌头痒痒的是什么原因| 什么人一年只工作一天| 1909年属什么生肖| 梦到上坟是什么意思| 苏慧伦为什么不老| 大姨妈量少是什么原因| 排卵期同房后要注意什么| 梦见海龟是什么意思| 农历五月初五是什么节日| 荒诞是什么意思| falcon是什么牌子| hpv有什么症状| 眉茶属于什么茶| 什么药不能喝酒| 一个王一个八念什么| 66年属什么| 阴唇肥大有什么影响| 变蛋吃多了有什么危害| EXP什么意思| 梦见跳舞是什么意思| 更年期补钙吃什么钙片好| 1963年的兔是什么命| 调理月经吃什么药最好| 呃逆什么意思| 牙掉了是什么预兆| 慢性咽炎吃什么药效果最好| 什么叫电解质| 什么情况下会流前列腺液| 女人吃什么排卵最快| 胃阴虚吃什么中成药| 萎缩性胃炎可以吃什么水果| 工夫是什么意思| 小便发黄是什么原因| 为什么会一直打嗝| 吃什么才能提高免疫力| 5月10号是什么日子| 吃什么油最健康排行榜| 裙带菜是什么菜| 小猫来家里有什么预兆| 2月2日是什么星座| 桃皮绒是什么面料| 属马的男生和什么属相最配| 清热去湿热颗粒有什么功效| 星月菩提五行属什么| 拒服兵役是什么意思| 未病是什么意思| 气罐和火罐有什么区别| 肝转氨酶高有什么危害| 什么叫强直性脊柱炎| 甲减是什么症状| 尿液清澈透明说明什么| 梦见好多葡萄是什么意思| 开火车什么意思| 什么佛面| dh什么意思| 恬静是什么意思| 4月7号是什么星座| 阴茎皮开裂是什么原因| 怀孕初期应该注意什么| 早孕试纸什么时候测最准确| 殿后和垫后有什么区别| 河里的贝壳叫什么| 长痘是什么原因| 高血糖吃什么水果最好| mm是什么病| 为什么会得多囊| 狂犬疫苗什么时候打| 痔疮吃什么消炎药好得快| 直肠炎有什么症状| 那好吧是什么意思| 女为悦己者容是什么意思| 河豚吃什么食物| 王的五行属性是什么| 苦杏仁味是什么中毒| peace什么意思| 虞是什么意思| 董事长是什么职位| 属兔的婚配什么属相好| 糖化是什么意思| 清晰是什么意思| 乳腺结节吃什么好| 吹空调头疼是什么原因| 月经前一周失眠是什么原因| 断桥是什么意思| 嫖娼什么意思| 火气重喝什么茶| 什么工作挣钱多| 大姨夫是什么意思| 小便失禁是什么原因男性| 做糖耐是检查什么| hi是什么| 破鞋是什么意思啊| 回族不吃什么肉| 铁皮石斛花有什么作用| 怀孕可以吃什么| 角逐是什么意思| 嘴里起血泡是什么原因| 貌不惊人什么意思| 金粉是什么| asa是什么意思| 男生第一次是什么感觉| 白细胞减少有什么症状| 什么雷声| 抹茶色是什么颜色| 盗汗和自汗有什么区别| 正气是什么意思| 月经不规律是什么原因| 入睡难一般是什么原因造成的| 属马与什么属相最配| 什么叫四大皆空| 副词是什么意思| 喜神是什么意思| 转氨酶和转移酶有什么区别| 国历是什么意思| 甲亢是什么| 吃什么解毒最快| 扁桃体发炎可以吃什么水果| 耳仓为什么是臭的| 恩泽是什么意思| 把妹是什么意思| 手上长毛是什么原因| 立夏吃什么食物| 消炎药吃多了有什么副作用| 很man是什么意思| 作价是什么意思| 炒菜放什么调料最好吃| 活化部分凝血活酶时间偏高是什么意思| 生小孩有什么补贴政策| 尿多是什么病| 夏天怕热冬天怕冷是什么体质| 膝盖疼是什么原因| 89年的属什么| 猪冲蛇开什么生肖| 母猪上树是什么生肖| 梦见棺材是什么征兆| 苹果和什么一起榨汁好喝| 王林为什么叫王麻子| 梦见偷玉米是什么意思| 白蚁吃什么| 什么是商业保险| 百香果什么时候开花结果| 2月23是什么星座| 热射病是什么原因引起的| cta是什么| 女性尿道出血是什么原因引起的| 什么东西助眠| 肌肉拉伤吃什么药| 鼻咽癌有什么症状| 医学上cr是什么意思| 魔芋是什么做的| 一个金字旁一个各念什么| 痔疮和肛周脓肿有什么区别| 脚脖子浮肿是什么原因引起的| 梦见跑步是什么意思| 田可以加什么偏旁| 做梦梦到屎什么意思| 子宫肌瘤是什么原因导致的| 经常喝蜂蜜水有什么好处和坏处| 特别容易饿是什么原因| 市公安局长什么级别| 大便干燥吃什么药| 土地兼并是什么意思| 食管在什么位置图片| 桂枝是什么| 青蛙像什么| 检查是否怀孕挂什么科| 央企和国企有什么区别| 番茄什么时候种植| 电话正在通话中是什么意思| 阿联酋和迪拜什么关系| 中国在什么半球| 为什么一热脸就特别红| 冒是什么意思| kim是什么意思| 生的反义词是什么| 浑身发抖是什么原因| 奶不够吃是什么原因| 婴儿黄疸母亲忌口什么| 这是什么颜色| 玉树临风是什么意思| 给小孩办身份证需要什么| oh什么意思| 眼皮红肿是什么原因引起的| 洛基是什么神| 吃什么能升血小板| acg文化是什么意思| 什么是直销| 血蛋白低会有什么影响| 88.88红包代表什么意思| 昔日是什么意思| 九层塔是什么| 类风湿关节炎吃什么药效果好| 为什么牙龈老是出血| cno什么意思| 梦见自己会飞是什么意思| 白化病是什么遗传| 消融是什么意思| 面条是什么做的| 窘迫什么意思| 头晕耳鸣吃什么药| 吐黄水是什么原因| ip指的是什么| 乙巳年是什么命| 慢性活动性胃炎是什么意思| 八月一日是什么日子| 宫颈炎是什么病| o型血和o型血生的孩子是什么血型| 吃黄瓜有什么好处和坏处| 心包填塞三联征是什么| a4纸可以做什么手工| 洋葱不能跟什么一起吃| 司空见惯是什么意思| yearcon是什么牌子| 怀孕养猫对胎儿有什么影响| 梦见很多肉是什么意思| 我不知道你在说什么英文| 冷漠是什么意思| 后脑勺发麻是什么原因| 雷猴是什么意思| 什么的旋律| 哈吉斯牌子是什么档次| saba是什么药| 什么叫三叉神经痛| 14k是什么意思| 韧带是什么样子图片| 治愈是什么意思| 赤藓糖醇是什么| 精满自溢是什么意思| 为什么做梦| 食人鱼的天敌是什么| 家长里短是什么意思| 怀孕一个星期有什么症状| 咖啡过敏的症状是什么| 安踏高端品牌叫什么| 新生儿用什么奶粉好| 心脏b超能查出什么| 心电图能检查出什么| 苦瓜对肝脏有什么好处| 荔枝什么意思| 20年属什么生肖| 生闷气容易得什么病| 哎是什么意思| 不满是什么意思| 什么是无为| 尿发黄什么原因| 番薯是什么时候传入中国的| 动脉硬化挂什么科| 看腰挂什么科| 痔疮有什么影响| 小手指麻木是什么原因| foh是什么意思| 胰腺炎挂什么科室| 术是什么意思| 岑岑是什么意思| 四爱是什么| lop是什么意思| 临幕是什么意思| 日光性皮炎用什么药膏| 淡然自若的意思是什么| 百度跳转到内容

白天困倦难耐也是病 白日过度嗜睡可诊断评估

被永久保护的模块
维基百科,自由的百科全书

--[[
--------------------------------------------------------------------------------
--                                                                            --
--                            NAMESPACE DETECT                                --
--                                                                            --
-- This module implements the {{namespace detect}} template in Lua, with a    --
-- few improvements: all namespaces and all namespace aliases are supported,  --
-- and namespace names are detected automatically for the local wiki. The     --
-- module can also use the corresponding subject namespace value if it is     --
-- used on a talk page. Parameter names can be configured for different wikis --
-- by altering the values in the "cfg" table in                               --
-- Module:Namespace detect/config.                                            --
--                                                                            --
--------------------------------------------------------------------------------
--]]

local data = mw.loadData('Module:Namespace detect/data')
local argKeys = data.argKeys
local cfg = data.cfg
local mappings = data.mappings

local yesno = require('Module:Yesno')
local mArguments -- Lazily initialise Module:Arguments
local mTableTools -- Lazily initilalise Module:TableTools
local ustringLower = mw.ustring.lower

local p = {}

local function fetchValue(t1, t2)
	-- Fetches a value from the table t1 for the first key in array t2 where
	-- a non-nil value of t1 exists.
	for i, key in ipairs(t2) do
		local value = t1[key]
		if value ~= nil then
			return value
		end
	end
	return nil
end

local function equalsArrayValue(t, value)
	-- Returns true if value equals a value in the array t. Otherwise
	-- returns false.
	for i, arrayValue in ipairs(t) do
		if value == arrayValue then
			return true
		end
	end
	return false
end

function p.getPageObject(page)
	-- Get the page object, passing the function through pcall in case of
	-- errors, e.g. being over the expensive function count limit.
	if page then
		local success, pageObject = pcall(mw.title.new, page)
		if success then
			return pageObject
		else
			return nil
		end
	else
		return mw.title.getCurrentTitle()
	end
end

-- Provided for backward compatibility with other modules
function p.getParamMappings()
	return mappings
end

local function getNamespace(args)
	-- This function gets the namespace name from the page object.
	local page = fetchValue(args, argKeys.demopage)
	if page == '' then
		page = nil
	end
	local demospace = fetchValue(args, argKeys.demospace)
	if demospace == '' then
		demospace = nil
	end
	local subjectns = fetchValue(args, argKeys.subjectns)
	local ret
	if demospace then
		-- Handle "demospace = main" properly.
		if equalsArrayValue(argKeys.main, ustringLower(demospace)) then
			ret = mw.site.namespaces[0].name
		else
			ret = demospace
		end
	else
		local pageObject = p.getPageObject(page)
		if pageObject then
			if pageObject.isTalkPage then
				-- Get the subject namespace if the option is set,
				-- otherwise use "talk".
				if yesno(subjectns) then
					ret = mw.site.namespaces[pageObject.namespace].subject.name
				else
					ret = 'talk'
				end
			else
				ret = pageObject.nsText
			end
		else
			return nil -- return nil if the page object doesn't exist.
		end
	end
	ret = ret:gsub('_', ' ')
	return ustringLower(ret)
end

function p._main(args)
	-- Check the parameters stored in the mappings table for any matches.
	local namespace = getNamespace(args) or 'other' -- "other" avoids nil table keys
	local params = mappings[namespace] or {}
	local ret = fetchValue(args, params)
	--[[
	-- If there were no matches, return parameters for other namespaces.
	-- This happens if there was no text specified for the namespace that
	-- was detected or if the demospace parameter is not a valid
	-- namespace. Note that the parameter for the detected namespace must be
	-- completely absent for this to happen, not merely blank.
	--]]
	if ret == nil then
		ret = fetchValue(args, argKeys.other)
	end
	return ret
end

function p.main(frame)
	mArguments = require('Module:Arguments')
	local args = mArguments.getArgs(frame, {removeBlanks = false})
	local ret = p._main(args)
	return ret or ''
end

function p.table(frame)
	--[[
	-- Create a wikitable of all subject namespace parameters, for
	-- documentation purposes. The talk parameter is optional, in case it
	-- needs to be excluded in the documentation.
	--]]
	
	-- Load modules and initialise variables.
	mTableTools = require('Module:TableTools')
	local namespaces = mw.site.namespaces
	local cfg = data.cfg
	local useTalk = type(frame) == 'table' 
		and type(frame.args) == 'table' 
		and yesno(frame.args.talk) -- Whether to use the talk parameter.
	
	-- Get the header names.
	local function checkValue(value, default)
		if type(value) == 'string' then
			return value
		else
			return default
		end
	end
	local nsHeader = checkValue(cfg.wikitableNamespaceHeader, 'Namespace')
	local aliasesHeader = checkValue(cfg.wikitableAliasesHeader, 'Aliases')

	-- Put the namespaces in order.
	local mappingsOrdered = {}
	for nsname, params in pairs(mappings) do
		if useTalk or nsname ~= 'talk' then
			local nsid = namespaces[nsname].id
			-- Add 1, as the array must start with 1; nsid 0 would be lost otherwise.
			nsid = nsid + 1 
			mappingsOrdered[nsid] = params
		end
	end
	mappingsOrdered = mTableTools.compressSparseArray(mappingsOrdered)

	-- Build the table.
	local ret = '{| class="wikitable"'
		.. '\n|-'
		.. '\n! ' .. nsHeader
		.. '\n! ' .. aliasesHeader
	for i, params in ipairs(mappingsOrdered) do
		for j, param in ipairs(params) do
			if j == 1 then
				ret = ret .. '\n|-'
					.. '\n| <code>' .. param .. '</code>'
					.. '\n| '
			elseif j == 2 then
				ret = ret .. '<code>' .. param .. '</code>'
			else
				ret = ret .. ', <code>' .. param .. '</code>'
			end
		end
	end
	ret = ret .. '\n|-'
		.. '\n|}'
	return ret
end

return p
嘴角上扬是什么意思 1288是什么意思 牙齿根管治疗是什么意思 xr是什么 正常的月经是什么颜色
游泳比赛中wj是什么意思 艮为什么读yin 小姨子是什么关系 风湿性关节炎挂什么科 千里江陵是什么意思
为什么眼皮会一直跳 黄糖是什么糖 为什么小孩子有白头发 维生素c什么时候吃效果最好 看花灯是什么节日
北京户口有什么用 法图麦在回族什么意思 什么克水 小孩黄疸高有什么危害 保健是什么意思
金牛属于什么象星座hcv8jop1ns5r.cn 白介素2是治疗什么病的luyiluode.com 耳朵后面疼是什么原因hcv8jop3ns6r.cn 吃什么水果退烧hcv8jop7ns7r.cn 抽烟对女生有什么危害hcv7jop6ns5r.cn
身心俱疲是什么意思hcv7jop5ns5r.cn chino是什么意思hcv8jop1ns3r.cn 白细胞低是怎么回事有什么危害hcv9jop0ns1r.cn 肌层彩色血流星点状是什么意思hcv9jop0ns2r.cn 25分贝相当于什么声音hcv9jop5ns4r.cn
白癜风用什么药travellingsim.com 碟鱼是什么鱼xscnpatent.com 副厅长是什么级别xinmaowt.com 什么含钾最多hcv9jop1ns3r.cn 大便水状是什么原因hcv9jop8ns3r.cn
印度尼西亚是什么人种hcv9jop8ns1r.cn 七四年属什么生肖hcv9jop3ns1r.cn 红豆为什么代表相思hcv9jop2ns4r.cn 出脚汗是什么原因hcv8jop2ns7r.cn 叶公好龙告诉我们什么道理hcv9jop8ns0r.cn
百度