For example, {include 'path/to/template.tpl'}?
There’s no mention in the documentation of said format, but it seems to work identically to:
{include file='path/to/template.tpl'}
Is this a quirk, or by design? I prefer the tidier syntax for when I’m not passing additional vars, but want to be sure it’s an accepted format (ver. 3.0.7).
{include "foo"},{extend "foo"}etc. are shorthand notations (deliberately) introduced in Smarty3. It is safe to use them. There are a bunch of these, e.g.{foreach $foo as $bar}(compared to{foreach from=$foo item="bar"}). They don’t differ performance-wise, so it really just boils down to your personal / team preference.