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|{{#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|}}}|]] | ||
</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}}|\-|-}}|\|0}}|-|-}}|\}}}}--> | <!--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}}|\-|-}}|\|0}}|-|-}}|\}}}}--> |
Revision as of 12:28, 12 January 2017
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.