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

De Mouvement Arbre-Évolution
Aller à :navigation, rechercher
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 3 : Ligne 3 :
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5BEst-20une-20photo-20de-20la-20parcelle::{{{parcelle|}}}-5D-5D/-3FPath%3DlienP/-3FPhoto-20pr%C3%A9f%C3%A9r%C3%A9e%3DprefP/mainlabel%3D/limit%3D5000/offset%3D0/format%3Dcsv
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5BEst-20une-20photo-20de-20la-20parcelle::{{{parcelle|}}}-5D-5D/-3FPath%3DlienP/-3FPhoto-20pr%C3%A9f%C3%A9r%C3%A9e%3DprefP/mainlabel%3D/limit%3D5000/offset%3D0/format%3Dcsv
| data=lienP=lienP,pref=prefP
| data=lienP=lienP,pref=prefP
}}<slideshow sequence="random" transition="fade" refresh="5000" transitiontime="1500">
}}{{#get_web_data:
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5BCat%C3%A9gorie:PhotoParcelle-5D-5D-20-5B-5BEst-20une-20photo-20de-20la-20parcelle::{{{parcelle}}}-5D-5D-20-5B-5BPhoto-20pr%C3%A9f%C3%A9r%C3%A9e::vrai-5D-5D/-3FPath%3DphotoPrefP/mainlabel%3Did/limit%3D5000/order%3Drandom/sort%3DPath/offset%3D0/format%3Dcsv/link%3Dnone
| data=photoPrefP=photoPrefP
}}{{#if: {{#external_value: photoPrefP}}|
<div style="max-height:240px;">
<div id="carouselParcelle" class="col-12 carousel slide carousel-fade px-0" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active"><span class="d-block w-100">{{#replace: {{#external_value: photoPref}}|/images/|/images/thumb/}}/800px-{{#explode: {{#external_value: photoPref}}|/|6}}</span></div>
{{#for_external_table:|
{{#for_external_table:|
<div class="col-12 my-0"><htmltag tagname="img" src="{{{lienP}}}" class="vignette" style="object-fit:cover"></htmltag></div>
<div class="carousel-item"><span class="d-block w-100">{{#replace: {{{lienP}}}|/images/|/images/thumb/}}/800px-{{#explode: {{{lienP}}}|/|6}}</span></div>}}
}}
</div>
</slideshow>
<htmltag tagname="button" class="btn carousel-control-prev" type="button" data-target="#carouselParcelle" data-slide="prev"><<</htmltag>
<!--div class="row">
<htmltag tagname="button" class="carousel-control-next" type="button" data-target="#carouselParcelle" data-slide="next">  >></htmltag>
{{#for_external_table:|
</div>
<div class="col-4" style="height:240px">
<htmltag tagname="img" src="{{{lienP}}}" class="vignette" style="object-fit:cover"></htmltag>
</div>
</div>
}}
|}}
</div-->

Version du 7 juin 2024 à 08:35