Template:Upload movie: Difference between revisions

From CSDMS
No edit summary
No edit summary
Line 18: Line 18:
{{#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}}}}
{{#widget:YouTube|id={{#var:youtubecode}}}}
{{#widget:YouTube|id={{#var:youtubecode}}}}
[[Upload image movie::Image:{{{Upload image movie|}}}|]]
[[Upload image movie::Image:{{{Upload image movie|}}}|]]<br>
[[Caption movie::{{{Caption movie|}}}
</includeonly>
</includeonly>
<!--The next didn't work anymore after the attempt to upgrade the page from Mediawiki 16.5 to 18.1; so we went back to 16.5; so the code is slightly changed, see above {{#vardefine:youtubecode|{{#replace:{{#replace:{{#explode:{{#replace:{{#explode:{{anchorencode:[[Upload movie::{{{Upload movie|}}}]]}}|:|2}}|\-|&#45;}}|\|0}}|&#45;|-}}|\}}}}-->
<!--The next didn't work anymore after the attempt to upgrade the page from Mediawiki 16.5 to 18.1; so we went back to 16.5; so the code is slightly changed, see above {{#vardefine:youtubecode|{{#replace:{{#replace:{{#explode:{{#replace:{{#explode:{{anchorencode:[[Upload movie::{{{Upload movie|}}}]]}}|:|2}}|\-|&#45;}}|\|0}}|&#45;|-}}|\}}}}-->

Revision as of 09:06, 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.