The AUTEURS loop, as its name indicates, returns a list of authors. If you do not specify a selection criterion, the loop will return all the authors with published articles.
<BOUCLEn(AUTEURS){criterion... }>
Selection Criteria
You should use one of the following criteria to indicate which authors are selected.
- {tout} all authors are selected, whether they have written an article or not.
- {id_auteur} returns the author identified by id_auteur. As the identifier of each author is unique, this criterion will only return a single author or none.
- {id_article} returns all the authors of this article.
- {lang} returns the authors who selected the language passed in the page URL, for their interface in the private area. If someone has never been connected to the private area before, they will not be returned by this criterion.
Display Criteria
You can use the criteria applicable to all loops.
Tags of this loop
- Tags retrieved from the database
The following tags represent the items retrieved from the database. You can also use them as sort criterion (for example, {par nom} i.e. by name).
- #ID_AUTEUR returns the unique identifier of the author.
- #NOM returns the author’s name.
- #BIO returns the author’s biography.
- #EMAIL returns the author’s e-mail address.
- #NOM_SITE the name of the author’s website.
- #URL_SITE the address (URL) of the author’s website.
- #PGP the author’s public key for PGP encryption.
- #LANG the author’s language.
- #FORMULAIRE_ECRIRE_AUTEUR [SPIP 1.4] a form making it possible to write messages to the author. This relies on the host server being able to send mail and makes it possible for the author to receive messages without revealing their e-mail address.
- Tags calculated by SPIP
The following elements are calculated by SPIP. They cannot be used as sort criteria.
- #NOTES returns the footnotes (calculated from an analysis of the text).
- #URL_AUTEUR returns the address of the auteur.php3?id_auteur=.... page.
Logos
- #LOGO_AUTEUR the author’s logo, including an optional hovering logo.
The logo tag is formatted as follows:
[(#LOGO_AUTEUR|alignment|address)]
[SPIP 1.6]: The #LOGO_AUTEUR_NORMAL and #LOGO_AUTEUR_SURVOL tags allow more control in the display of the two logos.
