Thinking this idea out to its fullest extent, brings up five possible forms:
- Always output content, assignment via
as varname
is not allowed. The built in{% now %}
is an example. - Always output content, assignment via
as varname
is optional. The built in{% cycle %}
is an example. - Some times output, some times assign, depending upon the presence of
as varname
. The built in{% url %}
is an example. - Always assign,
as varname
is optional. There is no built in example. - Always assign,
as varname
is required. The built in{% regroup %}
is an