This isn't an "official rule", but my general preference is to *not* pass variables that are just node attributes into the template - it violates DRY principles. Computed values, sure, but it just adds an additional layer of indirection IMO.