Minecraft Wiki
(super simply module to turn a list of parameters into a pipe separated list)
 
Majr (diskuse | příspěvky)
m (naimportována 1 revize: Import EN modules)
 

Aktuální verze z 17. 7. 2017, 10:52

[create | history | purge]Documentation
This module has no documentation. If you know how to use this module, please create it.
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