Template:Lua library functions