fenom/docs/tags/include.md
Ivan Shalganov 0659d27878 Fix tests
Add docs
2013-02-08 14:23:10 +04:00

14 lines
411 B
Markdown

Tag {include}
=============
`{include}` tags are used for including other templates in the current template. Any variables available in the current template are also available within the included template.
```smarty
{include "about.tpl"}
```
Переменные для подключаемого шаблона можно переопределить
```smarty
{include "about.tpl" page=$item limit=50}
```