Template:Upload movie: Difference between revisions

From CSDMS
No edit summary
No edit summary
 
Line 17: Line 17:
=== Play {{#arraymap:{{{Movie type|}}}|,|x|[[Movie type::x]]}} ===
=== Play {{#arraymap:{{{Movie type|}}}|,|x|[[Movie type::x]]}} ===
{{#default_form:Movie-animation_upload}}{{#vardefine:youtubecode|{{#explode:{{#explode:{{anchorencode:[[Upload movie::{{{Upload movie|}}}]]}}|:|2}}|.|0}}}}
{{#default_form:Movie-animation_upload}}{{#vardefine:youtubecode|{{#explode:{{#explode:{{anchorencode:[[Upload movie::{{{Upload movie|}}}]]}}|:|2}}|.|0}}}}
{{#set:Upload movie={{{Upload movie|}}} }}
{{#widget:YouTube|id={{#var:youtubecode}}}}
{{#widget:YouTube|id={{#var:youtubecode}}}}
[[Upload image movie::Image:{{{Upload image movie|}}}|]]<br>
[[Upload image movie::Image:{{{Upload image movie|}}}|]]<br>

Latest revision as of 09:49, 15 May 2018

This is the 'Upload movie' template. It should be called in the following format:

{{Upload movie
|Movie type=
|Upload movie=
|Upload image movie=
|Caption movie=
}}

Edit the page to see the template text.