<{include}> タグを使用して、現在のテンプレートに他のテンプレートをインクルードします。現在のテンプレートにて利用可能なあらゆる変数は、インクルードされたテンプレートでも同じく利用可能です。
| 属性名 | 型 | 必須 | デフォルト | 概要 |
| file | string | Yes | n/a | インクルードするテンプレートファイル名 |
<html>
<head>
<title><{$title}></title>
</head>
<body>
<{include file='page_header.tpl'}>
<{* ここにテンプレートの本体を記述します。変数 $tpl_name
はたとえば 'contact.tpl' などに置き換えられます。
*}>
<{include file="$tpl_name.tpl"}>
<{include file='page_footer.tpl'}>
</body>
</html>
<{* ファイルの絶対パス *}>
<{include file='/usr/local/include/template/header.tpl'}>
<{* windows環境の絶対パス *}>
<{include file='C:/www/pub/template/header.tpl'}>
<{* 変数名に格納された名前のテンプレートをインクルード - 例 $module = 'contacts' *}>
<{include file="$module.tpl"}>
<{php}> も参照してください。