Module:In lang/sandbox: Difference between revisions

Content deleted Content added
create;
 
No edit summary
Line 49:
 
Module entry point from an {{#invoke:lang/utilities/sanbox|in_lang|<code>|<code2>|<code3>|link=yes|template=Link language}}
 
<span class="languageicon">(in <language>)</span>
 
]]
Line 96 ⟶ 98:
ret_string = ret_string:gsub (', ([^,]+)$', ', and ' .. '%1'); -- replace last '<comma><space>' separator with '<comma><space>and<space>' separator
end
return table.concat ({'<span class="languageicon">(in ', ret_string, ..')</span>', table.concat (cats)});
-- return ret_string .. table.concat (cats);
end