Utilisateur:L.strappazon : Différence entre versions
| Ligne 96 : | Ligne 96 : | ||
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}} | {{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}} | ||
| + | </includeonly> | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | <noinclude> | ||
| + | Ceci est le modèle « Fiche sequence ». Il devrait être appelé selon le format suivant : | ||
| + | <pre> | ||
| + | {{Fiche support | ||
| + | |id_support= | ||
| + | |date= | ||
| + | |precision= | ||
| + | |duree= | ||
| + | |genre= | ||
| + | |format= | ||
| + | |format_original= | ||
| + | |coloration= | ||
| + | |son= | ||
| + | |langue= | ||
| + | |type= | ||
| + | |realisateurs= | ||
| + | |droits= | ||
| + | |lieu_de_tournage= | ||
| + | |fonds= | ||
| + | |pieces_jointes= | ||
| + | |public_cible= | ||
| + | |evenements_filmes_ou_en_lien= | ||
| + | |personnages_identifies= | ||
| + | |lieux_et_monuments_identifies= | ||
| + | |resume_diffusion_culturelle= | ||
| + | |descripteurs= | ||
| + | |institution_dorigine= | ||
| + | |reference_institution_dorigine= | ||
| + | }} | ||
| + | </pre> | ||
| + | {{#cargo_declare:_table=Supports|id_support=String|video=String|date=Date|precision=String|duree=Integer|genre=Page|format=Page|format_original=Page|coloration=Page|son=String|langue=String|type=String|realisateurs_sup=List (;) of Page|droits=String|lieu_de_tournage_sup=List (;) of String|fonds=Page|pieces_jointes_sup=List (;) of String|public_cible=String|evenements_filmes_ou_en_lien_sup=List (;) of String|personnages_identifies_sup=List (;) of String|lieux_et_monuments_identifies_sup=List (;) of String|resume_diffusion_culturelle=Text|descripteurs_sup=List (;) of String|institution_dorigine=Page|reference_institution_dorigine=String}} | ||
| + | </noinclude><includeonly> | ||
| + | {{#default_form:Fiche_support}}<!-- | ||
| + | -->{{#cargo_store:_table=Supports|id_support={{{id_support|}}}|video={{{video|}}}|date={{{date|}}}|precision={{{precision|}}}|duree={{{duree|}}}|genre={{{genre|}}}|format={{{format|}}}|format_original={{{format_original|}}}|coloration={{{coloration|}}}|son={{{son|}}}|langue={{{langue|}}}|type={{{type|}}}|realisateurs_sup={{{realisateurs|}}}|droits={{{droits|}}}|lieu_de_tournage_sup={{{lieu_de_tournage|}}}|fonds={{{fonds|}}}|pieces_jointes_sup={{{pieces_jointes|}}}|public_cible={{{public_cible|}}}|evenements_filmes_ou_en_lien_sup={{{evenements_filmes_ou_en_lien|}}}|personnages_identifies_sup={{{personnages_identifies|}}}|lieux_et_monuments_identifies_sup={{{lieux_et_monuments_identifies|}}}|resume_diffusion_culturelle={{{resume_diffusion_culturelle|}}}|descripteurs_sup={{{descripteurs|}}}|institution_dorigine={{{institution_dorigine|}}}|reference_institution_dorigine={{{reference_institution_dorigine|}}} }}<!-- | ||
| + | |||
| + | -->{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | ||
| + | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{{id_support}}}</span> | ||
| + | |- | ||
| + | |colspan="2"|{{#widget:Video|url={{{video|}}} }} | ||
| + | |- | ||
| + | {{Ligne|Support|{{{id_support|}}}}}<!-- | ||
| + | -->{{Ligne|Type|{{{type|}}}}}<!-- | ||
| + | -->{{Ligne|Date|{{{date|}}} {{#if:{{{precision|}}}|({{{precision}}})}} }}<!-- | ||
| + | -->{{Ligne|Format|{{{format|}}}}}<!-- | ||
| + | -->{{Ligne|Format original|{{{format_original|}}}}}<!-- | ||
| + | -->{{Ligne|Durée|{{{duree|}}}}}<!-- | ||
| + | -->{{Ligne|Genre|{{{genre|}}}}}<!-- | ||
| + | -->{{Ligne|{{int:Template-Coloration}}|[[{{{coloration|}}}|{{Trad|{{{coloration|}}}}}]]}} <!-- | ||
| + | -->{{Ligne|Son|{{{son|}}}}}<!-- | ||
| + | -->{{Ligne|Langue|{{{langue|}}}}}<!-- | ||
| + | -->{{Ligne|Réalisateurs|{{{realisateurs|}}}}}<!-- | ||
| + | -->{{Ligne|Droits|{{{droits|}}}}}<!-- | ||
| + | -->{{Ligne|Lieu de tournage|{{{lieu_de_tournage|}}}}}<!-- | ||
| + | -->{{Ligne|Public cible|{{{public_cible|}}}}}<!-- | ||
| + | -->{{Ligne|Événements filmés ou en lien|{{{evenements_filmes_ou_en_lien|}}}}}<!-- | ||
| + | -->{{Ligne|Personnages identifiés|{{{personnages_identifies|}}}}}<!-- | ||
| + | -->{{Ligne|Lieux et monuments identifiés|{{{lieux_et_monuments_identifies|}}}}}<!-- | ||
| + | -->{{Ligne|Fonds|{{{fonds|}}}}}<!-- | ||
| + | -->{{Ligne|Institution d'origine|{{{institution_dorigine|}}}}}<!-- | ||
| + | |||
| + | --><!--{{Ligne|Référence institution d'origine|{{{reference_institution_dorigine|}}}}}--> | ||
| + | |}<!-- | ||
| + | -->{{Paragraphe|Résumé diffusion culturelle|{{{resume_diffusion_culturelle|}}}}}<!-- | ||
| + | -->{{Paragraphe|Descripteurs|{{{descripteurs|}}}}}<!-- | ||
| + | |||
| + | -->{{#cargo_query: | ||
| + | tables=Sequences | ||
| + | |fields=_pageName,titre,timecode,duree,date | ||
| + | |where=Sequences.id_support='{{{id_support}}}' | ||
| + | |order by=timecode | ||
| + | |group by=timecode | ||
| + | |format=template | ||
| + | |template=ReqToPage | ||
| + | |intro===Séquences== | ||
| + | |default= | ||
| + | }} | ||
| + | <br> | ||
| + | {{#cargo_query: | ||
| + | tables=Sequences | ||
| + | |fields=lieux_et_monuments_identifies | ||
| + | |where=Sequences.id_support='{{{id_support}}}' | ||
| + | |group by=lieux_et_monuments_identifies | ||
| + | |format=template | ||
| + | |template=ReqToPage2 | ||
| + | |intro===Lieux et monuments identifiés== | ||
| + | |default= | ||
| + | }} | ||
| + | |||
| + | <div style="clear:{{{1|both}}};"></div> | ||
| + | <br> | ||
| + | <hr> | ||
| + | |||
| + | {{#cargo_query: | ||
| + | tables=Sequences | ||
| + | |fields=timecode,duree | ||
| + | |where=id_support='{{{id_support}}}' | ||
| + | |order by=timecode DESC | ||
| + | |limit=1 | ||
| + | |more results text= | ||
| + | |format=template | ||
| + | |template=ReqToVar | ||
| + | |default={{#vardefine:var_1|0}}{{#vardefine:var_2|-1}} | ||
| + | }} | ||
| + | <!-- | ||
| + | |||
| + | -->{{#forminput:form=Fiche_sequence|size=|default value={{{id_support}}}-{{#expr:{{#var:var_1|0}}+{{#var:var_2|0}}}}|button text=Ajouter séquence|query string=Fiche_sequence[date]={{{date|}}}&Fiche_sequence[genre]={{{genre|}}}&Fiche_sequence[format]={{{format|}}}&Fiche_sequence[format_original]={{{format_original|}}}&Fiche_sequence[son]={{{son|}}}&Fiche_sequence[langue]={{{langue|}}}&Fiche_sequence[realisateurs]={{{realisateurs|}}}&Fiche_sequence[coloration]={{{coloration|}}}&Fiche_sequence[lieu_de_tournage]={{{lieu_de_tournage|}}}&Fiche_sequence[fonds]={{{fonds|}}}&Fiche_sequence[public_cible]={{{public_cible|}}}&Fiche_sequence[personnages_identifiées]={{{personnages_identifiés|}}}&Fiche_sequence[evenements_filmes_ou_en_lien]={{{evenements_filmes_ou_en_lien|}}}&Fiche_sequence[lieux_et_monuments_identifies]={{{lieux_et_monuments_identifies|}}}&Fiche_sequence[descripteurs]={{{descripteurs|}}}&Fiche_sequence[timecode]={{#expr:{{#var:var_1|0}}+{{#var:var_2|0}}+1}}&Fiche_sequence[id_support]={{{id_support|}}}&Fiche_sequence[duree]=60 | ||
| + | }} | ||
| + | <br> | ||
| + | |||
| + | <div style="text-align: center;"> | ||
| + | <inputbox> | ||
| + | type=search2 | ||
| + | </inputbox> | ||
| + | [[Spécial:Connexion|Connexion]] | ||
| + | </div> | ||
| + | [[Catégorie:Supports]] | ||
</includeonly> | </includeonly> | ||
Version du 12 juin 2018 à 16:25
Ceci est le formulaire « Fiche film ».
Pour créer une page avec ce formulaire, entrez le nom de la page ci-dessous ;
si une page avec ce nom existe déjà, vous serez dirigé vers un formulaire pour l’éditer.
Ceci est le modèle « Fiche sequence ». Il devrait être appelé selon le format suivant :
{{Fiche support
|id_support=
|date=
|precision=
|duree=
|genre=
|format=
|format_original=
|coloration=
|son=
|langue=
|type=
|realisateurs=
|droits=
|lieu_de_tournage=
|fonds=
|pieces_jointes=
|public_cible=
|evenements_filmes_ou_en_lien=
|personnages_identifies=
|lieux_et_monuments_identifies=
|resume_diffusion_culturelle=
|descripteurs=
|institution_dorigine=
|reference_institution_dorigine=
}}
Error: #cargo_declare must be called from a template page.



