Template:VC: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
geometrydash.wiki.gg>Jamasto
m Created page with "<div style="display:flex;align-items:center;justify-content:center;margin:1em 0;"> {{#if:{{{1|}}}|<div style="width:50%;padding:1em;">{{#ev:youtube|{{{1|}}}|||{{{cpt1|}}}}}}}</div> {{#if:{{{2|}}}|<div style="width:50%;padding:1em;">{{#ev:youtube|{{{2|}}}|||{{{cpt2|}}}}}}}</div> {{#if:{{{3|}}}|<div style="width:50%;padding:1em;">{{#ev:youtube|{{{3|}}}|||{{{cpt3|}}}}}}}</div> {{#if:{{{4|}}}|<div style="width:50%;padding:1em;">{{#ev:youtube|{{{4|}}}|||{{{cpt4|}}}}}}}</div>..."
 
geometrydash.wiki.gg>Jamasto
mNo edit summary
Line 1: Line 1:
<div style="display:flex;align-items:center;justify-content:center;margin:1em 0;">
<div class="custom-video-container" style="display:flex;flex-wrap:wrap;align-items:center;justify-content:center;margin:1em 0;">
{{#if:{{{1|}}}|<div style="width:50%;padding:1em;">{{#ev:youtube|{{{1|}}}|||{{{cpt1|}}}}}}}</div>
{{#if:{{{1|}}}|<div style="width:50%;padding:1em;">{{#ev:youtube|{{{1|}}}|||{{{cpt1|}}}}}}}</div>
{{#if:{{{2|}}}|<div style="width:50%;padding:1em;">{{#ev:youtube|{{{2|}}}|||{{{cpt2|}}}}}}}</div>
{{#if:{{{2|}}}|<div style="width:50%;padding:1em;">{{#ev:youtube|{{{2|}}}|||{{{cpt2|}}}}}}}</div>
Line 12: Line 12:
</div><noinclude>
</div><noinclude>
;Description
;Description
:This template is used to create a '''Y'''ouTube '''V'''ideo '''C'''ontainer that facilitates the easy embedding of videos sourced from YouTube into an expandable gallery-style layout, with up to ten videos able to be included at two videos per row.
:This template is used to create a '''Y'''ouTube '''V'''ideo '''C'''ontainer that facilitates the easy embedding of videos sourced from YouTube into an expandable gallery-style layout with optional captions (cpt), with up to ten videos able to be included at two videos per row.
:Embed functionality is derived from [[mw:Extension:EmbedVideo|Extension:EmbedVideo]], whose article can be viewed for information about the parser function.
:Embed functionality is derived from [[mw:Extension:EmbedVideo|Extension:EmbedVideo]], whose article can be viewed for information about the parser function.
;Syntax
;Syntax

Revision as of 19:38, 18 July 2025

Description
This template is used to create a YouTube Video Container that facilitates the easy embedding of videos sourced from YouTube into an expandable gallery-style layout with optional captions (cpt), with up to ten videos able to be included at two videos per row.
Embed functionality is derived from Extension:EmbedVideo, whose article can be viewed for information about the parser function.
Syntax
{{YVC|<videoID1>|<videoID2>|<videoID3>|<videoID4>|<videoID5>|<videoID6>|<videoID7>|<videoID8>|<videoID9>|<videoID10>
 |cpt1  = (hidden field)
 |cpt2  = (hidden field)
 |cpt3  = (hidden field)
 |cpt4  = (hidden field)
 |cpt5  = (hidden field)
 |cpt6  = (hidden field)
 |cpt7  = (hidden field)
 |cpt8  = (hidden field)
 |cpt9  = (hidden field)
 |cpt10 = (hidden field)
}}
Sample
{{YVC|lhhhcRRUHAw|IBFBNdN4JgI|63dk6jIGUYU|NabtjDi2OgU
 |cpt4 = ''That'' game lol
}}
Sample output

Template:YVC</nocinclude>