Template:Upload movie: Difference between revisions

From CSDMS
No edit summary
No edit summary
Line 16: Line 16:
==Information Page: {{BASEPAGENAME}} ==
==Information Page: {{BASEPAGENAME}} ==
=== Play {{#arraymap:{{{Movie type|}}}|,|x|[[Movie type::x]]}} ===
=== Play {{#arraymap:{{{Movie type|}}}|,|x|[[Movie type::x]]}} ===
{{#vardefine:youtubecode|{{#replace:{{#replace:{{#explode:{{#replace:{{#explode:{{anchorencode:[[Upload movie::{{{Upload movie|}}}]]}}|:|2}}|\-|-}}|\|0}}|-|-}}|\}}
{{#vardefine:youtubecode|{{#replace:{{#replace:{{#explode:{{#replace:{{#explode:{{anchorencode:[[Upload movie::{{{Upload movie|}}}]]}}|:|2}}|\-|-}}|\|0}}|-|-}}|\}}}}
{{#widget:YouTube|id={{#var:youtubecode}}}}
{{#widget:YouTube|id={{#var:youtubecode}}}}
[[Upload image movie::Image:{{{Upload image movie|}}}|]]
[[Upload image movie::Image:{{{Upload image movie|}}}|]]

Revision as of 08:45, 29 September 2011

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.