Khác biệt giữa bản sửa đổi của “Mô đun:Pipe escape”

Nội dung được xóa Nội dung được thêm vào
Trang mới: “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.con…”
(Không có sự khác biệt)

Phiên bản lúc 11:07, ngày 29 tháng 12 năm 2018

Tài liệu mô đun[tạo]
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