Hello and welcome to the forum.
Very few Core Dashboard Cards support templates.
There are third party options, but you have not supplied sufficient information to advise you.
What card are you trying to use?
What is your full card configuration, correctly formatted for the forum (do not post a screen shot).