Difference between revisions of "Template:YouTube/doc"
Dinoguy1000 (talk | contribs) (default width is 640, not 600; see also to {{dailymotion}}) |
Dinoguy1000 (talk | contribs) (document start) |
||
Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
− | <code><nowiki>{{yt|videoid|width=|align=}}</nowiki></code> | + | <code><nowiki>{{yt|videoid|width=|align=|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> | ||
{{yt|MmB9b5njVbA|width=720}} | {{yt|MmB9b5njVbA|width=720}} | ||
+ | |||
+ | Custom start time: <code><nowiki>{{yt|MmB9b5njVbA|start=30}}</nowiki></code> | ||
+ | |||
+ | {{yt|MmB9b5njVbA|start=30}} | ||
Inline alignment: <code><nowiki>{{yt|MmB9b5njVbA|align=inline}}</nowiki></code> | Inline alignment: <code><nowiki>{{yt|MmB9b5njVbA|align=inline}}</nowiki></code> |
Revision as of 15:19, 10 August 2019
This is a documentation subpage for Template:YouTube. It contains usage information, categories and other content that is not part of the original template page. |
This template should be used to embed YouTube videos.
Usage
{{yt|videoid|width=|align=|start=}}
Examples
Default width (640px): {{yt|MmB9b5njVbA}}
Custom width: {{yt|MmB9b5njVbA|width=720}}
Custom start time: {{yt|MmB9b5njVbA|start=30}}
Inline alignment: {{yt|MmB9b5njVbA|align=inline}}
See also
- {{dailymotion}}