<$mt:BuildTemplateID$>

Returns the ID of the template (index, archive or system template) currently being built.

Examples

Publish “edit” links in index templates:

<a href="<$mt:AdminCGIPath$><$mt:AdminScript$>?__mode=view&_type=template&id=<$mt:BuildTemplateID$>&blog_id=<$mt:BlogID$>">Edit</a>
This page was last updated on 2009-06-29, 15:30.

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.