Modul:bho-headword

Üdvözlöm, Ön a Modul:bho-headword szó jelentését keresi. A DICTIOUS-ban nem csak a Modul:bho-headword szó összes szótári jelentését megtalálod, hanem megismerheted az etimológiáját, a jellemzőit és azt is, hogyan kell a Modul:bho-headword szót egyes és többes számban mondani. Minden, amit a Modul:bho-headword szóról tudni kell, itt található. A Modul:bho-headword szó meghatározása segít abban, hogy pontosabban és helyesebben fogalmazz, amikor beszélsz vagy írsz. AModul:bho-headword és más szavak definíciójának ismerete gazdagítja a szókincsedet, és több és jobb nyelvi forráshoz juttat.

A modult a Modul:bho-headword/doc lapon tudod dokumentálni

local export = {}
local pos_functions = {}
local links = require('Module:links')
local labels = require('Module:labels')
local m_scripts = require("Module:scripts")

local lang = require('Module:languages').getByCode('bho')
local PAGENAME = mw.title.getCurrentTitle().text
local current_script = m_scripts.findBestScript(PAGENAME, lang)

local Deva_Kthi_translit = require('Module:Deva-Kthi-translit')

function export.show(frame)
	local args = require('Module:parameters').process(frame:getParent().args,{
		 = {default = '?'},
		 = {},
	})
	local poscat = frame.args or error('Part of speech has not been specified. Please pass parameter 1 to the module invocation.')
	
	local data = {lang = lang, sc = current_script, pos_category = poscat, categories = {'Bhojpuri ' .. poscat .. ' in ' .. current_script:getCategoryName()}, heads = {args or PAGENAME}, genders = {}, inflections = {}}
	
	if poscat == 'nouns' or poscat == 'proper nouns' then
		if args == 'm' or args == 'f' then
			table.insert(data.genders, args)
		else
			table.insert(data.genders, '?')
		end
	end
	
	if current_script:getCode() == 'Deva' then
		table.insert(data.inflections, {label = 'Kaithi', Deva_Kthi_translit.tr(head or PAGENAME, lang, m_scripts.getByCode('Deva'))})
	end
	
	return require('Module:headword').full_headword(data)
end

return export