« Modèle:AffichePhotoProjet » : différence entre les versions
De Mouvement Arbre-Évolution
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 4 : | Ligne 4 : | ||
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 | ||
| data=nPhotos=nPhotos | | data=nPhotos=nPhotos | ||
}} | }}{{#ifeq: {{#external_value: nPhotos}}| ||<h5>Photos du projet ({{#external_value: nPhotos}})</h5> | ||
{{#ifeq: {{#external_value: nPhotos}}| || | |||
<div style="max-height:240px;"><div id="carouselProjet" class="col-12 carousel slide rounded carousel-fade px-0" data-ride="carousel"><div class="carousel-inner rounded"> | <div style="max-height:240px;"><div id="carouselProjet" class="col-12 carousel slide rounded carousel-fade px-0" data-ride="carousel"><div class="carousel-inner rounded"> | ||
{{#for_external_table:|{{#if: {{{lien|}}}|<div class="carousel-item"><span class="d-block img-fluid">{{{lien}}}</span></div>}}}} | {{#for_external_table:|{{#if: {{{lien|}}}|<div class="carousel-item"><span class="d-block img-fluid">{{{lien}}}</span></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-next fs-3 fw-bolder" type="button" data-target="#carouselParcelle" data-slide="next">►</htmltag> | </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-next fs-3 fw-bolder" type="button" data-target="#carouselParcelle" data-slide="next">►</htmltag> | ||
</div></div> | </div></div> | ||
}} | |||