Outils pour utilisateurs

Outils du site


asca:spip:les-boucles-de-spip

Ceci est une ancienne révision du document !


Les boucles de spip

html et boucles SPIP

<BOUCLE_article_principal(ARTICLES){id_article}>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
 
  <head>
    <title>#TITRE - #NOM_SITE_SPIP</title>
	<meta name="description" content="#DESCRIPTION" />

    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" media="all" href="#CHEMIN{etud8/style.css}" />
  </head>
 
  <body>
	<!-- mon commentaire -->
	<div id="bandeau">
		[(#LOGO_SITE_SPIP|left|#URL_SITE_SPIP)]
	</div>
	<div id="filariane">
		<p>
		<BOUCLE_filariane(HIERARCHIE){id_article}{">>"}>
			#TITRE
		</BOUCLE_filariane>
		</p>
	</div>
	<div id="navigation">
		<B_navigation>
		<ul>
			<BOUCLE_navigation(RUBRIQUES){racine}>
				<li><a href="#URL_RUBRIQUE">#TITRE</a></li>
			</BOUCLE_navigation>
		</ul>
		</B_navigation>
			<p>Ceci s'affiche si la boucle ne renvoie rien</p>
		<//B_navigation>
	</div>
	<div id="corps">
		<h1>[(#TITRE|replace{super,zut})]</h1>
		#LESAUTEURS - [(#DATE|affdate{saison})]
		[Ce s'affiche avant (#TEXTE|image_reduire{500,0}) Ceci s'affiche après]
	</div>
	<div id="actualites">
		
	</div>
	<div id="pied">
		<p>
			<a href="http://www.spip.net">www.spip.net</a>
		</p>
	</div>
  </body>
</html>
</BOUCLE_article_principal>
asca/spip/les-boucles-de-spip.1259395909.txt.gz · Dernière modification: 2009/11/28 09:11 de pielo