Template:VC: Difference between revisions
Jump to navigation
Jump to search
geometrydash.wiki.gg>Jamasto m Jamasto renamed page Template:YVC to Template:VC without leaving a redirect |
m Protected "Template:VC": Match protection of Official Wiki counterpart; preserve stronger existing protection ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| (12 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<div class="template-embedvideo-container" style="display:flex;flex-wrap:wrap;align-items:center;justify-content:center;margin: | <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: | {{#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: | {{#if:{{{2|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{2|}}}|||{{{cpt2|}}}}}</div>}} | ||
{{#if:{{{3|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding: | {{#if:{{{3|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{3|}}}|||{{{cpt3|}}}}}</div>}} | ||
{{#if:{{{4|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding: | {{#if:{{{4|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{4|}}}|||{{{cpt4|}}}}}</div>}} | ||
{{#if:{{{5|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding: | {{#if:{{{5|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{5|}}}|||{{{cpt5|}}}}}</div>}} | ||
{{#if:{{{6|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding: | {{#if:{{{6|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{6|}}}|||{{{cpt6|}}}}}</div>}} | ||
{{#if:{{{7|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding: | {{#if:{{{7|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{7|}}}|||{{{cpt7|}}}}}</div>}} | ||
{{#if:{{{8|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding: | {{#if:{{{8|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{8|}}}|||{{{cpt8|}}}}}</div>}} | ||
{{#if:{{{9|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding: | {{#if:{{{9|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{9|}}}|||{{{cpt9|}}}}}</div>}} | ||
{{#if:{{{10|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding: | {{#if:{{{10|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{10|}}}|||{{{cpt10|}}}}}</div>}} | ||
{{#if:{{{11|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#ev:{{{service|youtube}}}|{{{11|}}}|||{{{cpt11|}}}}}</div>}} | |||
{{#if:{{{12|}}}|<div style="display:flex;width:calc(100% / {{{perrow|2}}});padding:1rem;">{{#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. | ||
:'''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 | ;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> | ||
| Line 43: | Line 48: | ||
|cpt4 = ''That'' game lol | |cpt4 = ''That'' game lol | ||
}} | }} | ||
[[Category:Container templates]]</ | [[Category:Container templates]]</noinclude> | ||
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