10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 395: | Line 395: | ||
local language_to = m_languages.get_by_code(args[1]) | local language_to = m_languages.get_by_code(args[1]) | ||
local language_from = m_languages.get_by_code(args[2]) | local language_from = m_languages.get_by_code(args[2]) | ||
local term = args[3] | |||
if args[2] == "lnk-pro" and plaenk_alt[term] then term = plaenk_alt[term] end | |||
if (not args["notext"]) and (not data["silent"]) then out = out .. format_prefixed_text(template, data["text"], args["nocap"], data["preposition"]) end | if (not args["notext"]) and (not data["silent"]) then out = out .. format_prefixed_text(template, data["text"], args["nocap"], data["preposition"]) end | ||
out = out .. m_links.full_link({ | out = out .. m_links.full_link({ | ||
term = | term = term, | ||
language = language_from, | language = language_from, | ||
alt = args["alt"], | alt = args["alt"], |