Modulo:Babel: Malsamoj inter versioj

[kontrolita revizio][kontrolita revizio]
Enhavo forigita Enhavo aldonita
unua provo laŭ la angla modulo en:Module:Babel kun iom da kodo el en:Module:Portal
 
e korekto
Linio 39:
-- Special message for when first argument is blank; otherwise treat it as normal
if babels[1] and babels[1]:find('%S') then
userboxes = frame:preprocess('{{Uzulo|'..argsbabels[1]..'}}')
else
userboxes = args.noboxestext or "''Vi ne difinis iun lingvon. Bonvolu vidu [[Template:Babelejo/dokumentado]] por helpo.''"
Linio 48:
-- "remove" args[1] so it isn't looked at in the loop
-- table.remove(args,1) doesn't produce desired result
argsbabels[1] = ''
-- Keep track of how many columns are in this table
local col_span = 1
for _, v in ipairs( argsbabels ) do
-- ! indicates a new cell should be created
if v:find('%S') and v ~= '!' then