MediaWiki:FicheSequence-cartouche : Différence entre versions

Ligne 8 : Ligne 8 :
 
-->{{#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='{{{id_support}}}'|group by=video|format=template|template=ReqToVar|default=}}<!--
  
-->{| style="width: 30em; font-size: 90%; border: 0px 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="width: 30em; font-size: 90%; border-left: 1px solid #aaaaaa; background-color: #fff; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
  
|colspan="2" style="text-align:center;"|
+
|colspan="2" |
 
{{#if:{{{video|}}}|{{#widget:Video|url=http://rhinedits-stream.di.unistra.fr/Films/{{{video}}}.mp4}}|{{#widget:Video|url=http://rhinedits-stream.di.unistra.fr/Films/{{#var:var_1}}.mp4 |start={{#time: U | 1970-01-01 {{{timecode|}}} }}|end={{#expr:{{#time: U | 1970-01-01 {{{timecode|}}} }}+{{#time: U | 1970-01-01 {{{duree|}}} }}}} }} }}
 
{{#if:{{{video|}}}|{{#widget:Video|url=http://rhinedits-stream.di.unistra.fr/Films/{{{video}}}.mp4}}|{{#widget:Video|url=http://rhinedits-stream.di.unistra.fr/Films/{{#var:var_1}}.mp4 |start={{#time: U | 1970-01-01 {{{timecode|}}} }}|end={{#expr:{{#time: U | 1970-01-01 {{{timecode|}}} }}+{{#time: U | 1970-01-01 {{{duree|}}} }}}} }} }}
 
|-
 
|-

Version du 11 septembre 2018 à 15:13

Ceci est le modèle « Fiche sequence ».

Error: #cargo_declare must be called from a template page.