Tags
Tags are most often used to display content, and sometimes just to calculate it without displaying (outputting) anything at all. Such content can originate from various sources:
- The template’s own environment, i.e. some parameters that have been passed to the template, known as the compilation context.
- Content from an SQL table, by using a loop.
- Another specific source. In this case, the tags and their actions must be explicitly declared to SPIP, while the first 2 sources can be calculated automatically.