Template:VC: Difference between revisions

From Geometry Dash Wiki
Jump to navigation Jump to search
m Reverted edit by Josh994 (talk) to last revision by Bot994
Tag: Rollback
No edit summary
 
Line 1: Line 1:
<div class="template-embedvideo-container" style="display:flex;flex-wrap:wrap;align-items:center;justify-content:center;margin:1rem 0;">
<div class="template-embedvideo-container" style="clear:both;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;margin:1rem 0;">
{{#if:{{{1|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{1|}}}|||{{{cpt1|}}}}}</div>}}
{{#if:{{{1|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{1|}}}|||{{{cpt1|}}}}}</div>}}
{{#if:{{{2|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{2|}}}|||{{{cpt2|}}}}}</div>}}
{{#if:{{{2|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{2|}}}|||{{{cpt2|}}}}}</div>}}

Latest revision as of 05:17, 10 October 2026







Description
This template is used to create a Video Container that facilitates the easy embedding of videos into an expandable gallery-style layout with optional captions (cpt), with up to twelve videos able to be included, defaulted to two videos per row and YouTube as the source service.
Embed functionality is derived from Extension:EmbedVideo, whose article can be viewed for information about the parser function.
Warning: This template is unable to be used within tabbers and other container templates without disrupting their functionality. Preview the template being newly used on a page before saving changes.
Syntax
{{VC|<videoID1>|<videoID2>|<videoID3>|<videoID4>|<videoID5>|<videoID6>|<videoID7>|<videoID8>|<videoID9>|<videoID10>|<videoID11>|<videoID12>
 |service =
 |perrow  =
 |cpt1    =
 |cpt2    =
 |cpt3    =
 |cpt4    =
 |cpt5    =
 |cpt6    =
 |cpt7    =
 |cpt8    =
 |cpt9    =
 |cpt10   =
 |cpt11   =
 |cpt12   =
}}
Sample
{{VC|lhhhcRRUHAw|IBFBNdN4JgI|63dk6jIGUYU|NabtjDi2OgU
 |perrow = 3
 |cpt4   = ''That'' game lol
}}
Sample output
That game lol