Difference between revisions of "Template:EmbedVideo"
From Animation Luzern Wiki
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{#ev:{{{service}}}|{{{id}}}|{{{ | + | {{#ev:{{{service}}}|{{{id}}}|{{{dimension}}}|{{{alignment}}}|}} |
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Line 8: | Line 8: | ||
"params": { | "params": { | ||
"service": { | "service": { | ||
− | "type": "string" | + | "type": "string", |
+ | "required": true, | ||
+ | "description": "The name of the service.", | ||
+ | "example": "vimeo, youtube" | ||
}, | }, | ||
"id": { | "id": { | ||
− | "type": "string" | + | "type": "string", |
+ | "required": true, | ||
+ | "description": "The id of the video.", | ||
+ | "example": "18335678, 3r1n63u773r" | ||
}, | }, | ||
− | " | + | "dimension": { |
− | "type": "string" | + | "type": "string", |
+ | "required": true, | ||
+ | "description": "The dimension of the video.", | ||
+ | "example": "800, 800x450" | ||
}, | }, | ||
"alignment": { | "alignment": { | ||
− | "type": "string" | + | "type": "string", |
+ | "required": true, | ||
+ | "description": "The alignment of the video.", | ||
+ | "example": "center, left, right" | ||
} | } | ||
} | } |
Revision as of 12:56, 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 | required |
Alignment | alignment | The alignment of the video.
| String | required |