Template:Upload movie: Difference between revisions

From CSDMS
m changed field format
No edit summary
 
(159 intermediate revisions by the same user not shown)
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__
{| class="wikitable"
__NOEDITSECTION__
! colspan="2" | Upload movie
==Information Page: {{BASEPAGENAME}} ==
|-
=== Play {{#arraymap:{{{Movie type|}}}|,|x|[[Movie type::x]]}} ===
| class="model_col1"|Movie / Animation:
{{#default_form:Movie-animation_upload}}{{#vardefine:youtubecode|{{#explode:{{#explode:{{anchorencode:[[Upload movie::{{{Upload movie|}}}]]}}|:|2}}|.|0}}}}
| class="model_col2"| {{#arraymap:{{{Movie type|}}}|,|x|[[Movie type::x]]}}
{{#set:Upload movie={{{Upload movie|}}} }}
|-
{{#widget:YouTube|id={{#var:youtubecode}}}}
| class="model_col1"|Upload movie / Animation:
[[Upload image movie::Image:{{{Upload image movie|}}}|]]<br>
| class="model_col2"| {{#arraymap:{{{Upload movie|}}}|,|x|[[Upload movie::Media:x| ]][[Media:x]]}}
[[Caption movie::{{{Caption movie|}}}]]
|-
| class="model_col1"|Upload image movie:
| class="model_col2"| {{#arraymap:{{{Upload image movie|}}}|,|x|[[Upload image movie::Media:x| ]][[Media:x]]}}
|-
| class="model_col1"|Caption movie:
| class="model_col2"| [[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;|-}}|\}}}}-->

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.