Module:User:Benwing2/test-headword

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


local export = {}

local full_headword = require("Module:User:Benwing2/headword").full_headword

function export.test(frame)
	local val1 = full_headword{
		lang = require("Module:languages").getByCode("de"),
		heads = {"Hund"},
		genders = {"m"},
		inflections = {
			{label = "genitive", "Hundes", "Hunds"},
			{label = "plural",
				"Hunde",
				{term = "Hünde", qualifiers = {"nonstandard"}}
			},
			{label = "diminutive",
				{term = "Hündchen", genders = {"n"}},
				{nolink = true, term = "Hündlein", genders = {"n"}}
			}
		},
		categories = {"German nouns"},
	}

	local val2 = full_headword{
		lang = require("Module:languages").getByCode("ru"),
		heads = {"кни́га"},
		genders = {"f-in"},
		inflections = {
			{label = "genitive", "кни́ги"},
			{label = "nominative plural", "кни́ги"},
			{label = "genitive plural", "книг"}
		},
		categories = {"Russian nouns"},
	}

	local val2_autotr = full_headword{
		lang = require("Module:languages").getByCode("ru"),
		heads = {"кни́га"},
		genders = {"f-in"},
		inflections = {
			enable_auto_translit = true,
			{label = "genitive", "кни́ги"},
			{label = "nominative plural", "кни́ги"},
			{label = "genitive plural", "книг"}
		},
		categories = {"Russian nouns"},
	}

	local val2_autotr_poscat = full_headword{
		pagename = "книга",
		lang = require("Module:languages").getByCode("ru"),
		heads = {"кни́га"},
		genders = {"f-in"},
		inflections = {
			enable_auto_translit = true,
			{label = "genitive", "кни́ги"},
			{label = "nominative plural", "кни́ги"},
			{label = "genitive plural", "книг"}
		},
		pos_category = "nouns",
		force_cat_output = true,
	}

	local val3 = full_headword{
		lang = require("Module:languages").getByCode("ru"),
		heads = {"интервьюе́р", "интервью́ер"},
		translits = {"intɛrvʹjuér", "intɛrvʹjújer"},
		genders = {"m-an"},
		inflections = {
			{label = "genitive", "интервьюе́ра", "интервью́ера"},
			{label = "nominative plural", "интервьюе́ры", "интервью́еры"},
			{label = "genitive plural", "интервьюе́ров", "интервью́еров"},
		},
		categories = {"Russian nouns"},
	}

	local val3_new = full_headword{
		lang = require("Module:languages").getByCode("ru"),
		heads = {
			{term = "интервьюе́р", tr = "intɛrvʹjuér"},
			{term = "интервью́ер", tr = "intɛrvʹjújer", q = {"less common"}, separator = " and "},
		},
		genders = {"m-an"},
		inflections = {
			{label = "genitive", "интервьюе́ра", "интервью́ера"},
			{label = "nominative plural", "интервьюе́ры", "интервью́еры"},
			{label = "genitive plural", "интервьюе́ров", "интервью́еров"},
		},
		categories = {"Russian nouns"},
	}

	local val3_multiscript = full_headword{
		lang = require("Module:languages").getByCode("ru"),
		heads = {
			{term = "интервьюе́р", tr = "intɛrvʹjuér"},
			{term = "интервью́ер", tr = "intɛrvʹjújer", q = {"less common"}, separator = " and "},
			{term = "] ] ]", sc = require("Module:scripts").getByCode("Arab")},
		},
		genders = {"m-an"},
		inflections = {
			{label = "genitive", "интервьюе́ра", "интервью́ера"},
			{label = "nominative plural", "интервьюе́ры", "интервью́еры"},
			{label = "genitive plural", "интервьюе́ров", "интервью́еров"},
		},
		categories = {"Russian nouns"},
	}

	local val3_multiscript_wrong = full_headword{
		lang = require("Module:languages").getByCode("ru"),
		heads = {
			{term = "интервьюе́р", tr = "intɛrvʹjuér"},
			{term = "интервью́ер", tr = "intɛrvʹjújer", q = {"less common"}, separator = " and "},
			{term = "] ] ]"},
		},
		genders = {"m-an"},
		inflections = {
			{label = "genitive", "интервьюе́ра", "интервью́ера"},
			{label = "nominative plural", "интервьюе́ры", "интервью́еры"},
			{label = "genitive plural", "интервьюе́ров", "интервью́еров"},
		},
		categories = {"Russian nouns"},
		sc = require("Module:scripts").getByCode("Cyrl"),
	}

	local val4 = full_headword{
		lang = require("Module:languages").getByCode("ar"),
		heads = {"] ] ]"},
		translits = {"ḡudda baṣaliyya ʾiḥlīliyya"},
		genders = {"f"},
		inflections = {
			{label = "plural", enable_auto_translit = true, 
				{term = "غُدَد بَصَلِيَّة إِحْلِيلِيَة", translit = "ḡudad baṣaliyya ʾiḥlīliyya"}},
		},
		categories = {"Arabic nouns"},
	}

	local outputs = {
		val1,
		val2, val2_autotr, val2_autotr_poscat,
		val3, val3_new, val3_multiscript, val3_multiscript_wrong,
		val4,
	}
	return table.concat(outputs, "\n\n")
end

return export