Difference between revisions of "Template:YouTube"

From Tech4Biowaste
Jump to navigation Jump to search
[checked revision][checked revision]
Line 1: Line 1:
<youtube {{#if {{{width|}}} | width=" {{{width}}}" | }} {{#if {{{height|}}} | height="{{{height}}}">{{{videocode}}}</youtube>
<youtube {{#if {{{width|}}} | width=" {{{width}}}" | }} {{#if {{{height|}}} | height="{{{height}}} | }}">{{{videocode}}}</youtube>
<noinclude>
<noinclude>
<templatedata>
<templatedata>

Revision as of 08:09, 9 June 2021

Embed a YouTube video

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Code of the videovideocode 1

Code of the video

Example
l3Yh1H7UVO4
Stringrequired
Width of the videowidth

Width of the video

Example
200
Numberoptional
Height of the videoheight

Height of the video

Example
200
Numberoptional