Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE

Minecraft Wiki
Advertisement
Minecraft Wiki
[view | edit | history | purge]DocumentationJump to code ↴

This module implements {{Pipe escape}}.

[view | edit | history | purge]The above documentation is transcluded from 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
Advertisement