It's already enabled for templates, and this is a natural extension of this.
Discussed here: https://pl.wikipedia.org/wiki/Wikipedia:Kawiarenka/Kwestie_techniczne#Modu.C5.82y_w_Lua_i_wersje_przejrzane
Version: wmf-deployment
Severity: normal
URL: https://pl.wikipedia.org/wiki/Wikipedia:Kawiarenka/Kwestie_techniczne#Modu.C5.82y_w_Lua_i_wersje_przejrzane