NAME

yatt_manual -- yatt syntax manual

Overview

In yatt, templates are almost like ordinally HTML. In basic setup, all yatt-specific items are written with (specified) namespace, which is overridable. In this document, I use yatt for explanation.

  • <!yatt:...>
  • Declaration. (beginning of a element, usually)

  • &yatt:...;
  • Variable reference and call of entity function.

  • <yatt:.../>, <yatt:...> ~ </yatt:...>
  • Call of a widget.

  • <:yatt:.../> ~, <:yatt:...> ~ </:yatt:...>
  • Call of a widget, with tag style arguments.

  • <?yatt ... ?>
  • General source code embedition (like php)

  • &yatt[[; ... &yatt]];
  • &yatt#num[[; ...singular... &yatt||; ...plural... &yatt]];
  • Internationalized message.

  • <!--#yatt ... -->
  • Comment, which is not parsed by yatt.