« 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 6 : Ligne 6 :
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}}|0||
}}
{{#ifeq: {{#external_value: nPhotos}}|0||
<h5>Photos du projet ({{#external_value: nPhotos}})</h5>
<h5>Photos du projet ({{#external_value: nPhotos}})</h5>
<div style="max-height:240px;">
<div style="max-height:240px;">
Ligne 12 : Ligne 13 :
<div class="carousel-inner rounded">
<div class="carousel-inner rounded">
{{#for_external_table:|{{#ifeq: {{{lien|}}}|||
{{#for_external_table:|{{#ifeq: {{{lien|}}}|||
<div class="carousel-item {{#ifeq: {{{lien|}}}|{{{lien1|}}}|active|}}"><span class="d-block w-100">{{#replace: {{#replace: {{{lien}}}|/images/|/images/thumb/}}/800px-{{#explode: {{{lien}}}|/|6}}</span></div>| |_}}  
<div class="carousel-item {{#ifeq: {{{lien|}}}|{{{lien1|}}}|active|}}"><span class="d-block w-100">{{#replace: {{#replace: {{{lien}}}|/images/|/images/thumb/}}/800px-{{#explode: {{{lien}}}|/|6}}</span></div>| |_}}  
</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-next" type="button" data-target="#carouselProjet" data-slide="next">►</htmltag>
<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>
</div>
</div>
}}}}
}}}}

Version du 10 juin 2024 à 12:58

Photos du projet ()