Template:VideoGallery

Revision as of 21:07, 7 October 2024 by Nelas (talk | contribs) (Created page with "<includeonly><templatestyles src="Template:VideoGallery/styles.css"/> {{#switch: {{{display}}} | block= <div class="video-embed-gallery" style="display: block !important;"> | #default= <div class="video-embed-gallery"> }}{{#if: {{{videos|}}} | {{{videos}}} | {{{1}}} }}</div></includeonly><noinclude>Category:Template{{doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation
This template's documentation has been marked as bad. Please improve or add to it.

{{VideoGallery}} is used to format embedded videos in a gallery layout, in combination with {{VideoEmbed}}.


Usage

{{VideoGallery
|display=block
|
{{VideoEmbed|service=twitchclip|url=https://www.twitch.tv/ferretsoftware/clip/BovineRelatedAlbatrossCopyThis-FSuhy0lyvjg-JTif|description=Doing a flip}}
{{VideoEmbed|service=twitchclip|url=https://www.twitch.tv/ferretsoftware/clip/JollyHelpfulWeaselPJSugar-_YSvSmPEMkXQBsri|description=Making perfect landings}}
}}


Template parameters

Attribute Description Required? Default
display You can set the display parameter between <block> and <flex>.
<block> will use all available space, which is useful when the VideoGallery intersects with infoboxes or images.
Optional flex
videos Can be set or not. Optional -