Module:links: Difference between revisions

10 bytes removed ,  3 September 2021
no edit summary
No edit summary
No edit summary
Line 490: Line 490:
-- Link to the transliteration entry for languages that require this
-- Link to the transliteration entry for languages that require this
if data.tr and data.lang:link_tr() then
if data.tr and data.lang:link_tr() then
data.tr = require("Module:script utilities").tag_text(export.language_link(data, allow_self_link))
data.tr = export.language_link { lang = data.lang, term = data.tr, nocont = data.nocont}
elseif data.tr then
elseif data.tr then
data.tr = "''" .. data.tr .. "''"
data.tr = "''" .. data.tr .. "''"