How do you make templates?

PLEASE I NEED TO KNOW...

For the Numberbet lawl

But seriously, how?