<mt:SetVars>

A block tag that is useful for assigning multiple template variables at once.

Example:

    <mt:SetVars>
    title=My Favorite Color
    color=Blue
    </mt:SetVars>

Then later:

    <h1><$mt:Var name="title"$></h1>

<ul><li><$mt:Var name="color"$></li></ul>

Related Tags:


This page was last updated on 2009-04-24, 17:59. [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.