မဝ်ဂျူ:tr-headword

နူ ဝိက်ရှေန်နရဳ

Documentation for this module may be created at မဝ်ဂျူ:tr-headword/doc

local export = {}

function export.adjectives(frame)
	local params = {
		head = {},
		[1] = {}, -- hyphen (-)
	}
	local args = require("Module:parameters").process(frame:getParent().args, params)
	
	local lang = require("Module:languages").getByCode("tr")
	local poscat = "နာမဝိသေသန"
	local positive_form = args.head or mw.title.getCurrentTitle().text
	local data = {
		lang = lang,
		pos_category = poscat,
		categories = {},
		heads = positive_form,
		inflections = {}
	}
	
	if args[1] == "-" then
		table.insert(data.inflections, { label = "တော်ရံၚ်ဟွံမာန်" })
	end
	
	return require("Module:headword").full_headword(data)
end

return export