« 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 9 : Ligne 9 :
}}<h5>Photos du projet ({{#external_value: nPhotos}})</h5>
}}<h5>Photos du projet ({{#external_value: nPhotos}})</h5>
<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:|{{#ifeq: {{{lien|}}}|||<div class="carousel-item"><span class="d-block img-fluid">{{#replace: {{#replace: {{{lien}}}|/images/|/images/thumb/}}/800px-{{#explode: {{{lien}}}|/|6}}| |_}} </span></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-next" type="button" data-target="#carouselProjet" data-slide="next">►</htmltag></div></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></div>
|}}
<!--
{{#for_external_table:|{{#if: {{{lien|}}}|<div class="carousel-item"><span class="d-block img-fluid">{{#replace: {{#replace: {{{lien}}}|/images/|/images/thumb/}}/800px-{{#explode: {{{lien}}}|/|6}}| |_}} </span></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-next" type="button" data-target="#carouselProjet" data-slide="next">►</htmltag></div></div>
}}-->

Version du 24 juin 2024 à 11:29