Jump to content

Template:Youtube thumbnail: Difference between revisions

From Insurer Brain
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><span class="yt-thumb" style="display:inline-block;vertical-align:top;margin:0 {{#if:{{{gapx|}}}|{{{gapx}}}|25px}} {{#if:{{{gapy|}}}|{{{gapy}}}|25px}} 0;width:{{{width|425}}}px;"><youtube width="{{{width|320}}}" height="{{{height|239}}}">{{{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>
<includeonly><span class="yt-thumb" style="display:inline-block;vertical-align:top;margin:0 {{#if:{{{gapx|}}}|{{{gapx}}}|25px}} {{#if:{{{gapy|}}}|{{{gapy}}}|25px}} 0;width:{{{width|425}}}px;"><youtube width="{{{width|425}}}" height="{{{height|239}}}">{{{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 22:58, 16 October 2025

Usage: