Difference between revisions of "Template:EmbedVideo"
From Animation Luzern Wiki
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{#ev:{{{service}}}|{{{id}}}|{{{dimension}}}|{{{alignment}}}|}} | + | {{#ev:{{{service}}}|{{{id}}}|{{{dimension|800}}}|{{{alignment|center}}}|}} |
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Line 21: | Line 21: | ||
"dimension": { | "dimension": { | ||
"type": "string", | "type": "string", | ||
− | |||
"description": "The dimension of the video.", | "description": "The dimension of the video.", | ||
− | "example": "800, 800x450" | + | "example": "800, 800x450", |
+ | "default": "800" | ||
}, | }, | ||
"alignment": { | "alignment": { | ||
"type": "string", | "type": "string", | ||
− | |||
"description": "The alignment of the video.", | "description": "The alignment of the video.", | ||
− | "example": "center, left, right" | + | "example": "center, left, right", |
+ | "default": "center" | ||
} | } | ||
} | } |
Revision as of 13:08, 10 August 2018
Template for the EmbedVideo extension. see https://www.mediawiki.org/wiki/Extension:EmbedVideo
Parameter | Description | Type | Status | |
---|---|---|---|---|
Service | service | The name of the service.
| String | required |
Id | id | The id of the video.
| String | required |
Dimension | dimension | The dimension of the video.
| String | optional |
Alignment | alignment | The alignment of the video.
| String | optional |