Jump to content

Module:Pipe escape

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by LR Guanzon (talk | contribs) at 15:57, 27 August 2017 (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.co...'). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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