This module contains new entry creation rules for Cebuano; see WT:ACCEL for an overview, and Module:accel for information on creating new rules.
return {generate = function (params, entry)
-- Check native script first
if params.form == "Badlit" then
local pos_with_head_template = {
noun = "noun",
= "proper noun",
verb = "verb",
adjective = "adj",
adverb = "adv",
numeral = "num"
}
if pos_with_head_template ~= nil then
entry.head = "{{ceb-" .. pos_with_head_template .."}}"
else
entry.head = "{{ceb-head|" .. params.pos .."}}"
end
entry.def = "{{ceb-badlit|" .. params.origin .. "}}"
else
entry.head = "{{ceb-head|" .. params.pos .." form|b=+}}"
if params.pos == "verb" then
entry.def = "{{verb form of|ceb|" .. params.origin .. "||" .. params.form .. "}}"
end
end
end}