Forum:DynamicPageLIst in a template

Is there a way to use a dynamic page list inside a template, where the category name is the template argument?

The 'naive' method didn't work, as you can see below.

I put a dynamic page list in the sandbox, and then include the sandbox as a template from the current document. The relevant part is the part titled with "Testing Dynamic Page List".

As you can see, DynamicPageList alone works fine, and the template parameter alone also works fine, but putting the template parameter inside the DynamicPageList doesn't work.

Is there a way around this?

---