Template:Video Embed: Difference between revisions
Jump to navigation
Jump to search
m Boumi moved page Template:Youtube video to Template:Add Video without leaving a redirect: More generic than just Youtube |
Add templatedata |
||
Line 4: | Line 4: | ||
|alignment={{{align}}} | |alignment={{{align}}} | ||
}} | }} | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"service": { | |||
"label": "Streaming service", | |||
"description": "Video service of the video you want to embed", | |||
"example": "youtube", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"youtube", | |||
"archiveorg", | |||
"dailymotion", | |||
"nico", | |||
"rutube", | |||
"twitch", | |||
"vimeo" | |||
], | |||
"required": true | |||
}, | |||
"url": { | |||
"label": "URL", | |||
"description": "URL of the embed video", | |||
"example": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", | |||
"type": "url", | |||
"required": true | |||
}, | |||
"align": { | |||
"label": "Alignement", | |||
"description": "How you want to align the video on the page", | |||
"example": "left", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"left", | |||
"center", | |||
"right", | |||
"inline" | |||
], | |||
"autovalue": "right" | |||
} | |||
}, | |||
"description": "Add an embed video" | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 18:05, 22 January 2023
VideoService "{{{service}}}" not recognized.
Add an embed video
Parameter | Description | Type | Status | |
---|---|---|---|---|
Streaming service | service | Video service of the video you want to embed
| String | required |
URL | url | URL of the embed video
| URL | required |
Alignement | align | How you want to align the video on the page
| String | optional |