Module:head: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
(Replaced string library with mw.ustring library, as epenthetic "e" in pluralisation was not working.)
mNo edit summary
Line 56: Line 56:
local i = 1
local i = 1
while inflection[i] do
while inflection[i] do
table.insert(i_forms, m_links.full_link({term = inflection[i], language = data.language}, "bold"))
if inflection.nolink then
table.insert(i_forms, m_links.full_link("<b>" .. inflection[i] .. "</b>", "bold"))
else
table.insert(i_forms, m_links.full_link({term = inflection[i], language = data.language}, "bold"))
end
i = i + 1
i = i + 1
end
end