Jump to content

Module:Lang: Difference between revisions

doc sentence not relevant anymore
m (1 revision imported)
(doc sentence not relevant anymore)
Line 565: Line 565:
if language_name:find ('languages') then
if language_name:find ('languages') then
-- return table.concat ({'[[Category:Articles with text from the ', language_name, ' collective]]'});
return table.concat ({'[[Category:Articles with text from the ', language_name, ' collective]]'});
return table.concat ({'[[Category:Articles with text from ', language_name, ']]'});
-- return table.concat ({'[[Category:Articles with text from ', language_name, ']]'});
end
end
Line 1,274: Line 1,274:


All code combinations supported by {{lang}} and the {{lang-xx}} templates are supported by this function.
All code combinations supported by {{lang}} and the {{lang-xx}} templates are supported by this function.
The purpose of this function is to replace {{#ifexist:Template:ISO 639 name xx|<exists>|<does not exist>}} in
templates that are better served by using {{#invoke:lang|name_from_tag|<code>}}


Module entry point from another module
Module entry point from another module
Anonymous user