欢迎来到奇葩栖息地!欢迎加入Discord服务器:XfrfHCzfbW欢迎加入QQ频道:r01m9y3iz6请先至特殊:参数设置验证邮箱后再进行编辑。特殊:参数设置挑选自己想要使用的小工具!不会编辑?请至这里学习Wikitext语法。

模块:Pipe escape

来自奇葩栖息地
SkyEye FAST讨论 | 贡献2022年11月19日 (六) 18:31的版本 (创建页面,内容为“local p = {} function p.pipe( f ) local out = {} for _, arg in ipairs( f:getParent().args ) do table.insert( out, arg ) end return mw.text.trim( table.concat( out, '|' ) ) end return p”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
[创建 | 历史 | 清除缓存]文档页面
此模块没有文档页面。如果你知道此模块的使用方法,请帮助为其创建文档页面。
local p = {}
function p.pipe( f )
	local out = {}
	for _, arg in ipairs( f:getParent().args ) do
		table.insert( out, arg )
	end

	return  mw.text.trim( table.concat( out, '|' ) )
end

return p