Template:Upload movie: Difference between revisions
From CSDMS
m typo |
No edit summary |
||
(161 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Upload movie | {{Upload movie | ||
|Movie | |Movie type= | ||
|Upload movie= | |Upload movie= | ||
|Upload image movie= | |Upload image movie= | ||
Line 12: | Line 12: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
__TOC__ | |||
{ | __NOEDITSECTION__ | ||
==Information Page: {{BASEPAGENAME}} == | |||
=== Play {{#arraymap:{{{Movie type|}}}|,|x|[[Movie type::x]]}} === | |||
{{#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}}}} | |||
[[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}}|\-|-}}|\|0}}|-|-}}|\}}}}--> |
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.