Module:Br separated entries
Εμφάνιση

local p = {}
local function _main( args )
local t = {}
for k, v in pairs( args ) do
if type( k ) == 'number' and k >= 1 and math.floor( k ) == k then
table.insert( t, v )
end
end
return table.concat( t, '<br />' )
end
function p.main( frame )
local args
if frame == mw.getCurrentFrame() then
args = frame:getParent().args
for k, v in pairs( frame.args ) do
args = frame.args
break
end
else
args = frame
end
return _main( args )
end
return p