[(#CACHE{0})][(#REM)
Listes d'articles (pour sommaire, resume, plan, rubrique, recherche, mot-clé)
On transmet id_article dans la classe du pinceau pour prévisualiser
l'article id_article avec le pinceau du présent composant.
Paramètres:
id_article: affiche l'article id_article.
id_mot: affiche le mot-clé id_mot et la liste des articles ayant ce mot-clé si id_article est vide.
page: détermine la boucle SPIP à charger si les variables précédentes sont vides.
]
[
(#ID_ARTICLE|?{' '})[(#INCLURE{fond=composants/article/article}{env}{self}{id_article})#SET{ok,oui}]][
(#ID_MOT|?{' '})[(#INCLURE{fond=composants/articles/boucle-articles_mot}{env}{self})#SET{ok,oui}]][
(#ENV{page}|=={sommaire}|?{' '})[(#INCLURE{fond=composants/articles/boucle-une}{env}{self}{debut_articles})#SET{ok,oui}]][(#REM) TODO : ne pas afficher article de l'édito si Edito actif ][
(#ENV{page}|=={resume}|?{' '})[(#INCLURE{fond=composants/articles/boucle-resume}{env}{self}{debut_articles})#SET{ok,oui}]][
(#ENV{page}|=={recherche}|?{' '})[(#INCLURE{fond=composants/articles/boucle-articles_recherche}{env}{self})#SET{ok,oui}]][
(#ENV{page}|=={plan}|?{' '})[(#INCLURE{fond=composants/plan/plan}{env}{self})#SET{ok,oui}]][
(#ENV{page}|=={auteur}|?{' '})[(#INCLURE{fond=composants/auteur/auteur}{env}{self})#SET{ok,oui}]][
(#ENV{page}|=={forums}|?{' '})[(#INCLURE{fond=composants/articles/boucle-plan}{env}{self}{mode=forums})#SET{ok,oui}]][
(#GET{ok}|!={oui}|?{' '})???][(#REM) PROVISOIRE : affiche ??? si aucune boucle ne convient - TODO : renvoyer vers 404 ?]