Module:Pipe escape: Difference between revisions

From Vigyanwiki
(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, '|'...")
 
m (1 revision imported from alpha:Module:Pipe_escape)
 
(No difference)

Latest revision as of 13:28, 21 July 2023

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