Module:etymology/templates/borrowed

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

This module generates content for the etymology template {{borrowed}}.


local export = {}

local etymology_module = "Module:etymology"
local etymology_multi_module = "Module:etymology/multi"
local etymology_templates_internal_module = "Module:etymology/templates/internal"

function export.borrowed(frame)
	local args, lang, term, sources = require(etymology_templates_internal_module).parse_2_lang_args(frame)
	if sources then
		return require(etymology_multi_module).format_multi_borrowed {
			lang = lang,
			sc = term.sc,
			sources = sources,
			terminfo = term,
			sort_key = args.sort,
			nocat = args.nocat,
			conj = args.conj,
		}
	else
		return require(etymology_module).format_borrowed {
			lang = lang,
			terminfo = term,
			sort_key = args.sort,
			nocat = args.nocat,
		}
	end
end

return export