Defining variables in a partial and using them in a page -> possible?

No.

See