Modèle:FicheSequence : Différence entre versions

m (Remplacement de texte — « id_support » par « idSupport »)
Ligne 1 : Ligne 1 :
 
<noinclude>
 
<noinclude>
 
Ceci est le modèle « Fiche sequence ».  
 
Ceci est le modèle « Fiche sequence ».  
{{#cargo_declare:_table=Sequences|titre=String|sous_titre=String|video=String|dateDebut=Date|dateFin=Date|duree=Integer|genre=Page|format_original=Page|coloration=String|son=String|langue=String|realisateurs=List (;) of Page|droits=String|lieu_de_tournage=Coordinates|fonds=Page|pieces_jointes=List (;) of String|evenements_filmes_ou_en_lien=List (;) of String|personnages_identifies=List (;) of String|lieux_ou_monuments=List (;) of String|descripteurs=List (;) of String|institution_dorigine=Page|thematique=List (@) of Page (hierarchy;allowed values=*Body and Health
+
{{<span class="error">Expansion depth limit exceeded</span>|titre=String|sous_titre=String|video=String|dateDebut=Date|dateFin=Date|duree=Integer|genre=Page|format_original=Page|coloration=String|son=String|langue=String|realisateurs=List (;) of Page|droits=String|lieu_de_tournage=Coordinates|fonds=Page|pieces_jointes=List (;) of String|evenements_filmes_ou_en_lien=List (;) of String|personnages_identifies=List (;) of String|lieux_ou_monuments=List (;) of String|descripteurs=List (;) of String|institution_dorigine=Page|thematique=List (@) of Page (hierarchy;allowed values=*Body and Health
 
**Sport
 
**Sport
 
***Athletics
 
***Athletics
Ligne 59 : Ligne 59 :
 
***Natural and transformed landscape
 
***Natural and transformed landscape
 
***Heritage and tourism sites)
 
***Heritage and tourism sites)
|id_support=Page|timecode=Integer|apercu=File|resumefr=Text|resumede=Text|resumeen=Text}}
+
|idSupport=Page|timecode=Integer|apercu=File|resumefr=Text|resumede=Text|resumeen=Text}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
__NOTOC__
 
__NOTOC__
 
