Différences entre les versions de « Formulaire:Pers inst »
De Commission Historique
m |
m |
||
(39 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<noinclude> | <noinclude> | ||
{{#formlink:form=Pers_inst|link text=new|link type=post button}} | |||
{{#formlink:form=Pers_inst|link text=new|link type=post button | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{{info|page name=Rel:<Pers_inst[Objet_1]>-<Pers_inst[Objet_2]>-<unique number;start=1> }}} | {{{info|page name=Rel:<Pers_inst[Objet_1]>-<Pers_inst[Objet_2]>-<unique number;start=1> }}} | ||
{{{for template|Pers_inst}}} | {{{for template|Pers_inst}}} | ||
{| class="formtable" style="margin: auto;width: 100%;" | {| class="formtable" style="margin: auto;width: 100%;" | ||
|{{{field|Objet_1|input type=text with autocomplete|values from category=Personnes|mandatory|size= | |{{{field|Objet_1|input type=text with autocomplete|values from category=Personnes|mandatory|size=40|placeholder=Someone}}} | ||
|rowspan=6|{{int:Template-de}} {{{field|Objet_2|input type=tree|hideroot|depth=0|delimiter=;|structure={{#invoke:Outils|arbre|racine=Institutions|tables=Institutions|field_branches=Inst_mere|field_noeuds=_pageName}}|width=100%|height=480}}} | |||
|- | |||
|{{int:Template-de}} {{{field|Objet_2|input type=tree|hideroot|depth=0|delimiter=;|structure={{#invoke:Outils|arbre|racine=Institutions|tables=Institutions|field_branches=Inst_mere|field_noeuds=_pageName}}| | |{{{field|Nature|input type=combobox|cargo tables=Pers_inst|cargo field=Nature|width=120|placeholder=Relation }}} | ||
|} | |- | ||
|{{{field|Matricule|input type=Integer|placeholder=Matricule}}} | |||
{| | |- | ||
| {{{field|Titre|input type=string|placeholder={{int:Template-Titre}} }}} | | {{{field|Titre|input type=string|placeholder={{int:Template-Titre}} }}} | ||
|- | |||
| {{{field|Lieu|placeholder={{int:Template-Lieu}} }}} | | {{{field|Lieu|placeholder={{int:Template-Lieu}} }}} | ||
|- | |- | ||
|{{{field|Date_debut|input type=regexp |regexp=/^(([012][0-9])!(3[01]))((0[1-9])!(1[012]))((18!19!20)[0-9][0-9])$!^((0[1-9])!(1[012]))((18!19!20)[0-9][0-9])$!^((18!19!20)[0-9][0-9])$!^$/|message= ddmmyyyy or mmyyyy or yyyy|placeholder={{int:Template-Date_debut}} (ddmmyyyy) }}} | |{{{field|Date_debut|input type=regexp |regexp=/^(([012][0-9])!(3[01]))((0[1-9])!(1[012]))((18!19!20)[0-9][0-9])$!^((0[1-9])!(1[012]))((18!19!20)[0-9][0-9])$!^((18!19!20)[0-9][0-9])$!^$/|message= ddmmyyyy or mmyyyy or yyyy|placeholder={{int:Template-Date_debut}} (ddmmyyyy) }}} | ||
|- | |||
| {{{field|Date_fin|input type=regexp |regexp=/^(([012][0-9])!(3[01]))((0[1-9])!(1[012]))((18!19!20)[0-9][0-9])$!^((0[1-9])!(1[012]))((18!19!20)[0-9][0-9])$!^((18!19!20)[0-9][0-9])$!^$/|message= ddmmyyyy or mmyyyy or yyyy|placeholder={{int:Template-Date_fin}} (ddmmyyyy)}}} | | {{{field|Date_fin|input type=regexp |regexp=/^(([012][0-9])!(3[01]))((0[1-9])!(1[012]))((18!19!20)[0-9][0-9])$!^((0[1-9])!(1[012]))((18!19!20)[0-9][0-9])$!^((18!19!20)[0-9][0-9])$!^$/|message= ddmmyyyy or mmyyyy or yyyy|placeholder={{int:Template-Date_fin}} (ddmmyyyy)}}} | ||
|} | |||
---- | |||
{| class="formtable" style="margin: auto;width: 100%;" | |||
|- | |- | ||
|colspan=2|{{{field|References|holds template}}} | |colspan=2|{{{field|References|holds template}}} | ||
Ligne 28 : | Ligne 33 : | ||
|colspan=2| {{CommentaireLangue}} | |colspan=2| {{CommentaireLangue}} | ||
|} | |} | ||
{{{field|Categorie_detention|hidden}}}{{{field|Source|hidden}}} | |||
{{{end template}}} | {{{end template}}} | ||
{{{standard input|save}}} | {{{standard input|save}}} | ||
Ligne 34 : | Ligne 39 : | ||
{{{for template|Reference|multiple|embed in field=Pers inst[References]|add button text={{int:Template-Ajouter reference}} }}} | {{{for template|Reference|multiple|embed in field=Pers inst[References]|add button text={{int:Template-Ajouter reference}} }}} | ||
{| class="formtable" style="margin: auto;width: 100%;" | {| class="formtable" style="margin: auto;width: 100%;" | ||
|{{{field|refBib|input type=text with autocomplete|values from namespace = Ref | |{{{field|refBib|input type=text with autocomplete|values from namespace = Ref|placeholder=Reference}}} | ||
|{{{field|pageBib|input type=text|placeholder=Precision}}} | |{{{field|pageBib|input type=text|placeholder=Precision}}} | ||
{{{field|champBib|input type=combobox|values=Reference|mapping template=Trad|default=Reference|hidden}}} | {{{field|champBib|input type=combobox|values=Reference|mapping template=Trad|default=Reference|hidden}}} | ||
Ligne 40 : | Ligne 45 : | ||
{{{end template}}} | {{{end template}}} | ||
</includeonly> | </includeonly> | ||
<!--|{{{field|Nature|input type=dropdown|values = employe,agent,directeur,doyen,recteur,fondateur,enseignant,chercheur,adherent,membre|mapping template=Trad}}}--> |
Version actuelle datée du 27 octobre 2023 à 08:48