Module:GetImageColor:修订间差异

来自偶像大师中文维基
跳转到导航 跳转到搜索
创建页面,内容为“p={} function p.get(frame) local args = (frame == mw.getCurrentFrame() and frame.args) or frame t={} -- 本家 t['天海春香']='#e22b30' t['如月千早']='#2743d2' t['荻原雪步']='#d3dde9;text-shadow:0 -1px #888,1px 0 #888,0 1px #888,-1px 0 #888' t['高槻弥生']='#f39939' t['秋月律子']='#01a860' t['三浦梓']='#9238be' t['水濑伊织']='#fd99e1' t['菊地真']='#515558' t['双海亚美・真美']='#ffe43f;text-shadow:0 -1px #888,1px 0…”
 
(没有差异)

2025年9月10日 (三) 22:57的最新版本

此模块的文档可以在Module:GetImageColor/doc创建

p={}
function p.get(frame)
	local args = (frame == mw.getCurrentFrame() and frame.args) or frame
	t={}
	-- 本家
	t['天海春香']='#e22b30'
	t['如月千早']='#2743d2'
	t['荻原雪步']='#d3dde9;text-shadow:0 -1px #888,1px 0 #888,0 1px #888,-1px 0 #888'
	t['高槻弥生']='#f39939'
	t['秋月律子']='#01a860'
	t['三浦梓']='#9238be'
	t['水濑伊织']='#fd99e1'
	t['菊地真']='#515558'
	t['双海亚美・真美']='#ffe43f;text-shadow:0 -1px #888,1px 0 #888,0 1px #888,-1px 0 #888'
	t['双海亚美']='#ffe43f;text-shadow:0 -1px #888,1px 0 #888,0 1px #888,-1px 0 #888'
	t['双海真美']='#ffe43f;text-shadow:0 -1px #888,1px 0 #888,0 1px #888,-1px 0 #888'
	t['星井美希']='#b4e04b'
	t['四条贵音']='#a6126a'
	t['我那霸响']='#01adb9'
	t['音无小鸟']='#fff98e;text-shadow:0 -1px #888,1px 0 #888,0 1px #888,-1px 0 #888'
	return t[args[1]]
end
return p