Text box using template

I am testing in developper tools, template kind of scripting.
Is there a card when I can directly use my script with copy and paste

Thanks for your help

There are different options based on what you are trying to do. If you are looking for a card to output text based on templates you can use the Markdown Card. There are custom cards that support the use a templates. One popular option is the Mushroom Card set available through HACS. There are also a couple custom integrations that add template functionality to core cards.