Block Tags
Block tags can contain other tags or text. They enclose text by an opening and closing tag like so:
<mt:Entries lastn="5">
Your HTML here.
</mt:Entries>
Examples
<mt:Entries>- loop over a set of entries<mt:Comments>- loop over a set of comments<mt:IfRegistrationEnabled>- conditionally display the contents of the tag if registration is enabled on this blog
- Previous: Function Tags
- Next: Declaring Template Tags
This page was last updated on 2008-09-17, 14:41. [Edit]

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.