Template:VideoGallery: Difference between revisions
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>" |
m Text replacement - "Category:Template" to "Category:Templates" |
||
Line 3: | Line 3: | ||
| block= <div class="video-embed-gallery" style="display: block !important;"> | | block= <div class="video-embed-gallery" style="display: block !important;"> | ||
| #default= <div class="video-embed-gallery"> | | #default= <div class="video-embed-gallery"> | ||
}}{{#if: {{{videos|}}} | {{{videos}}} | {{{1}}} }}</div></includeonly><noinclude>[[Category: | }}{{#if: {{{videos|}}} | {{{videos}}} | {{{1}}} }}</div></includeonly><noinclude>[[Category:Templates]]{{doc}}</noinclude> |
Latest revision as of 17:34, 2 April 2025
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 | - |
The above documentation is transcluded from Template:VideoGallery/doc. (edit | history)