打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
登录后可编辑和发表评论。

Module:Cate

来自Vocawiki

本模块用于支持实现{{Cate}}的相关功能。

local p = {}
local getArgs = require('Module:Arguments').getArgs

function p._main(args, frame)
	local arg = args
	code = ""
	for index, val in ipairs(arg) do
		if index == 1 then
			code = code .. val
		else
			code = code .. frame:expandTemplate{title = "ac", args = {val}}
		end
	end
	return code
end

function p.main(frame)
	local args = getArgs(frame, {
		parentFirst = true,
	})
    return p._main(args, frame)
end
 
return p