Jump to content

Template:VideoGallery: Difference between revisions

From Ferret Software Wiki
m Fix for blocked elements.
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
   | block= <div class="video-embed-gallery" style="display: contents !important;">
   | block= <div class="video-embed-gallery" style="display: contents !important;">
   | #default= <div class="video-embed-gallery">
   | #default= <div class="video-embed-gallery">
}}{{#if: {{{videos|}}} | {{{videos}}} | {{{1}}} }}</div></includeonly><noinclude>[[Category:Template]]{{doc}}</noinclude>
}}{{#if: {{{videos|}}} | {{{videos}}} | {{{1}}} }}</div></includeonly><noinclude>[[Category:Templates]]{{doc}}</noinclude>

Latest revision as of 23:03, 9 April 2025

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 -