Check in Lua script from https://it.wiktionary.org/wiki/Modulo:it-conj/Sandbox used to conjugate Italian verbs on Wiktionary.