fenom/docs/tags/include.md
bzick d4d7b7d07b Improve cycle
Update docs
2013-03-15 00:57:28 +04:00

655 B
Raw Blame History

Tag {include} [RU]

{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.

{include "about.tpl"}

Переменные для подключаемого шаблона можно переопределить, задавая их аргументами тега.

{include "about.tpl" page=$item limit=50}

Все изменения переменных в подключаемом шаблоне не будут воздействовать на родительский шаблон.