#MODELE

#MODELE{name} inserts the results of a template contained in the modeles/ directory. The identifier of the parent loop is passed by default with the "id" parameter to this code inclusion.

Additional arguments can be passed:

// preferred format
[(#MODELE{name, argument=xx, argument})]
// alternative format, to be avoided
[(#MODELE{name}{argument=xx}{argument})]

These inclusions may also be called within the body text of an article (with the correct syntax), which means that article authors can optionally include particular models as and when they choose:

// XX is the identifier of the object to pass.
<nameXX>
// arguments using | (pipes)
<nameXX|argument=xx|argument2=yy>

Example

List the various translations of an article, with a link to each of them:

<BOUCLE_art(ARTICLES){id_article}>
#MODELE{article_traductions}
</BOUCLE_art>

Author Mark Baber Published : Updated : 12/03/23

Translations : English, français, Nederlands