Module:form of: Difference between revisions

m
Trying to make linkless inflection list
No edit summary
m (Trying to make linkless inflection list)
Tags: Mobile edit Mobile web edit
Line 32: Line 32:
end
end
return '<span class="form-of">' .. label .. ' of ' .. link .. '</span>'
return '<span class="form-of">' .. label .. ' of ' .. link .. '</span>'
end
function export.make_form(data)
local label
if data.inflection then
label = make_labels(data.inflection)
else
label = data.form or "alternative form"
end
return '<span class="form-of">' .. label .. '</span>'
end
end


return export
return export