Module:Native name/sandbox: Difference between revisions

Content deleted Content added
adj naming
No edit summary
Line 214:
if 0 == #list_t then
return (yes_no (args_t.suppress_empty_list_error) and '') or -- return empty ifstring when error suppressed
error_msg (messages_t.empty_list, 'native name list'); -- otherwise error
elseif 1 == #list_t then
return table.concat (list_t)[1]; -- return the very short list; TODO: add error?
else
return require ('Module:List').unbulleted (list_t); -- use unbulleted list from module
end
end