|
|
Ligne 1 : |
Ligne 1 : |
| <noinclude> | | <noinclude> |
| {{#cargo_declare:_table=Institutions|Nom=String|Adresse=Text|Debut=Date|Fin=Date|Inst_mere=Page (hierarchy;allowed values={{#invoke:Outils|arbre|racine=Institutions|tables=Institutions|field_branches=Inst_mere|field_noeuds=_pageName}}) }} | | {{#cargo_declare:_table=Institutions|Nom=String|Adresse=Text|Debut=Date|Fin=Date|Inst_mere=Page (hierarchy) }} |
| En cas de modification, modifier également [[Mediawiki:{{PAGENAME}}_W]] et [[Mediawiki:{{PAGENAME}}_R]] | | En cas de modification, modifier également [[Mediawiki:{{PAGENAME}}_W]] et [[Mediawiki:{{PAGENAME}}_R]] |
| </noinclude><includeonly>{{#default_form:Institution}}{{#cargo_store:_table=Institutions|Nom={{{Nom|}}}|Adresse={{{Adresse|}}}|Debut={{FormatDate|{{{Debut|}}}}}|Fin={{FormatDate|{{{Debut|}}}}}|Inst_mere={{{Inst_mere|Institutions}}} }} | | </noinclude><includeonly>{{#default_form:Institution}}{{#cargo_store:_table=Institutions|Nom={{{Nom|}}}|Adresse={{{Adresse|}}}|Debut={{FormatDate|{{{Date_de_fondation|}}}}}|Fin={{FormatDate|{{{Date_de_dissolution|}}}}}|Inst_mere={{{Inst_mere|Institutions}}} }} |
| __NOTOC__ | | __NOTOC__ |
| __NOEDITSECTION__ | | __NOEDITSECTION__ |
| ={{{Nom|{{PAGENAME}}}}} <small>({{AfficheDate |{{formatDate|{{{Date_de_fondation|}}}}}}} – {{AfficheDate |{{formatDate|{{{Fin|}}}}}}})</small>= | | ={{{Nom|{{PAGENAME}}}}} <small>({{AfficheDate |{{formatDate|{{{Date_de_fondation|}}}}}}} – {{AfficheDate |{{formatDate|{{{Date_de_dissolution|}}}}}}})</small>= |
| {{#if:{{{Inst_mere|}}} |<small>Sous-institution de [[{{{Inst_mere}}}]]</small>}} | | {{#if:{{{Inst_mere|}}} |<small>Sous-institution de [[{{{Inst_mere}}}]]</small>}} |
| ==={{int:Template-Resume}}=== | | ==={{int:Template-Resume}}=== |
Ligne 26 : |
Ligne 26 : |
| |format=leaflet | | |format=leaflet |
| |default= | | |default= |
| }}
| |
| {{#invoke:Institution|main}}
| |
| [[Media:{{PAGENAME}}.graphml|Fichier Gephi (click droit puis Télécharger la cible)]]
| |
| [[Catégorie:Institutions]]
| |
| </includeonly>
| |
|
| |
|
| |
| <noinclude>
| |
| {{#cargo_declare:_table=Institutions|Nom=String|Adresse=Text|Date_de_creation=Date|Date_de_dissolution=Date|Inst_mere=Page (hierarchy;allowed values={{#invoke:Outils|arbre|racine=Institutions|tables=Institutions|field_branches=Inst_mere|field_noeuds=_pageName}}) }}
| |
|
| |
| </noinclude><includeonly>{{#default_form:Institution}}{{#cargo_store:_table=Institutions|Nom={{{Nom|}}}|Adresse={{{Adresse|}}}|Date_de_creation={{FormatDate|{{{Date_de_creation|}}}}}|Date_de_dissolution={{FormatDate|{{{Date_de_dissolution|}}}}}|Inst_mere={{{Inst_mere|Institutions}}} }}
| |
| __NOTOC__
| |
| __NOEDITSECTION__
| |
| ={{{Nom|{{PAGENAME}}}}} <small>({{AfficheDate |{{formatDate|{{{Date_de_fondation|}}}}}}} – {{AfficheDate |{{formatDate|{{{Date_de_dissolution|}}}}}}})</small>=
| |
| {{#if:{{{Inst_mere|}}} |<small>Sous-institution de [[{{{Inst_mere}}}]]</small>}}
| |
| ==={{int:Template-Resume}}===
| |
| {{{Resume_{{int:lang}}|{{{Resume_en|{{{Resume_fr|{{{Resume_de|}}}}}}}}}}}}
| |
| ==={{int:Template-Contexte}}===
| |
| {{{Contexte_{{int:lang}}|{{{Contexte_en|{{{Contexte_fr|{{{Contexte_de|}}}}}}}}}}}}
| |
| ==={{int:Template-Commentaires}}===
| |
| {{{Commentaire_{{int:lang}}|{{{Commentaire_en|{{{Commentaire_fr|{{{Commentaire_de|}}}}}}}}}}}}
| |
| ===Sous institutions===
| |
| {{#invoke:Outils|arbre|racine={{PAGENAME}}|tables=Institutions|field_branches=Inst_mere|field_noeuds=_pageName|liens='y'}}
| |
|
| |
| {{#forminput:form=Institution|link text= Sous-institution|query string=Institution[Inst_mere]={{PAGENAME}}|new page|reload|link type=post button }}
| |
| <!--{{#formlink:form=Pers_pers|link text=new|link type=post button|popup}}
| |
| -->
| |
| {{{localisation|}}}
| |
| {{#cargo_query:tables=Localisations, Institutions
| |
| |fields= Institutions._pageName,Institutions.Inst_mere=Parent,Coordonnees
| |
| |join on= Localisations.Objet = Institutions._pageName
| |
| |where=Institutions.Inst_mere WITHIN "{{PAGENAME}}" OR Institutions._pageName = "{{PAGENAME}}"
| |
| |format=leaflet
| |
| }} | | }} |
| {{#invoke:Institution|main}} | | {{#invoke:Institution|main}} |