Custom blocks with variables

How do I put variables in custom block titles

Can you expand on what you mean please?

Create a new block, edit the block and click the “+” then click variable.

what I mean is how do you put a variable inside the title of a custom block.

Isntead of selecting title select variable, it will still be visible on the block, but will become a variable or will be able to take input.