Content deleted Content added
HTML `lang` and `title` |
allow use-cases without Latin text |
||
Line 50:
local lead = parseBoolean(args["lead"], true)
local labelOnly = parseBoolean(args["label-only"], true)
end▼
local output = {}
Line 64 ⟶ 60:
end
if latinText then
local spannedLatin = "<span title=\"Crimean Tatar-language text\" lang=\"crh-Latn\">" .. latinText .. "</span>" if lead and not labelOnly and link then
table.insert(parts, "[[Latin alphabet|Latin]]: ''" .. spannedLatin .. "''")
elseif lead and not labelOnly and link then
table.insert(parts, "Latin: ''" .. spannedLatin .. "''")
else
table.insert(parts, "''" .. spannedLatin .. "''")
end
if cyrillicText then
|