Added some notes on passing variables to templates