The only methods I've been able to think of don't seem to work:
- The phptag subset does not support user functions.
- A phptag inside a template only resolves arguments after the PHP is executed (so the string processed by PHP code is "{{{1}}}" or whatever, not the argument being passed.
- Variables defined in a phptag in one page do not persist to transcluded phptags
I feel like there must be something obvious that I'm missing, and maybe I'll think of it after I post this...