From: doc/changelogs/3.5/CHANGELOG-3.4.4-to-3.5.0
- Added support for the template variable 'persistent_variable', which can be
used to communicate between content templates and other templates, even
though content caching is on. It can be set for example with
{set scope=global persistent_variable=42} and fetched with {$module_result.content_info.persistent_variable}
http://ez.no/doc/ez_publish/technical_manual/3_9/reference/template_override_conditions says it can be used in the override of the node/view/*.tpl
So I assume that you can site it in a template then have an override that display a different template dependant on the value. E.G.