« 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
Ligne 1 : Ligne 1 :
{{#if: {{#urlget:projet}}|
{{#if: {{{Projet|}}}|
{{#urlget:projet}} -
{{#get_web_data:
{{#replace: {{#urlget:projet}}| |-20}}
url=https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5B:Projet-2000148-5D-5D/-3FA-20le-20nom-20de-20projet%3DNomProjet/-3FA-20le-20type-20de-20projet%3DTypeProjet/-3FA-20la-20description-20du-20projet%3DDescription/%3FA-20la-20date-20de-20plantation%3DDatePlantation/mainlabel%3Did/format%3Dcsv
 
| format=csv
{{#invoke: mw.ext.externaldata.getWebData (
| data=NomProjet=NomProjet,
url = "https://wiki.arbre-evolution.org/index.php/Sp%C3%A9cial:Requ%C3%AAter/-5B-5B:{{#replace: {{#urlget:projet}}| |-20}}-5D-5D/-3FA-20le-20nom-20de-20projet%3DNomProjet/-3FParcelle-20associ%C3%A9e%3DParcelle/-3FParcelle-20associ%C3%A9e.A-20le-20nom-20de-20parcelle%3DNomParcelles/mainlabel%3DProjet/sort=A-20le-20nom-20de-20projet/limit%3D9999/offset%3D0/format%3Dcsv/filename%3DProjets.csv".
data = "NomProjet=NomProjet,
TypeProjet=TypeProjet,
TypeProjet=TypeProjet,
Description=Description,
Description=Description,
DatePlantation=DatePlantation,
DatePlantation=DatePlantation,
id=id",
id=id
format = "CSV with header")
}}
}}
[[L Projets|Liste des projets]]
[[L Projets|Liste des projets]]

Version du 15 février 2024 à 17:12

Oh! oh! Numéro de projet absent ou incorrect...