Différences entre les versions de « Formulaire:Pers inst »
De Commission Historique
m |
m |
||
(17 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 5 : | Ligne 5 : | ||
{{{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| | |- | ||
|{{{field|Nature|input type=combobox|cargo tables=Pers_inst|cargo field=Nature|width=120|placeholder=Relation }}} | |||
{{{field| | |- | ||
| | |{{{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 27 : | 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 33 : | 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}}} |
Version actuelle datée du 27 octobre 2023 à 08:48