How can I pass variables from an include?

I’m defining some variables inside of header.html (the included file) and I need to access them in a template, is/how is this possible?

Thanks!

Take a look at this help topic on passing parameters to includes.