Module:GetSiteName

来自偶像大师中文维基
ZheiZhei留言 | 贡献2025年9月15日 (一) 23:10的版本 (创建页面,内容为“p={} function p.get(frame) local args = (frame == mw.getCurrentFrame() and frame.args) or frame t={} t['asobi']='ASOBI STORE' t['bnei']='BANDAI NAMCO' t['x']='X(Twitter)' t['ytb']='YouTube' return t[args[1]] end return p”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索

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

p={}
function p.get(frame)
	local args = (frame == mw.getCurrentFrame() and frame.args) or frame
	t={}
	t['asobi']='ASOBI STORE'
	t['bnei']='BANDAI NAMCO'
	t['x']='X(Twitter)'
	t['ytb']='YouTube'
	return t[args[1]]
end
return p