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

De Mouvement Arbre-Évolution
Aller à :navigation, rechercher
Aucun résumé des modifications
Aucun résumé des modifications
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/-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
}}{{#get_web_data:
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5BCat%C3%A9gorie:PhotoProjet-5D-5D-20-5B-5BEst-20une-20photo-20du-20projet::{{{projet|}}}-5D-5D-20-5B-5BPhoto-20pr%C3%A9f%C3%A9r%C3%A9e::vrai-5D-5D/-3FPath%3DphotoPref/mainlabel%3Did/limit%3D5000/order%3Drandom/sort%3DPath/offset%3D0/format%3Dcsv/link%3Dnone
| data=photoPref=photoPref
}}{{#get_web_data:
}}{{#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%3DnPhotos/format%3Dcsv
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5B:{{{projet|}}}-5D-5D/-3FNombre-20de-20photos%3DnPhotos/format%3Dcsv
Ligne 10 : Ligne 7 :
<div style="max-height:240px;">
<div style="max-height:240px;">
<div id="carouselProjet" class="col-12 carousel slide rounded carousel-fade px-0" data-ride="carousel">
<div id="carouselProjet" class="col-12 carousel slide rounded carousel-fade px-0" data-ride="carousel">
<div class="carousel-inner rounded">
<div class="carousel-inner rounded">{{#if: {{{lien|}}}|||
<div class="carousel-item active">{{#if: {{#external_value: photoPref}}|<span class="d-block w-100">{{#replace: {{#external_value: photoPref}}|/images/|/images/thumb/}}/800px-{{#explode: {{#external_value: photoPref}}|/|6}}</span></div>|}}
{{#for_external_table:|{{#ifeq: {{{lien|}}}|||
{{#for_external_table:|{{#ifeq: {{{lien|}}}|||
<div class="carousel-item"><span class="d-block w-100">{{#replace: {{{lien}}}|/images/|/images/thumb/}}/800px-{{#explode:  {{{lien}}}|/|6}}</span></div>}} }}
<div class="carousel-item active"><span class="d-block w-100">{{#replace: {{{lien}}}|/images/|/images/thumb/}}/800px-{{#explode:  {{{lien}}}|/|6}}</span></div>}}}}}}
</div>
</div>
<htmltag tagname="button" class="btn carousel-control-prev" type="button" data-target="#carouselProjet" data-slide="prev">◄</htmltag>
<htmltag tagname="button" class="btn carousel-control-prev" type="button" data-target="#carouselProjet" data-slide="prev">◄</htmltag>

Version du 10 juin 2024 à 12:13