Difference between revisions of "Module:Extension"
Jump to navigation
Jump to search
test
>Ricordisamoa m (fix) |
>Ricordisamoa (test) |
||
Line 133: | Line 133: | ||
} | } | ||
for _, param in ipairs( params ) do | for _, param in ipairs( params ) do | ||
if param == nil then | if param == nil or mw.text.trim( param ) == '' then | ||
break | break | ||
end | end | ||
local param = mw.text.trim( param ) | |||
if args.templatemode == 'nocats' then | if args.templatemode == 'nocats' then | ||
res = res .. getType( '_demomode_', param ) | res = res .. getType( '_demomode_', param ) |