MTInclude module=”テンプレートモジュール名”
テンプレートモジュール名を呼び出すことができる。
MTInclude file=”ファイル名”
MTIncludeファンクションタグは、テンプレートモジュールだけでなく、fileモディファイアを付与すれば静的に出力されたファイルも読み込むことができる。
MTIncludeBlock module=”テンプレートモジュール名”
テンプレート
<MTIncludeBlock module=”テンプレートタイプ”>
<MTSetVar name=”タイプ” value=”type A”>
</MTIncludeBlock>
テンプレートモジュール:モジュール名「テンプレートタイプ」
<p>テンプレートタイプ:<MTVar name=”タイプ” default=”デフォルト”></p>
出力結果
<p>テンプレートタイプ:type A</p>