Module:accel/pt
Appearance
- පහත දැක්වෙන උපදෙස්, Module:documentation මගින් ජනනය කොට ඇත. [සංස්කරණය කරන්න]
- ප්රයෝජනවත් සබැඳි: root page • root page’s subpages • සබැඳි • transclusions • testcases • sandbox
This module contains new entry creation rules for පෘතුගීසි; see WT:ACCEL for an overview, and Module:accel for information on creating new rules.
return {generate = function (params, entry)
-- special handling for female equivalents
if params.pos == "noun" and params.form == "f" then
entry.head = "{{pt-noun|f}}"
-- definition already correct
end
-- special handling for verb forms
local verb_spec = params.form:match("^verb%-form%-(.*)$")
if verb_spec then
entry.def = "{{pt-verb form of|" .. verb_spec .. "}}"
end
end}