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

De Mouvement Arbre-Évolution
Aller à :navigation, rechercher
Aucun résumé des modifications
Aucun résumé des modifications
 
(66 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 27 : Ligne 27 :
presse=presse
presse=presse
}}
}}
<!-- TITRES -->
<!-- TITRES HAUT -->
<div class="col mb-2">
<div class="col mb-2">
<div class="row">
<div class="row">
<h1 class="col-12 mb-0">{{#external_value: nomP}}</h1>
<h1 class="col-12 mb-0">{{#external_value: nomP}}</h1>
<h4 class="col-6 mb-0">Programme {{#external_value: typeP}}</h4>
<h4 class="col-6 mb-0">{{#external_value: typeP}}</h4>
<h4 class="col-6 text-right my-0 pr-0">{{#external_value: muni}}</h4>
<h4 class="col-6 text-right my-0 pr-0">{{#external_value: muni}}</h4>
</div>
</div>
</div>
</div>
<div class="row">
<div class="row">
<!-- COLONNE DE GAUCHE -->
<!-- COLONNE DE GAUCHE -->
<div class="col-7">
<div class="col-7">
<!-- PHOTO PRÉFÉRÉE -->
<!-- PHOTO PRÉFÉRÉE -->
<div class="col-12 mb-3" style="min-height:320px;)">
{{#get_web_data:
{{#get_web_data:
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5BCat%C3%A9gorie:PhotoProjet-5D-5D-20-5B-5BEst-20une-20photo-20du-20projet::{{{projet}}}-5D-5D-20-5B-5BPhoto-20pr%C3%A9f%C3%A9r%C3%A9e::vrai-5D-5D/-3FPath%3DLien/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:PhotoProjet-5D-5D-20-5B-5BEst-20une-20photo-20du-20projet::{{{projet}}}-5D-5D-20-5B-5BPhoto-20pr%C3%A9f%C3%A9r%C3%A9e::vrai-5D-5D/-3FPath%3DphotoLien/mainlabel%3Did/limit%3D10/order%3Drandom/sort%3DPath/offset%3D0/format%3Dcsv/link%3Dnone
| data=Lien=Lien
| data=photoLien=photoLien
}}
}}<div class="col-12 mb-3" style="min-height:320px;)">
{{#if: {{#external_value: Lien}}|
{{#if: {{#external_value: photoLien}}|
<htmltag tagname="img" src="{{#external_value: Lien}}" class="vignette" style="object-fit:cover"></htmltag>
<htmltag tagname="img" src="{{#external_value: photoLien}}" class="vignette" style="object-fit:cover"></htmltag>
|<div class="border border-light bg-color-light>&nbsp;</div>
|<div class="border border-light bg-color-light>&nbsp;</div>
}}
}}
Ligne 52 : Ligne 52 :
<div class="col-12" style="font-size:90%;">
<div class="col-12" style="font-size:90%;">
{{#external_value: desc}}
{{#external_value: desc}}
{{#if: {{#external_value: presse}}|
</div>
<h5>Revue de presse</h5>
<!-- REVUE DE PRESSE -->
<ul>{{#arraymap: {{#external_value: presse}}|,|@@|<li>@@</li>|\n}}</ul>
<div class="col-12" style="font-size:90%;">
{{AfficheRevueDePresse|projet={{{projet|}}}}}
</div>
 
<!-- HISTORIQUE -->
<div class="col-12">
<h5>Historique</h5>
<!--{{#arraymaptemplate: {{#external_value: nomPas}}|Affiche Plantation2|,|}} -->
{{Affiche PlantationInitialeProjet|projet={{{projet|}}}}}
</div>
<!-- INTERVENTIONS -->
{{#get_web_data:
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5BConcerne::{{{projet|}}}-5D-5D-20-5B-5BEst-20un-20suivi-20du-20type::%2B-5D-5D/-3FEst-20un-20suivi-20du-20type%3DtypeS/-3FA-20le-20nom-20de-20l-20action%3DtitreS/-3FDate-20de-20compl%C3%A9tion-20de-20l%27action-23ISO%3DdateS/-3FCommentaire-20pour-20Mouvement%3DcommS/mainlabel%3D/limit%3D5000/order%3Dasc/sort%3DDate-20de-20compl%C3%A9tion-20de-20l%27action/offset%3D0/format%3Dcsv
| data=typeS=typeS,titreS=titreS,dateS=dateS,commS=commS
}}<div class="col-12">
<h6>Interventions</h6>  
{{#if: {{#external_value: dateS}}|
{{#for_external_table:|
{{#if: {{{dateS|}}}|
<div class="col-12 border-top border-success border-right-0 border-left-0 border-bottom-0">
<div class="row no-gutter">
<div class="col-12"><b>{{{dateS}}} - <!--Enlever correction contacte quand réglé-->{{#ifeq: {{{typeS}}}|Contacte|Contact|{{{typeS}}} }}</b></div>
<div class="col-8 offset-4"><small>
<b>{{{titreS}}}</b><br>
<i>{{{commS}}}</i></small>
</div>
</div>
{{#ifeq: {{{typeS}}}|Replantation|
{{Affiche ReplantationProjet|projet={{{projet|}}}|date={{{dateS|}}}}}
|}}
|}}
</div>
</div>
<!-- SIGNATAIRES ET CONTRIBUTEURS -->
|}}}}
<div class="col-12">
|<small>Aucune intervention n'a été encore réalisée.</small>}}
<!-- On teste s'il y a au moins un signataire  et on va chercher son logo-->
<!-- Si oui on va chercher  et on affiche son logo -->
<h4 class="ml-n3">Propriétaire(s)</h4>
{{AfficheSignataires|{{{projet}}}}}
<h4 class="ml-n3">Contributeur(s)</h4>
{{AfficheContributeurs|{{{projet}}}}}
</div>
</div>
</div>
</div>


Ligne 82 : Ligne 105 :
| maxzoom=17
| maxzoom=17
| minzoom=8
| minzoom=8
| polygons= {{#replace: {{#replace: {{#external_value: parcGeo}}|Parcelle 0|[https://labo.laferme.wiki/mouvement/index.php?title=Fiche_Parcelle&parcelle=Parcelle+0}}|~~|<nowiki/><nowiki/> <nowiki/>Voir la fiche de la parcelle]<nowiki/> <nowiki/>~~}}
| polygons={{#replace: {{#replace: {{#replace: {{#replace: {{#external_value: parcGeo}}|Parcelle 0|[https://mouvement.arbre-evolution.org/index.php?title=Fiche_Parcelle&parcelle=Parcelle+0}}|**|<nowiki/> <nowiki/> <nowiki/>}}|~~|<nowiki/> <nowiki/> <nowiki/>]<nowiki/> <nowiki/>~~}}|++|<nowiki/> <nowiki/> <nowiki/>}}
}}
}}</div>
</div>
<!-- Identifiants des parcelles -->
<!-- Identifiants des parcelles -->
<div class="col-12 my-0" style="font-size:80%;">
<div class="col-12 my-0" style="font-size:80%;">
Ligne 93 : Ligne 115 :
<div class="col-12 shadow px-3 py-2 mb-3 text-white" style="background-color:rgba(76, 169, 72);z-index:1000;border-radius:5px;">
<div class="col-12 shadow px-3 py-2 mb-3 text-white" style="background-color:rgba(76, 169, 72);z-index:1000;border-radius:5px;">
{{AfficheSituation|projet={{{projet}}}}}
{{AfficheSituation|projet={{{projet}}}}}
</div>
<span class="my-2 btn btn-success">[https://calculcarbone.org/ Contribuez à nos projets!]</span>


<span class="my-2 btn btn-success">Contribuez à nos projets!</span>
<!-- SIGNATAIRES ET CONTRIBUTEURS -->
<div class="col-12">
<!-- On teste s'il y a au moins un signataire  et on va chercher son logo-->
<!-- Si oui on va chercher  et on affiche son logo -->
{{AfficheSignataires|{{{projet}}}}}
{{AfficheContributeurs|{{{projet}}}}}
</div>
</div>
</div>
<!-- PHOTOS -->
<!-- RANGÉE DU BAS -->
<div class="col-12">
<div class="col-12">
</div>
</div>
<div class="row">
<div class="col-7">
<h5>Photos du projet</h5>
{{AffichePhotoProjet|projet={{{projet|}}}}}
{{AffichePhotoProjet|projet={{{projet|}}}}}
</div>
</div>
<div class="col-5">
<h5>Historique de plantation</h5>
{{#arraymaptemplate: {{#external_value: nomPas}}|Affiche Plantation2|,|}}
</div>
</div>
</div>
<!-- RANGÉE DU BAS -->
 


}}
}}

Dernière version du 4 septembre 2024 à 20:53