Board Thread:Support Requests - Getting Technical/@comment-38272660-20190813202725/@comment-1038387-20190813204437

Vardefine is an extension that's not enabled on default. I take it you copied it from another wiki? It worked there because they had the extension. Send a request to have it enabled to Special:Contact, or look for ways to write your template without it.