Module:rad-stem/templates: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 399: Line 399:
if nolink then
if nolink then
article = article .. " "
article = article .. " "
else
article = rad_link(article) .. " "
end
end
end
end
Line 428: Line 426:
return article .. list[1].word
return article .. list[1].word
else
else
if disable_ipa then return article .. rad_link_IPA(list, nil, true) else return article .. rad_link_IPA(list) end
if disable_ipa then return rad_link_IPA(list, nil, true, article) else return article .. rad_link_IPA(list, nil, false, article) end
end
end
else
else
Line 434: Line 432:
return article .. base
return article .. base
else
else
if disable_ipa then return article .. rad_link_IPA(base, nil, true) else return article .. rad_link_IPA(base) end
if disable_ipa then return article .. rad_link_IPA(base, nil, true, article) else return article .. rad_link_IPA(base, nil, false, article) end
end
end
end
end