Template:Youtube thumbnail: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly><span class="yt-thumb" style="display:inline-block;vertical-align:top;margin:0 {{#if:{{{gapx|}}}|{{{gapx}}}| |
<includeonly><span class="yt-thumb" style="display:inline-block;vertical-align:top;margin:0 {{#if:{{{gapx|}}}|{{{gapx}}}|50px}} {{#if:{{{gapy|}}}|{{{gapy}}}|25px}} 0;width:{{{width|432}}}px;"><youtube width="{{{width|432}}}" height="{{{height|243}}}">{{{1}}}</youtube><span class="yt-caption" style="display:block;font-size:0.85em;line-height:1.35;margin-top:0.35em;">{{{caption|{{{2|}}}}}}</span></span></includeonly><noinclude> |
||
Usage: |
Usage: |
||
* {{YouTube thumbnail | VIDEO_ID | Caption here}} |
* {{YouTube thumbnail | VIDEO_ID | Caption here}} |
||
Revision as of 23:01, 16 October 2025
Usage:
- Template:YouTube thumbnail
- Named params: width=, height=, gapx=, gapy=, caption=