Module:add etymology: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
 
Line 110: Line 110:
end
end
end
end
section.etymology = mw.ustring.gsub(section.etymology, "{{Etymology%|(" .. language.code .. ")}}", "{{Etymology|%1|1}}")
section.etymology = mw.ustring.gsub(section.etymology, "{{Etymology%|(" .. language.code .. ")}}", "{{Etymology|%1|1}}") .. "\n"
else
else
section.etymology = "=== {{Etymology|" .. language.code .. "|1}} ===\n\n"
section.etymology = "=== {{Etymology|" .. language.code .. "|1}} ===\n\n"