A modult a Modul:accel/gd/doc lapon tudod dokumentálni
return {generate = function (params, entry)
if params.form == 'plural' then
entry.def = '{{plural of|' .. params.lang .. '|' .. params.origin .. '}}'
elseif params.form == 'genitive' then
entry.def = '{{genitive singular of|' .. params.lang .. '|' .. params.origin .. '}}'
elseif params.form == 'genitive-and-plural' then
entry.def =
'{{genitive singular of|' .. params.lang .. '|' .. params.origin .. '}}'
.. '\n# {{plural of|' .. params.lang .. '|' .. params.origin .. '}}'
else
return no_rule_error(params)
end
end}