« TEST post7 » : différence entre les versions
De Mouvement Arbre-Évolution
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(5 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
{{#get_web_data: | {{#get_web_data: | ||
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/ | url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5BEst-20une-20photo-20du-20projet::Projet_00232-5D-5D/-3FPath%3Dlien/-3FPhoto-20pr%C3%A9f%C3%A9r%C3%A9e%3Dpref/mainlabel%3D/limit%3D500/format%3Dcsv|data=lien=lien,pref=pref | ||
}}{{#get_web_data: | |||
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5B:Projet_00232-5D-5D/-3FNombre-20de-20photos%3DnPhotos/format%3Dcsv | |||
| data=nPhotos=nPhotos | |||
}} | }} | ||
{{#external_value: nPhotos}} | |||
<ol> | |||
{{#for_external_table:|<li>[{{#replace: {{#replace: {{{lien}}}|/images/|/images/thumb/}}/800px-{{#explode: {{{lien}}}|/|6}}| |_}}]</li> | |||
}}</ol> | |||
<!-- | {{#ifeq: {{#external_value: nPhotos}}| ||<!-- On prend la première photo du lot pour en faire la photo active dans le caroussel-->{{#get_web_data: | ||
{{# | url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5BEst-20une-20photo-20du-20projet::Projet_00232-5D-5D/-3FPath%3Dlien1/mainlabel%3D/limit%3D1/format%3Dcsv|data=lien1=lien1 | ||
}} | }} | ||
[{{#external_value: lien1}}] | |||
<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"> | |||
{{#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><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 class="carousel slide" data-ride="carousel"> | |||
<div class="carousel-inner"> | |||
<div class="carousel-item active" | |||
</div> | |||
< | |||
<htmltag tagname=" | |||
</div> | |||
}} | }} | ||