|
|
Line 1: |
Line 1: |
− | <includeonly>{{#evp:youtube|{{{1}}}|{{{2|{{BASEPAGENAME}}}}}|left|{{{width|400}}}}}{{clr}}</includeonly><noinclude>Template to add a YouTube video with thumbnail caption.
| + | {{Youtube|{{{1}}}|width={{{width|500}}}|align={{{align|left}}}}} |
− | | |
− | == Syntax ==
| |
− | Basic:
| |
− | <nowiki>{{youtube tn|someYoutubeId}}</nowiki>
| |
− | | |
− | With a defined thumbnail width:
| |
− | <nowiki>{{youtube tn|someYoutubeId|description|width=value}}</nowiki>
| |
− | | |
− | ;YouTube Video Id: The YouTube video id of the video to include.
| |
− | ;Description: Text description that appears under the video.
| |
− | ;Width: Width of the video, in pixels. Height is automatically calculated. Default is 300px.
| |
− | [[Category:Formatting templates|Youtube tn]]</noinclude>
| |