跳转到内容

模組:VariantTest

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

这是本页的一个历史版本,由Amire80留言 | 贡献2014年9月26日 (五) 17:30 (rrrrrrrrrrr)编辑。这可能和当前版本存在着巨大的差异。

-- This is a test of variant handling.

local this = {}

function this.getVariant(frame)
	variant = frame:preprocess('-{zh-hans:Simplified;zh-hant:Traditional;}-')
	
	return variant
end

return this