跳转到内容

模組:TextfromBGcolor

维基百科,自由的百科全书

这是本页的一个历史版本,由VulpesVulpes825留言 | 贡献2019年2月1日 (五) 21:06 (建立模块,测试中)编辑。这可能和当前版本存在着巨大的差异。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)
local p = {}

function p.textColor(frame)
	local bg = frame.args[1] 
	local result = 'black'
	if bg == 'red' then result = 'black'
	end
	return result
end

return p