fenom/docs/tags/import.md
2013-02-23 13:29:20 +04:00

16 lines
181 B
Markdown

Tag {import}
============
Import [macro](./macro.md) from another template
```smarty
{import 'math.tpl'}
```
```smarty
{import 'math.tpl' as math}
...
{math.plus x=5 y=100}
```