Template:VC: Difference between revisions
Jump to navigation
Jump to search
geometrydash.wiki.gg>Jamasto mNo edit summary |
geometrydash.wiki.gg>Jamasto mNo edit summary |
||
| Line 1: | Line 1: | ||
<div class=" | <div class="template-embedvideo-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> | ||
Revision as of 20:05, 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>