มอดูล:bo-headword
หน้าตา
- This มอดูล lacks a documentation subpage. Please create it.
- Useful links: subpage list • links • transclusions • testcases • sandbox
local export = {}
local pos_functions = {}
local lang = require("Module:languages").getByCode("bo")
local PAGENAME = mw.title.getCurrentTitle().text
local script = require("Module:scripts").getByCode("Tibt")
function export.show(frame)
local args = frame:getParent().args
local poscat = frame.args[1] or error("Part of speech has not been specified. Please pass parameter 1 to the module invocation.")
-- หมวดหมู่เป็นภาษาไทย
local poscat_th = require("Module:th-utilities").th_pos(poscat)
local data = {lang = lang, sc = script, pos_category = poscat_th, categories = {}, heads = {args["head"] or PAGENAME}, inflections = {}}
return require("Module:headword").full_headword(data)
end
return export