Module:User:Wyang/compare

Hello, you have come here looking for the meaning of the word Module:User:Wyang/compare. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:Wyang/compare, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:Wyang/compare in singular and plural. Everything you need to know about the word Module:User:Wyang/compare you have here. The definition of the word Module:User:Wyang/compare will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:Wyang/compare, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.


local export = {}

function export.make(frame)
	local args = frame:getParent().args
	local word, translit = args, args
	if not mw.ustring.match(word, "]") and mw.title.new(word).exists then
		content = mw.title.new(word):getContent()
		_, count = mw.ustring.gsub(content, "{{th%-pron", "")
		if count == 1 then
			return ""
		end
	end
	return "|tr=" .. translit
end

function export.make2(frame)
	local m_ko_translit = require("Module:ko-translit").tr
	local args = frame:getParent().args
	local word, translit = args, args
	return m_ko_translit(word) == translit and "" or "|tr=" .. translit
end

return export