« Modèle:AffichePhotoParcelle » : différence entre les versions
De Mouvement Arbre-Évolution
Aucun résumé des modifications Balise : Révoqué |
Aucun résumé des modifications Balise : Révocation manuelle |
||
Ligne 5 : | Ligne 5 : | ||
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/-3FPath%3DphotoPrefHasard/mainlabel%3Did/limit%3D5000/order%3Drandom/sort%3DPath/offset%3D0/format%3Dcsv/link%3Dnone | 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/-3FPath%3DphotoPrefHasard/mainlabel%3Did/limit%3D5000/order%3Drandom/sort%3DPath/offset%3D0/format%3Dcsv/link%3Dnone | ||
| data=photoPrefHasard=photoPrefHasard | | data=photoPrefHasard=photoPrefHasard | ||
}} | }}{{#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/mainlabel%3Dcpt/format%3Dcount | |||
| data=cpt=cpt | |||
}}{{#external_value: cpt}} | |||
<div style="max-height:240px;"> | <div style="max-height:240px;"> | ||
<div id="carouselParcelle" class="col-12 carousel slide rounded carousel-fade px-0" data-ride="carousel"> | <div id="carouselParcelle" class="col-12 carousel slide rounded carousel-fade px-0 shadow" data-ride="carousel"> | ||
<div class="carousel-inner rounded"> | <div class="carousel-inner rounded"> | ||
<div class="carousel-item active"><span class="d-block w-100">{{#replace: {{#external_value: photoPrefHasard}}|/images/|/images/thumb/}}/800px-{{#explode: {{#external_value: photoPrefHasard}}|/|6}}</span></div> | |||
{{#for_external_table:|{{#ifeq: {{{lienP}}}|||<div class="carousel-item"><span class="d-block w-100">{{#replace: {{{lienP}}}|/images/|/images/thumb/}}/800px-{{#explode: {{{lienP}}}|/|6}}</span></div>}}}} | {{#for_external_table:|{{#ifeq: {{{lienP|}}}|||<div class="carousel-item"><span class="d-block w-100">{{#replace: {{{lienP}}}|/images/|/images/thumb/}}/800px-{{#explode: {{{lienP}}}|/|6}}</span></div>}}}} | ||
</div> | </div> | ||
<htmltag tagname="button" class="btn carousel-control-prev fs-3 fw-bolder" type="button" data-target="#carouselParcelle" data-slide="prev">◄</htmltag> | <htmltag tagname="button" class="btn carousel-control-prev fs-3 fw-bolder" type="button" data-target="#carouselParcelle" data-slide="prev">◄</htmltag> |