Module:add etymology: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 112: Line 112:
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}}")
else
else
section.etymology = "=== {{Etymology|" .. language.code .. "|1}} ==="
section.etymology = "=== {{Etymology|" .. language.code .. "|1}} ===\n\n"
end
end