Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,418:
args_t[1] = nil; -- unset to mimic {{lang-??}} templates which set |code=xx
local lang_subtag = args_t.code; -- use only the base language subtag for unsupported tag test; some args_t.code are modified by |script= etc
initial_style_state = inherit_t[args_t.code:lower()] and 'inherit' or 'italic'; -- if listed in inherit_t, set as 'inherit'; 'italic' else
return _lang_xx (args_t, 'Langx') .. ((langx_data.unsupported_t[
▲ return _lang_xx (args_t, 'Langx') .. ((langx_data.unsupported_t[args_t.code:lower()] and '[[Category:Langx uses unsupported language tag|'.. args_t.code .. ']]') or ''); -- temporary category for unsupported language tags
-- return _lang_xx (args_t, 'Langx');
end
|