Jump to content

Template:Youtube thumbnail: Difference between revisions

From Insurer Brain
Content deleted Content added
Created page with "<includeonly> <span class="yt-thumb" style="display:inline-block;vertical-align:top; horizontal gap (right) + vertical gap (bottom): margin:0 {{#if:{{{gapx|}}}|{{{gapx}}}|16px}} {{#if:{{{gapy|}}}|{{{gapy}}}|16px}} 0; set a fixed card width so the row can pack left→right: width:{{{width|320}}}px;"> <!-- The video (works with Extension:YouTube and also with EmbedVideo's <youtube> tag) --> <youtube w..."
 
No edit summary
Line 6: Line 6:
/* set a fixed card width so the row can pack left→right */
/* set a fixed card width so the row can pack left→right */
width:{{{width|320}}}px;">
width:{{{width|320}}}px;">

<!-- The video (works with Extension:YouTube and also with EmbedVideo's <youtube> tag) -->
<!-- The video (works with Extension:YouTube and also with EmbedVideo's <youtube> tag) -->
<youtube width="{{{width|320}}}" height="{{{height|180}}}">{{{1}}}</youtube>
<youtube width="{{{width|320}}}" height="{{{height|180}}}">{{{1}}}</youtube>

<!-- The caption -->
<!-- The caption -->
<span class="yt-caption"
<span class="yt-caption"

Revision as of 22:50, 16 October 2025


Usage: