Template:Video: Difference between revisions
(Created page with "<includeonly>{| class="wikitable" ! colspan="2" style="padding:5px;" | {{#tag:html| <iframe width="426" height="240" src="https://www.youtube.com/embed/{{{ytVideoId}}}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>}} |- | colspan="2" | [https://youtu.be/{{{ytVideoId}}} {{{videoName}}}] |}</includeonly><noinclude> {{Video |videoName = IZ*ONE Panorama |ytVideoId = G8Ga...") |
m (Protected "Template:Video" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" | <includeonly>{| class="wikitable infobox-right" | ||
! colspan="2" style="padding:5px;" | {{#tag:html| <iframe width="426" height="240" src="https://www.youtube.com/embed/{{{ytVideoId}}}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>}} | ! colspan="2" style="padding:5px;" | {{#tag:html| <iframe width="426" height="240" src="https://www.youtube.com/embed/{{{ytVideoId}}}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>}} | ||
Line 20: | Line 20: | ||
</pre> | </pre> | ||
</html> | </html> | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"ytVideoId": { | |||
"aliases": [ | |||
"YouTube Video ID" | |||
], | |||
"label": "YouTube Video ID", | |||
"description": "The ID of the video you want to embed", | |||
"example": "G8GaQdW2wHc", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"videoName": { | |||
"aliases": [ | |||
"Video Name" | |||
], | |||
"label": "Video Name", | |||
"description": "The name of the video that will appear below the embed", | |||
"example": "IZ*ONE - Panorama", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "YouTube video embed (fixed to the right of page)", | |||
"paramOrder": [ | |||
"videoName", | |||
"ytVideoId" | |||
] | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 09:56, 17 February 2023
IZ*ONE Panorama |
YouTube video embeds
{{Video |videoName = IZ*ONE Panorama |ytVideoId = G8GaQdW2wHc }}
YouTube video embed (fixed to the right of page)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Video Name | videoName Video Name | The name of the video that will appear below the embed
| String | required |
YouTube Video ID | ytVideoId YouTube Video ID | The ID of the video you want to embed
| String | required |