Difference between revisions of "Modèle:FicheSupport"

Line 15: Line 15:
 
{{Ligne|{{int:Template-id_support}}|{{{id_support|}}}}}<!--
 
{{Ligne|{{int:Template-id_support}}|{{{id_support|}}}}}<!--
 
-->{{Ligne|Type|{{{type|}}}}}<!--
 
-->{{Ligne|Type|{{{type|}}}}}<!--
-->{{Ligne|{{int:Template-Date}}|{{{date|}}} {{#if:{{{precision|}}}|({{{precision}}})}} }}<!--
+
-->{{Ligne|{{int:Template-Date}}|{{#switch:{{{date_debut|-}}}{{{date_fin|+}}}
 +
|{{{date_debut}}}{{{date_fin}}}={{int:Template-Entre}} {{{date_debut}}} {{int:Template-et}}  {{{date_fin}}}
 +
|{{{date_debut}}}+={{{date_debut}}}
 +
|-{{{date_fin}}}={{{date_fin|}}}
 +
|#default=
 +
}} }}<!--
 
-->{{Ligne|{{int:Template-Coloration}}|{{{coloration|}}} }} <!--
 
-->{{Ligne|{{int:Template-Coloration}}|{{{coloration|}}} }} <!--
 
-->{{Ligne|{{int:Template-Son}}|{{{son|}}} }}<!--
 
-->{{Ligne|{{int:Template-Son}}|{{{son|}}} }}<!--
Line 60: Line 65:
 
|fields=_pageName,titre,timecode,duree,date
 
|fields=_pageName,titre,timecode,duree,date
 
|where=id_support='{{{id_support}}}'
 
|where=id_support='{{{id_support}}}'
|order by=timecode,duree
+
|order by=timecode
|group by=timecode,duree
+
|group by=timecode
 
|format=template
 
|format=template
 
|template=ReqToPage
 
|template=ReqToPage

Revision as of 13:55, 26 June 2018

Ceci est le modèle « FicheSupport ».

Error: "precision" cannot be used as a Cargo field name, because it is an SQL keyword.