Module:Lang: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(synch from sandbox;)
(synch from sandbox;)
Line 1,047: Line 1,047:
if is_set (args[3]) then -- [3] set when {{transl|code|standard|text}}
if is_set (args[3]) then -- [3] set when {{transl|code|standard|text}}
args.text = args[3]; -- get the transliterated text
args.text = args[3]; -- get the transliterated text
args.translit_std = args[2]; -- get the standard
args.translit_std = args[2] and args[2]:lower(); -- get the standard; lower case for table indexing


if not title_table[args.translit_std] then
if not title_table[args.translit_std] then