« Modèle:AfficheProjet » : différence entre les versions
De Mouvement Arbre-Évolution
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(42 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 26 : | Ligne 26 : | ||
muni=muni, | muni=muni, | ||
presse=presse | presse=presse | ||
}} | }} | ||
<!-- TITRES --> | <!-- TITRES HAUT --> | ||
<div class="col mb-2"> | <div class="col mb-2"> | ||
<div class="row"> | <div class="row"> | ||
Ligne 38 : | Ligne 35 : | ||
</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: | ||
{{#if: {{#external_value: | 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 | ||
<htmltag tagname="img" src="{{#external_value: | | data=photoLien=photoLien | ||
}}<div class="col-12 mb-3" style="min-height:320px;)"> | |||
{{#if: {{#external_value: photoLien}}| | |||
<htmltag tagname="img" src="{{#external_value: photoLien}}" class="vignette" style="object-fit:cover"></htmltag> | |||
|<div class="border border-light bg-color-light> </div> | |<div class="border border-light bg-color-light> </div> | ||
}} | }} | ||
Ligne 51 : | Ligne 52 : | ||
<div class="col-12" style="font-size:90%;"> | <div class="col-12" style="font-size:90%;"> | ||
{{#external_value: desc}} | {{#external_value: desc}} | ||
</div> | </div> | ||
<!-- REVUE DE PRESSE --> | |||
<div class="col-12" style="font-size:90%;"> | |||
{{AfficheRevueDePresse|projet={{{projet|}}}}} | |||
</div> | |||
<!-- HISTORIQUE --> | |||
<div class="col-12"> | <div class="col-12"> | ||
<h5>Historique | <h5>Historique</h5> | ||
<!--{{#arraymaptemplate: {{#external_value: nomPas}}|Affiche Plantation2|,|}} --> | <!--{{#arraymaptemplate: {{#external_value: nomPas}}|Affiche Plantation2|,|}} --> | ||
{{Affiche | {{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> | ||
</div> | </div> | ||
{{#ifeq: {{{typeS}}}|Replantation| | |||
{{Affiche ReplantationProjet|projet={{{projet|}}}|date={{{dateS|}}}}} | |||
|}} | |||
</div> | |||
|}}}} | |||
|<small>Aucune intervention n'a été encore réalisée.</small>}} | |||
</div> | |||
</div> | </div> | ||
Ligne 80 : | Ligne 105 : | ||
| maxzoom=17 | | maxzoom=17 | ||
| minzoom=8 | | minzoom=8 | ||
| polygons={{#replace: | | 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> | |||
{{#replace: {{#replace: {{#replace: {{#external_value: parcGeo}}|Parcelle 0|[https:// | |||
</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 96 : | Ligne 116 : | ||
{{AfficheSituation|projet={{{projet}}}}} | {{AfficheSituation|projet={{{projet}}}}} | ||
</div> | </div> | ||
<span class="my-2 btn btn-success">Contribuez à nos projets!</span> | <span class="my-2 btn btn-success">[https://calculcarbone.org/ Contribuez à nos projets!]</span> | ||
<!-- SIGNATAIRES ET CONTRIBUTEURS --> | <!-- SIGNATAIRES ET CONTRIBUTEURS --> | ||
Ligne 102 : | Ligne 122 : | ||
<!-- On teste s'il y a au moins un signataire et on va chercher son logo--> | <!-- 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 --> | <!-- Si oui on va chercher et on affiche son logo --> | ||
{{AfficheSignataires|{{{projet}}}}} | {{AfficheSignataires|{{{projet}}}}} | ||
{{AfficheContributeurs|{{{projet}}}}} | {{AfficheContributeurs|{{{projet}}}}} | ||
</div> | |||
<!-- PHOTOS --> | |||
<div class="col-12"> | |||
{{AffichePhotoProjet|projet={{{projet|}}}}} | |||
</div> | </div> | ||
</div> | </div> | ||
<!-- RANGÉE DU BAS --> | <!-- RANGÉE DU BAS --> | ||
}} | }} | ||
| | | |
Dernière version du 4 septembre 2024 à 20:53