Difference between revisions of "Template:YouTube/doc"

From Yugipedia
Jump to: navigation, search
(default width is 640, not 600; see also to {{dailymotion}})
(update)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
== Usage ==
 
== Usage ==
  
<code><nowiki>{{yt|videoid|width=|align=}}</nowiki></code>
+
<code><nowiki>{{yt|videoid|width=|start=}}</nowiki></code>
  
 
== Examples ==
 
== Examples ==
Line 13: Line 13:
  
 
{{yt|MmB9b5njVbA}}
 
{{yt|MmB9b5njVbA}}
 
  
 
Custom width: <code><nowiki>{{yt|MmB9b5njVbA|width=720}}</nowiki></code>
 
Custom width: <code><nowiki>{{yt|MmB9b5njVbA|width=720}}</nowiki></code>
Line 19: Line 18:
 
{{yt|MmB9b5njVbA|width=720}}
 
{{yt|MmB9b5njVbA|width=720}}
  
Inline alignment: <code><nowiki>{{yt|MmB9b5njVbA|align=inline}}</nowiki></code>
+
Custom start time: <code><nowiki>{{yt|MmB9b5njVbA|start=30}}</nowiki></code>
  
{{yt|MmB9b5njVbA|align=inline}}
+
{{yt|MmB9b5njVbA|start=30}}
{{yt|MmB9b5njVbA|align=inline}}
 
  
 
== See also ==
 
== See also ==

Latest revision as of 19:26, 24 March 2023

This template should be used to embed YouTube videos.

Usage[edit]

{{yt|videoid|width=|start=}}

Examples[edit]

Default width (640px): {{yt|MmB9b5njVbA}}

Custom width: {{yt|MmB9b5njVbA|width=720}}

Custom start time: {{yt|MmB9b5njVbA|start=30}}

See also[edit]