Template:VC: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
m 12 revisions imported: Copied from Official Wiki https://geometrydash.wiki.gg/index.php?title=Template%3AVC&oldid=243864 ; contributors: https://geometrydash.wiki.gg/index.php?title=Template%3AVC&action=history
m Protected "Template:VC": Match protection of Official Wiki counterpart; preserve stronger existing protection ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div class="template-embedvideo-container" style="clear:both;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;margin:1rem 0;">
<div class="template-embedvideo-container" style="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 07:37, 11 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