|
|
Line 10: |
Line 10: |
|
| |
|
| <noinclude> | | <noinclude> |
| <templatedata>
| | {{documentation}} |
| { | | [[Category:Mario Kart Wii Templates]] |
| "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
| |
| },
| |
| "dimensions": {
| |
| "label": "Dimensions",
| |
| "description": "Dimensions in pixels to size the embed container. The standard format is width x height where either can be omitted, but the x must proceed height to indicate it as the height.",
| |
| "example": "480, 480x320, x320. If the height is not provided it will be calculated automatically from the width and service default ratio",
| |
| "type": "string"
| |
| },
| |
| "alignment": {
| |
| "label": "Alignment",
| |
| "description": "Align the placement of the video either to the left, centered, or to the right. Inline will allow multiple videos to display side by side without forced line breaks",
| |
| "example": "left, center",
| |
| "type": "string",
| |
| "suggestedvalues": [
| |
| "left ",
| |
| "center",
| |
| "right"
| |
| ]
| |
| },
| |
| "description": {
| |
| "label": "Description",
| |
| "description": "Display a description under the embed container. For line breaks use ",
| |
| "example": "some wikitext",
| |
| "type": "content"
| |
| }
| |
| },
| |
| "description": "Add an embed video"
| |
| }
| |
| </templatedata>
| |
| </noinclude> | | </noinclude> |
|
| |
| * ''See [[mw:Extension:EmbedVideo_(fork)]] for more information.''
| |
|
| |
| [[Category:Mario Kart Wii Templates]]
| |