Template:VideoGallery: Difference between revisions

m
Fix for blocked elements.
(Added `display=block` option.)
m (Fix for blocked elements.)
 
Line 1: Line 1:
<includeonly><templatestyles src="Template:VideoGallery/styles.css"/>
<includeonly><templatestyles src="Template:VideoGallery/styles.css"/>
{{#switch: {{{display}}}
{{#switch: {{{display}}}
   | block= <div class="video-embed-gallery" style="display: block !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:Template]]{{doc}}</noinclude>