{{#default_form:FicheSequence}}<!--
 
{{#default_form:FicheSequence}}<!--
  
-->{{#cargo_store:_table=Sequences|titre={{{titre|{{#explode:{{PAGENAME}}|(|0}} }}}|sous_titre={{{sous-titre|}}}|video={{{video|}}}|dateDebut={{FormatDate|{{{dateDebut|}}} }}|dateFin={{FormatDate|{{{dateFin|}}} }}|duree={{#time: U | 1970-01-01 {{{duree|}}} }}|genre={{{genre|}}}|format_original={{{format_original|}}}|coloration={{{coloration|}}}|son={{{son|}}}|langue={{{langue|}}}|realisateurs={{{realisateurs|}}}|droits={{{droits|}}}|lieu_de_tournage={{{lieu_de_tournage|}}}|fonds={{{fonds|}}}|pieces_jointes={{{pieces_jointes|}}}|evenements_filmes_ou_en_lien={{{evenements_filmes_ou_en_lien|}}}|personnages_identifies={{{personnages_identifies|}}}|lieux_ou_monuments={{{lieux_ou_monuments|}}}|descripteurs={{{descripteurs|}}}|institution_dorigine={{{institution_dorigine|}}}|thematique={{{thematique|}}}|id_support={{{id_support|}}}|timecode={{#time: U | 1970-01-01 {{{timecode|}}} }} |apercu={{{apercu|}}}|resumefr={{{Resume_fr|}}}|resumede={{{Resume_de|}}}|resumeen={{{Resume_en|}}} }}<!--
+
-->{{#cargo_store:_table=Sequences|titre={{{titre|{{#explode:{{PAGENAME}}|(|0}} }}}|sous_titre={{{sous-titre|}}}|video={{{video|}}}|dateDebut={{FormatDate|{{{dateDebut|}}} }}|dateFin={{FormatDate|{{{dateFin|}}} }}|duree={{#time: U | 1970-01-01 {{{duree|}}} }}|genre={{{genre|}}}|format_original={{{format_original|}}}|coloration={{{coloration|}}}|son={{{son|}}}|langue={{{langue|}}}|realisateurs={{{realisateurs|}}}|droits={{{droits|}}}|lieu_de_tournage={{{lieu_de_tournage|}}}|fonds={{{fonds|}}}|pieces_jointes={{{pieces_jointes|}}}|evenements_filmes_ou_en_lien={{{evenements_filmes_ou_en_lien|}}}|personnages_identifies={{{personnages_identifies|}}}|lieux_ou_monuments={{{lieux_ou_monuments|}}}|descripteurs={{{descripteurs|}}}|institution_dorigine={{{institution_dorigine|}}}|thematique={{{thematique|}}}|idSupport={{{idSupport|}}}|timecode={{#time: U | 1970-01-01 {{{timecode|}}} }} |apercu={{{apercu|}}}|resumefr={{{Resume_fr|}}}|resumede={{{Resume_de|}}}|resumeen={{{Resume_en|}}} }}<!--
  
-->{{#cargo_query:table=Supports|fields=video|where=_pagename='{{{id_support}}}'|group by=video|format=template|template=ReqToVar|default=}}<!--
+
-->{{#cargo_query:table=Supports|fields=video|where=_pagename='{{{idSupport}}}'|group by=video|format=template|template=ReqToVar|default=}}<!--
 
-->{{Paragraphe|{{int:Template-Événements filmés ou en lien}}|{{{evenements_filmes_ou_en_lien|}}}}}<!--
 
-->{{Paragraphe|{{int:Template-Événements filmés ou en lien}}|{{{evenements_filmes_ou_en_lien|}}}}}<!--
 
-->{{Paragraphe|{{int:Template-Résumé}}|{{{Resume_{{int:lang}}|{{{Resume_en|{{{Resume_fr|{{{Resume_de|}}}}}}}}}}}}}}<!--
 
-->{{Paragraphe|{{int:Template-Résumé}}|{{{Resume_{{int:lang}}|{{{Resume_en|{{{Resume_fr|{{{Resume_de|}}}}}}}}}}}}}}<!--
Ligne 73 : Ligne 73 :
 
{{colonnes|taille=20|
 
{{colonnes|taille=20|
 
{{Lign|{{int:Template-Sous-titre}}|{{{Sous-titre|}}}}}<!--
 
{{Lign|{{int:Template-Sous-titre}}|{{{Sous-titre|}}}}}<!--
-->{{Lign|{{int:Template-id_support}}|{{{id_support|}}}}}<!--
+
-->{{Lign|{{int:Template-idSupport}}|{{{idSupport|}}}}}<!--
 
-->{{Lign|{{int:Template-Date}}|{{#switch:{{{dateDebut|-}}}{{{dateFin|+}}}
 
-->{{Lign|{{int:Template-Date}}|{{#switch:{{{dateDebut|-}}}{{{dateFin|+}}}
 
|{{{dateDebut}}}{{{dateFin}}}={{int:Template-Entre}} {{AfficheDate |{{formatDate|{{{dateDebut}}}}}}} {{int:Template-et}}  {{AfficheDate |{{formatDate|{{{dateFin}}}}}}}
 
|{{{dateDebut}}}{{{dateFin}}}={{int:Template-Entre}} {{AfficheDate |{{formatDate|{{{dateDebut}}}}}}} {{int:Template-et}}  {{AfficheDate |{{formatDate|{{{dateFin}}}}}}}
Ligne 113 : Ligne 113 :
 
tables=Sequences
 
tables=Sequences
 
|fields=timecode,duree
 
|fields=timecode,duree
|where=id_support='{{{id_support}}}'
+
|where=idSupport='{{{idSupport}}}'
 
|order by=timecode DESC
 
|order by=timecode DESC
 
|limit=1
 
|limit=1
Ligne 124 : Ligne 124 :
 
{{#ifexpr:{{#var:var_1}}<={{#time: U | 1970-01-01 {{{timecode|00:00:00}}} }}|{{#vardefine:var_1|{{#time: U | 1970-01-01 {{{timecode|00:00:00}}} }}}}{{#vardefine:var_2|{{#time: U | 1970-01-01 {{{duree|00:00:01}}} }} }}|}}
 
{{#ifexpr:{{#var:var_1}}<={{#time: U | 1970-01-01 {{{timecode|00:00:00}}} }}|{{#vardefine:var_1|{{#time: U | 1970-01-01 {{{timecode|00:00:00}}} }}}}{{#vardefine:var_2|{{#time: U | 1970-01-01 {{{duree|00:00:01}}} }} }}|}}
  
{{#forminput:form=FicheSequence|size=|default value={{uc:{{int:Template-Titre}}}} ({{{id_support|}}})|button text=Ajouter séquence|query string=FicheSequence[date]={{{date|}}}&FicheSequence[genre]={{{genre|}}}&FicheSequence[format]={{{format|}}}&FicheSequence[format_original]={{{format_original|}}}&FicheSequence[son]={{{son|}}}&FicheSequence[langue]={{{langue|}}}&FicheSequence[realisateurs]={{{realisateurs|}}}&FicheSequence[coloration]={{{coloration|}}}&FicheSequence[lieu_de_tournage]={{{lieu_de_tournage|}}}&FicheSequence[fonds]={{{fonds|}}}&FicheSequence[personnages_identifiées]={{{personnages_identifiés|}}}&FicheSequence[evenements_filmes_ou_en_lien]={{{evenements_filmes_ou_en_lien|}}}&FicheSequence[lieux_et_monuments_identifies]={{{lieux_et_monuments_identifies|}}}&FicheSequence[descripteurs]={{{descripteurs|}}}&FicheSequence[timecode]={{#time: H:i:s |@{{#expr:{{#var:var_1|0}}+{{#var:var_2|0}}}}}}&FicheSequence[id_support]={{{id_support|}}}
+
{{#forminput:form=FicheSequence|size=|default value={{uc:{{int:Template-Titre}}}} ({{{idSupport|}}})|button text=Ajouter séquence|query string=FicheSequence[date]={{{date|}}}&FicheSequence[genre]={{{genre|}}}&FicheSequence[format]={{{format|}}}&FicheSequence[format_original]={{{format_original|}}}&FicheSequence[son]={{{son|}}}&FicheSequence[langue]={{{langue|}}}&FicheSequence[realisateurs]={{{realisateurs|}}}&FicheSequence[coloration]={{{coloration|}}}&FicheSequence[lieu_de_tournage]={{{lieu_de_tournage|}}}&FicheSequence[fonds]={{{fonds|}}}&FicheSequence[personnages_identifiées]={{{personnages_identifiés|}}}&FicheSequence[evenements_filmes_ou_en_lien]={{{evenements_filmes_ou_en_lien|}}}&FicheSequence[lieux_et_monuments_identifies]={{{lieux_et_monuments_identifies|}}}&FicheSequence[descripteurs]={{{descripteurs|}}}&FicheSequence[timecode]={{#time: H:i:s |@{{#expr:{{#var:var_1|0}}+{{#var:var_2|0}}}}}}&FicheSequence[idSupport]={{{idSupport|}}}
 
}}
 
}}
  

Version du 26 septembre 2018 à 15:46

Ceci est le modèle « Fiche sequence ». {{Expansion depth limit exceeded|titre=String|sous_titre=String|video=String|dateDebut=Date|dateFin=Date|duree=Integer|genre=Page|format_original=Page|coloration=String|son=String|langue=String|realisateurs=List (;) of Page|droits=String|lieu_de_tournage=Coordinates|fonds=Page|pieces_jointes=List (;) of String|evenements_filmes_ou_en_lien=List (;) of String|personnages_identifies=List (;) of String|lieux_ou_monuments=List (;) of String|descripteurs=List (;) of String|institution_dorigine=Page|thematique=List (@) of Page (hierarchy;allowed values=*Body and Health

    • Sport
      • Athletics
      • Basket
      • Cycling
      • Soccer
      • Gymnastic
      • Swimming
      • Winter sport
      • Tennis
      • Volleyball
    • Health
      • Medicine
      • Hygiene and nutrition
      • Eating and feasting
      • Thermalism
    • Environment
      • Outdoor activities
      • Ecology
      • Nudism
      • Youth movements - Education - Scouting
      • Herbalism
  • Borders
    • War
      • First Wolrd War
      • Second World War : prewar
      • Second World War : German occupation - Annexation of Alsace
      • Second World War : Liberation
      • Second World War : post-war period
      • Second World War : ceremonies – commemorations - remembrance places
      • Second World War : Phoney War
      • Other wars : First Indochina war – Algerian war
    • European construction
      • Institutions and personnalities
      • Strasbourg, european capital
    • The Rhine, cross-border symbol
      • Transit
      • Cross-border tourism
  • Identity
    • Traditions
      • Art of living - Gastronomy
      • Carnival
      • Hunting and Fishing
      • Conscripts
      • Religious feasts and events
      • Local festivals
      • National day
      • Traditionnal dress
      • Wedding
      • Christmas
      • Easter
      • Rural life
    • Industrial and cultural heritage
      • Industry
      • Agriculture and farming practices
    • Places
      • Natural and transformed landscape
      • Heritage and tourism sites)

|idSupport=Page|timecode=Integer|apercu=File|resumefr=Text|resumede=Text|resumeen=Text}}