全站通知:

模块:ToAnchor

来自活侠传WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索

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

local p = {}
function parseArgument(frame)
	local arg = {}
	return arg
end
p["dot"]=function ( frame )
	local args = parseArgument(frame)
	rstr=string.gsub(frame.args[1],"%%",".")
	return rstr
end
p["us"]=function ( frame )
	local args = parseArgument(frame)
	rstr=string.gsub(frame.args[1],"%%","_")
	return rstr
end
return p