« Modèle:AffichePhotoProjet » : différence entre les versions

De Mouvement Arbre-Évolution
Aller à :navigation, rechercher
(Page créée avec « {{#get_web_data: url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-3Cq-3E-20-3Cq-3E-5B-5BEst-20une-20photo-20du-20projet::{{{projet|}}}-5D-5D-3C-2Fq-3E-20-20OR-20-20-3Cq-3E-5B-5BEst-20une-20photo-20de-20la-20parcelle.Est-20rebois%C3%A9e-20dans-20le-20cadre-20du-20projet::Projet-2000232-5D-5D-3C-2Fq-3E-20-3C-2Fq-3E/-3FPath%3Dlien/-3FPhoto-20pr%C3%A9f%C3%A9r%C3%A9e%3Dpref/mainlabel%3D/limit%3D5000/offset%3D0/format%3Dcsv| data=lien=lien,pre... »)
 
m (rollbackEdits.php mass rollback)
Balise : Révocation
 
(117 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
{{#get_web_data:
{{#get_web_data:
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-3Cq-3E-20-3Cq-3E-5B-5BEst-20une-20photo-20du-20projet::{{{projet|}}}-5D-5D-3C-2Fq-3E-20-20OR-20-20-3Cq-3E-5B-5BEst-20une-20photo-20de-20la-20parcelle.Est-20rebois%C3%A9e-20dans-20le-20cadre-20du-20projet::Projet-2000232-5D-5D-3C-2Fq-3E-20-3C-2Fq-3E/-3FPath%3Dlien/-3FPhoto-20pr%C3%A9f%C3%A9r%C3%A9e%3Dpref/mainlabel%3D/limit%3D5000/offset%3D0/format%3Dcsv| data=lien=lien,pref=pref
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5BEst-20une-20photo-20du-20projet::{{{projet|}}}-5D-5D/-3FPath%3DlienPr/-3FPhoto-20pr%C3%A9f%C3%A9r%C3%A9e%3DPpref/mainlabel%3D/limit%3D500/format%3Dcsv|data=lienPr=lienPr,Ppref=Ppref
}}{{#get_web_data:
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5B:{{{projet|}}}-5D-5D/-3FNombre-20de-20photos%3DnPhotosP/format%3Dcsv
| data=nPhotosP=nPhotosP
}}
}}
<slideshow sequence="random" transition="fade" refresh="5000">
{{#ifeq: {{#external_value: nPhotosP}}| ||
{{#for_external_table:|
<div class="col-12 mt-2">
<div class="col-6">
<h4 class="ml-n3">Photos du projet ({{#external_value: nPhotosP}})</h4>
<htmltag tagname="img" src="{{{lien}}}" class="vignette" style="object-fit:cover"></htmltag>
<div><div id="carouselProjet" class="col-12 carousel slide rounded carousel-fade px-0" data-ride="carousel" data-interval="4000"><div class="carousel-inner rounded">
{{#for_external_table:|{{#if: {{{lienPr|}}}|<div class="carousel-item"><span class="d-block img-fluid">{{{lienPr}}}</span></div>|}}}}
</div><htmltag tagname="button" class="btn carousel-control-prev fs-3 fw-bolder" type="button" data-target="#carouselProjet" data-slide="prev">◄</htmltag><htmltag tagname="button" class="btn carousel-control-next fs-3 fw-bolder" type="button" data-target="#carouselProjet" data-slide="next"></htmltag>
</div></div>
</div>
</div>
}}
}}
</slideshow>

Dernière version du 2 août 2024 à 12:14