#ENV*{bloc_ancre} #SET{bornes,#ENV{page_courante}|bornes_pagination{#ENV{nombre_pages},10}} #SET{premiere, #GET{bornes}|reset} #SET{derniere, #GET{bornes}|end} #SET{pages,#GET{premiere}|range{#GET{derniere}}} #SET{sep,#ENV{separateur,'-'}} <:pagination:pages:>[ (#SET{item, #ENV{page_courante}|moins{2}|mult{#ENV{pas}} }) ][(#ENV{url} |parametre_url{#ENV{debut},#GET{item}} |ancre_url{#ENV{ancre}} |lien_ou_expose{<:pagination:prev:>,#ENV{page_courante}|<={1},'lien_pagination','',nofollow} |inserer_attribut{rel,prev} )[(#GET*{sep})]][(#GET{premiere}|>{1}|?{1})[(#GET*{sep})]...[(#GET*{sep})]][ (#SET{item, #VALEUR|moins{1}|mult{#ENV{pas}} }) ][(#ENV{url} |parametre_url{#ENV{debut},#GET{item}} |ancre_url{#ENV{ancre}} |lien_ou_expose{#VALEUR,#VALEUR|=={#ENV{page_courante}},lien_pagination,'',nofollow})][(#VALEUR|<{#GET{derniere}}|?{#GET{sep}})][[(#GET*{sep})]...[(#GET*{sep})](#GET{derniere}|<{#ENV{nombre_pages}}|?{#ENV{nombre_pages}})][ (#SET{item, #ENV{page_courante}|mult{#ENV{pas}} }) ][[(#GET*{sep})](#ENV{url} |parametre_url{#ENV{debut},#GET{item}} |ancre_url{#ENV{ancre}} |lien_ou_expose{<:pagination:next:>,#ENV{page_courante}|>={#ENV{nombre_pages}},'lien_pagination','',nofollow} |inserer_attribut{rel,next} )]