Modèle:Thematique : Différence entre versions

Ligne 1 : Ligne 1 :
 
<includeonly>
 
<includeonly>
 +
__NOTOC__
 
{{DISPLAYTITLE:{{Trad|{{PAGENAME}}}}}}
 
{{DISPLAYTITLE:{{Trad|{{PAGENAME}}}}}}
 
{{#default_form:Thematique}}
 
{{#default_form:Thematique}}
Ligne 5 : Ligne 6 :
 
{{{commentaire{{int:lang}}|{{{commentaireen|{{{commentairefr|{{{commentairede|}}}}}}}}}}}}
 
{{{commentaire{{int:lang}}|{{{commentaireen|{{{commentairefr|{{{commentairede|}}}}}}}}}}}}
  
 +
=={{{item1}}}==
 
{{#cargo_query:table=Sequences
 
{{#cargo_query:table=Sequences
|fields=apercu,_pageName,titre,realisateurs,fonds,dateDebut,dateFin,resume{{int:lang}}, idSupport,timecode,duree,video
+
|fields=apercu,_pageName,titre,realisateurs,dateDebut,dateFin,resume{{int:lang}}, idSupport,timecode,duree,video
|where=thematique HOLDS WITHIN '{{PAGENAME}}'  
+
|where=thematique HOLDS WITHIN '{{{item1}}}'
 +
|group by=_pageName
 +
|order by=dateDebut,dateFin,_pageName
 +
|format=template
 +
|template=LigneVideo
 +
|named args=yes
 +
}}
 +
=={{{item2}}}==
 +
{{#cargo_query:table=Sequences
 +
|fields=apercu,_pageName,titre,realisateurs,dateDebut,dateFin,resume{{int:lang}}, idSupport,timecode,duree,video
 +
|where=thematique HOLDS WITHIN '{{{item2}}}'
 +
|group by=_pageName
 +
|order by=dateDebut,dateFin,_pageName
 +
|format=template
 +
|template=LigneVideo
 +
|named args=yes
 +
}}
 +
=={{{item3}}}==
 +
{{#cargo_query:table=Sequences
 +
|fields=apercu,_pageName,titre,realisateurs,dateDebut,dateFin,resume{{int:lang}}, idSupport,timecode,duree,video
 +
|where=thematique HOLDS WITHIN '{{{item3}}}'  
 
|group by=_pageName
 
|group by=_pageName
 
|order by=dateDebut,dateFin,_pageName
 
|order by=dateDebut,dateFin,_pageName

Version du 8 mars 2019 à 15:13