I'm using Confluence 4.1.9 and I'm having trouble with the "metadata" macro in a page template.
I figured out that the wiki markup for this is {details} as in:
{details}
|Field1|Some info|
|Field2|More info|
|Field3|The last info|
{details}
I've pasted this code into a the body of a page template and it appears to work correctly when I preview the template. When I try to create a page from this template, I just get an empty Metadata macro block, like this:

The table is missing from the newly created page.
I've tried searching the knowledge base, but can't find any reports of this problem. I'm not sure if this is a bug, or if I'm doing something wrong and would appreaciate any advice.