Template:Video: Difference between revisions

From 95 Degrees Wiki
No edit summary
Tag: Reverted
m (Protected "Template:Video" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable"
<includeonly>{| class="wikitable infobox-right"
! colspan="2" style="padding:0px;" | {{#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)

Template parameters

ParameterDescriptionTypeStatus
Video NamevideoName Video Name

The name of the video that will appear below the embed

Example
IZ*ONE - Panorama
Stringrequired
YouTube Video IDytVideoId YouTube Video ID

The ID of the video you want to embed

Example
G8GaQdW2wHc
Stringrequired