Module:accel/en
Appearance
- The following documentation is generated by Module:documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
This module contains new entry creation rules for English; see WT:ACCEL for an overview, and Module:accel for information on creating new rules.
return {generate = function(params, entry)
local english_template, general_template
if params.form == "comparative" or params.form == "superlative" then
-- [[Template:en-comparative of]], [[Template:en-superlative of]]
entry.def = "{{en-" .. params.form .. " of|" .. params.origin
.. (params.pos ~= "adjective" and "|POS=" .. params.pos or "")
.. "}}"
elseif params.form == "pres|part" then
entry.pos_header = "Verb"
entry.head = entry.make_head("verb form")
end
end}