A modult a Modul:accel/af/doc lapon tudod dokumentálni
return {generate = function(params, entry)
if params.form == "p" then
entry.head = "{{head|" .. params.lang .. "|noun plural form}}"
elseif params.form == "diminutive" then
entry.head = "{{af-noun|s}}"
entry.def = "{{diminutive of|" .. params.lang .. "|" .. params.origin .. (params.origin_transliteration and "|tr=" .. params.origin_transliteration or "") .. "}}"
elseif params.form == "pres|ptcp" then
entry.head = "{{head|" .. params.lang .. "|present participle}}"
entry.def = "{{present participle of|" .. params.lang .. "|" .. params.origin .. (params.origin_transliteration and "|tr=" .. params.origin_transliteration or "") .. "|nocat=1}}"
elseif params.form == "past|ptcp" then
entry.head = "{{head|" .. params.lang .. "|past participle}}"
entry.def = "{{past participle of|" .. params.lang .. "|" .. params.origin .. (params.origin_transliteration and "|tr=" .. params.origin_transliteration or "") .. "|nocat=1}}"
end
end}