Difference between revisions of "Template:EmbedVideo"

From Animation Luzern Wiki
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#ev:{{{service}}}|{{{id}}}|{{{dimension|800}}}|{{{alignment|center}}}|}}
+
{{#ev:{{{service}}}|{{{id}}}|{{{dimension|1076}}}|{{{alignment|center}}}|}}
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
Line 23: Line 23:
 
                         "description": "The dimension of the video.",
 
                         "description": "The dimension of the video.",
 
                         "example": "800, 800x450",
 
                         "example": "800, 800x450",
                         "default": "800"
+
                         "default": "1076"
 
},
 
},
 
"alignment": {
 
"alignment": {

Revision as of 21:29, 5 November 2018


Template for the EmbedVideo extension. see https://www.mediawiki.org/wiki/Extension:EmbedVideo

Template parameters

ParameterDescriptionTypeStatus
Serviceservice

The name of the service.

Default
empty
Example
vimeo, youtube
Auto value
empty
Stringrequired
Idid

The id of the video.

Default
empty
Example
18335678, 3r1n63u773r
Auto value
empty
Stringrequired
Dimensiondimension

The dimension of the video.

Default
1076
Example
800, 800x450
Auto value
empty
Stringoptional
Alignmentalignment

The alignment of the video.

Default
center
Example
center, left, right
Auto value
empty
Stringoptional