Template:VC: Difference between revisions
Jump to navigation
Jump to search
geometrydash.wiki.gg>Jamasto m Tragic typo |
geometrydash.wiki.gg>Jamasto mNo edit summary |
||
| Line 10: | Line 10: | ||
{{#if:{{{9|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1em;">{{#ev:{{{service|youtube}}}|{{{9|}}}|||{{{cpt9|}}}}}}}</div> | {{#if:{{{9|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1em;">{{#ev:{{{service|youtube}}}|{{{9|}}}|||{{{cpt9|}}}}}}}</div> | ||
{{#if:{{{10|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1em;">{{#ev:{{{service|youtube}}}|{{{10|}}}|||{{{cpt10|}}}}}}}</div> | {{#if:{{{10|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1em;">{{#ev:{{{service|youtube}}}|{{{10|}}}|||{{{cpt10|}}}}}}}</div> | ||
{{#if:{{{11|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1em;">{{#ev:{{{service|youtube}}}|{{{11|}}}|||{{{cpt11|}}}}}}}</div> | |||
{{#if:{{{12|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1em;">{{#ev:{{{service|youtube}}}|{{{12|}}}|||{{{cpt12|}}}}}}}</div> | |||
</div><noinclude> | </div><noinclude> | ||
;Description | ;Description | ||
:This template is used to create a '''V'''ideo '''C'''ontainer that facilitates the easy embedding of videos into an expandable gallery-style layout with optional captions (cpt), with up to | :This template is used to create a '''V'''ideo '''C'''ontainer 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 [[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 | ||
<pre> | <pre> | ||
{{VC|<videoID1>|<videoID2>|<videoID3>|<videoID4>|<videoID5>|<videoID6>|<videoID7>|<videoID8>|<videoID9>|<videoID10> | {{VC|<videoID1>|<videoID2>|<videoID3>|<videoID4>|<videoID5>|<videoID6>|<videoID7>|<videoID8>|<videoID9>|<videoID10>|<videoID11>|<videoID12> | ||
|service = | |service = | ||
|perrow = | |perrow = | ||
|cpt1 = | |cpt1 = | ||
|cpt2 = | |cpt2 = | ||
|cpt3 = | |cpt3 = | ||
|cpt4 = | |cpt4 = | ||
|cpt5 = | |cpt5 = | ||
|cpt6 = | |cpt6 = | ||
|cpt7 = | |cpt7 = | ||
|cpt8 = | |cpt8 = | ||
|cpt9 = | |cpt9 = | ||
|cpt10 = | |cpt10 = | ||
|cpt11 = | |||
|cpt12 = | |||
}} | }} | ||
</pre> | </pre> | ||
Revision as of 16:20, 5 September 2025
- 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.
- 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