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

De Mouvement Arbre-Évolution
Aller à :navigation, rechercher
Aucun résumé des modifications
Aucun résumé des modifications
(27 versions intermédiaires par 2 utilisateurs 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/-5B-5B:{{{org|}}}-5D-5D/-3FEst-20une-20organisation-20du-20type%3DtypeO/-3FNombre-20de-20projets-20soutenus%3DnPr/-3FA-20la-20description-20d-20organisation%3DDescO/-3FA-20l-20adresse-20web%3DsiteO/-3FA-20l-20adresse-20physique%3DadrO/-3F-2DEst-20le-20logo-20de-20l-20organisation%3DlogoP/-3FArbres-20allou%C3%A9s%3DaAll/-3FArbres-20engag%C3%A9s%3DaEng/-3FCarbone-20allou%C3%A9%3Dco2Al/-3FCarbone-20engag%C3%A9%3Dco2Eng/mainlabel%3D/limit%3D1/offset%3D0/mainlabel%3DPr/format%3Dcsv
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5B:{{{org|}}}-5D-5D/-3FEst-20une-20organisation-20du-20type%3DtypeO/-3FNombre-20de-20projets-20soutenus%3DnPr/-3FA-20la-20description-20d-20organisation%3DDescO/-3FA-20l-20adresse-20web%3DsiteO/-3FA-20l-20adresse-20physique%3DadrO/-3F-2DEst-20le-20logo-20de-20l-20organisation.path%3DlogoO/-3FArbres-20allou%C3%A9s%3DaAll/-3FArbres-20engag%C3%A9s%3DaEng/-3FCarbone-20allou%C3%A9%3Dco2Al/-3FCarbone-20engag%C3%A9%3Dco2Eng/mainlabel%3D/limit%3D1/offset%3D0/mainlabel%3DPr/format%3Dcsv
|data=pr=pr,typeO=typeO,nPr=nPr,descO=descO,siteO=siteO,adrO=adrO,logoP=logoP,aAll=aAll,aEng=aEng,co2Al=co2Al,co2Eng=co2Eng
|data=pr=pr,typeO=typeO,nPr=nPr,descO=descO,siteO=siteO,adrO=adrO,logoO=logoO,aAll=aAll,aEng=aEng,co2Al=co2Al,co2Eng=co2Eng
}}{{#get_web_data:
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5B:{{{org|}}}-5D-5D/-3FEst-20une-20organisation-20signataire%3DorgSign/-3FEst-20une-20organisation-20contributrice=orgCont/limit%3D1/offset%3D0/mainlabel%3DPr/format%3Dcsv
|data=orgSign=orgSing,orgCont=orgCont
}}{{#get_web_data:
}}{{#get_web_data:
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5BA-20la-20contribution.Est-20contribu%C3%A9-20par::{{{org|}}}-5D-5D/-3F-2DHas-20subobject%3DidPr/-3F-2DPoss%C3%A8de-20un-20sous-2Dobjet.A-20le-20nom-20de-20projet%3DnomPr/-3F-2DPoss%C3%A8de-20un-20sous-2Dobjet.Municipalit%C3%A9-20du-20projet%3Dmun/-3F-2DPoss%C3%A8de-20un-20sous-2Dobjet.Localisation-20approximative%3DlocP/-3F-2DPoss%C3%A8de-20un-20sous-2Dobjet.A-20le-20type-20de-20projet%3DtypeP/mainlabel%3D/limit%3D50/offset%3D0/format%3Dcsv
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5BA-20la-20contribution.Est-20contribu%C3%A9-20par::{{{org|}}}-5D-5D/-3F-2DHas-20subobject%3DidPr/-3F-2DPoss%C3%A8de-20un-20sous-2Dobjet.A-20le-20nom-20de-20projet%3DnomPr/-3F-2DPoss%C3%A8de-20un-20sous-2Dobjet.Municipalit%C3%A9-20du-20projet%3Dmun/-3F-2DPoss%C3%A8de-20un-20sous-2Dobjet.Localisation-20approximative%3DlocP/-3F-2DPoss%C3%A8de-20un-20sous-2Dobjet.A-20le-20type-20de-20projet%3DtypeP/mainlabel%3D/limit%3D50/offset%3D0/format%3Dcsv
Ligne 10 : Ligne 13 :
<div class="row no-gutter">
<div class="row no-gutter">
<h1 class="col-12 mb-0">{{#external_value: pr}}</h1>
<h1 class="col-12 mb-0">{{#external_value: pr}}</h1>
<h4 class="col-6 mb-0">{{#external_value: typeO}}</h4>
<h4 class="col-7 mb-0">{{#external_value: typeO}}</h4>
<h4 class="col-6 text-left my-0 pr-0">Projet(s)</h4>
<h4 class="col-5 text-left my-0 pr-0">Projet(s)</h4>
</div>
</div>
</div>
</div>
Ligne 17 : Ligne 20 :
<!-- COLONNE DE GAUCHE -->
<!-- COLONNE DE GAUCHE -->
<div class="col-7">
<div class="col-7">
<div class="col-4 border border-success m-2 ml-0 pt-2 float-left fs-sm">
{{#if: {{#external_value: logoO}}|<htmltag tagname="img" src="{{#external_value: logoO}}" class="img-fluid card-img-top logoBailleur"></htmltag>|&nbsp;}}<small>
{{#external_value: adrO}}<br>
[{{#external_value: siteO}} Site web]
</small>
</div>
{{#external_value: descO}}
{{#external_value: descO}}
</div>
</div>
<!-- COLONNE DE DROITE -->
<!-- COLONNE DE DROITE -->
<div class="col-5">
<div class="col-5">
Ligne 38 : Ligne 49 :
}}
}}
</div>
</div>
<div class="col-12">
<small>
<small>
{{#for_external_table:|<div class="col-12 border-success">[{{fullurl:Fiche Projet|projet={{urlencode:{{{idPr}}}}} {{{nomPr}}} ({{{idPr}}})]</div>}} }}
<table class="table table-hover table-sm w-100 bg-light">
{{#for_external_table:|<tr><td class="text-center  mb-1 rounded">[{{fullurl:Fiche Projet|projet={{urlencode:{{{idPr}}}}} {{{nomPr}}}]</td></tr>}} }}
</table>
</small>
</small>
</div>


<!-- SITUATION DU PROJET - en vert -->
<!-- SITUATION DU PROJET - en vert -->
{{#ifeq: {{#external_value: orgCont}}|vrai|
<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;">
<h4>Bilan carbone</h4>
<h4>Bilan carbone</h4>
<table class="table table-striped">
<table class="table table-striped">
<tr><th>&nbsp;</th><th>Alloués</th><th>Engagés</th></tr>
<tr><th>&nbsp;</th><th>Engagés</th><th>Alloués</th></tr>
<tr><td>Arbres</td><td>{{#external_value: aAll}}</td><td>{{#external_value: aEng}}</td></tr>
<tr><td>Arbres</td><td>{{#external_value: aEng}}</td><td>{{#external_value: aAll}}</td></tr>
<tr><td>CO<sub>2</sub></td> <td>{{#external_value: co2Al}} tonnes</td><td>{{#external_value: co2Eng}} tonnes</td></tr>
<tr><td>CO<sub>2</sub></td><td>{{#external_value: co2Eng}} tonnes</td><td>{{#external_value: co2Al}} tonnes</td></tr>
</table>
</table>
</div>
</div>
|}}
{{#ifeq: {{#external_value: orgSign}}|vrai|
<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;">
<h4>Contributions</h4>
Signataire des projets :
</div>
|}}
</div>
</div>
</div>
</div>
__NOTOC__
__NOTOC__
__NOEDITSECTION__
__NOEDITSECTION__

Version du 19 septembre 2024 à 21:17

Projet(s)

 
[ Site web]

Chargement de la carte...

{{{nomPr}}}