Generally cards don’t support templates unless a custom card supports in it’s own way.
Bubble card supports JS Templates for styles, but not JInja templates.
If you are after modularising your config then there are custom card solutions like config-template-card, decluttering-card, streamline-card, and uix-forge which is part of UI eXtension (UIX).
Okay, simply put I have 38 plant moisture sensors, each with their own battery and humidity entities, and all are named in the same manner:
sensor.plant_01_humidity
sensor.plant_01_battery
So, whenever I want to add another card I have to change 2 values within the YAML, it would be helpful if I only had to change the variable and have the card use that variable to select the correct humidity / battery pair.
It would also be useful to auto populate the name field using that variable (ie Plant 01).
It’s basically a time saving thing, change 1 variable and have the card display the correct information automatically.
I find this absolutely insane considering how many awesome things it allows users to do. Wish more cards supported jinja! I use almost exclusively Mushroom Template card for this reason.