I'm wondering if there is a way to dynamically set variables within a template partial from the point at which it is included. This works in Low Variables as the preparse function, but is there anything for partials that could include this functionality?
Template Partials are renamed Snippets. They don't support a preparse-like function, although you could try a workaround with Preload Replace vars, as explained in this blog post from 2011.