I have a snippet that is included in multiple templates. It performs some operations and then defines a few variables with values based on the results of those operations. The templates then need to use those those values in a couple different ways.
It seems that I cannot access a variables defined in the snippet from the templates. A VERY watered down example: