Difference between revisions of "Template:YouTube"

From Tech4Biowaste
Jump to navigation Jump to search
[checked revision][checked revision]
Line 1: Line 1:
<youtube {{#if {{{widht|}}} | width="200"}}>{{{videocode}}}</youtube>
<youtube {{#if {{{width|}}} | width="200"}}>{{{videocode}}}</youtube>
<noinclude>
<templatedata>
{
"params": {
"widht": {},
"videocode": {
"aliases": [
"1"
],
"label": "Code of the video",
"description": "Code of the video",
"example": "l3Yh1H7UVO4",
"type": "string",
"required": true,
"suggested": true
}
},
"description": "Embed a YouTube video",
"format": "inline"
}
</templatedata>
</noinclude>

Revision as of 07:59, 9 June 2021

Embed a YouTube video

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
widhtwidht

no description

Unknownoptional
Code of the videovideocode 1

Code of the video

Example
l3Yh1H7UVO4
Stringrequired