Pages from custom templates are empty

I have XWiki 9.4 and I created some custom templates for it. However, once I create pages with those templates, they are just blank. Could someone help me with possible reasons for it?

I’ve tried to search for the solution, but can’t find one.

Thanks in advance!