Tags - are control elements of macro templates.
Tags are commonly have a closing tag (like list or wrap), but there also tags that don't have a closing tag like slot.
Tags can be found in *.tag.php files in limb/macro/src/tags and in /src/macro folders of your packages. In the head of each tag file there are annotations that specify some meta informations as well as restrictions applied to the tag.
Here is the complete list of supported tags annotations:
Tags can have one or more attributes.
The attributes of macro tags can have two types of values:
Note that input_id_title and {{input id=“{$title}”}} have the same meaning while input_id_author.title and {{input id=“{$author.title}”}} are not. That is because macro renders simple attribute values «as is» but processes complex attributes with expressions.
Обсуждение