« Modèle:AffichePhotoParcelle » : différence entre les versions

De Mouvement Arbre-Évolution
Aller à :navigation, rechercher
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
{{#clear_external_data:}}
{{#clear_external_data:}}{{#get_web_data:
{{#get_web_data:
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5BEst-20une-20photo-20de-20la-20parcelle::{{{parcelle|}}}-5D-5D/-3FPath%3DlienP/-3FPhoto-20pr%C3%A9f%C3%A9r%C3%A9e%3DprefP/mainlabel%3D/limit%3D5000/offset%3D0/format%3Dcsv
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5BEst-20une-20photo-20de-20la-20parcelle::{{{parcelle|}}}-5D-5D/-3FPath%3DlienP/-3FPhoto-20pr%C3%A9f%C3%A9r%C3%A9e%3DprefP/mainlabel%3D/limit%3D5000/offset%3D0/format%3Dcsv
| data=lienP=lienP,pref=prefP
| data=lienP=lienP,pref=prefP
}}{{#get_web_data:
}}{{#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-20-5B-5BPhoto-20pr%C3%A9f%C3%A9r%C3%A9e::vrai-5D-5D/-3FPath%3DphotoPrefP/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=photoPrefP=photoPrefP
| data=photoPrefHasard=photoPrefHasard
}}
}}
<div style="max-height:240px;">
<div style="max-height:240px;">
<div id="carouselParcelle" class="col-12 carousel slide carousel-fade px-0" data-ride="carousel">
<div id="carouselParcelle" class="col-12 carousel slide carousel-fade px-0" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-inner">
<div class="carousel-item active"><span class="d-block w-100">{{#replace: {{#external_value: photoPref}}|/images/|/images/thumb/}}/800px-{{#explode: {{#external_value: photoPref}}|/|6}}</span></div>
<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:|
{{#for_external_table:|
<div class="carousel-item"><span class="d-block w-100">{{#replace: {{{lienP}}}|/images/|/images/thumb/}}/800px-{{#explode:  {{{lienP}}}|/|6}}</span></div>}}
<div class="carousel-item"><span class="d-block w-100">{{#replace: {{{lienP}}}|/images/|/images/thumb/}}/800px-{{#explode:  {{{lienP}}}|/|6}}</span></div>}}

Version du 7 juin 2024 à 08:38