Module:Pipe escape

From Vigyanwiki
Revision as of 13:04, 30 June 2023 by alpha>Indicwiki (Created page with "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, '|'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Pipe escape/doc

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