Différences entre les versions de « Formulaire:Pers inst »
De Commission Historique
m |
m |
||
Ligne 4 : | Ligne 4 : | ||
{{{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=" | {| class="wikitable" 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|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}}} |
Version du 14 février 2022 à 09:40