This is related to http://ellislab.com/forums/viewthread/4076/
I am working to modularize my project by moving common template elements to embedded templates.
However, I’m having trouble understanding how to pass variables to the embedded templates.
For example, I wish to pass {entry_date}. I’ve tried
{embed="content-blocks/date" pass_entry_date="{entry_date}"}Then in content-blocks/date, I have:
{{embed:pass_entry_date} format='%l %M %d %Y'}However, I am getting:
{1209280680 format=' %l %M %d %Y'}
What am I doing wrong? Are there any threads that go into more detail about passing variables?