Difference between revisions of "Template:Media"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 39: Line 39:
 
<div class="col-lg-9 pr-lg-4">{{#if: {{#external_value:MediaSeries}}  
 
<div class="col-lg-9 pr-lg-4">{{#if: {{#external_value:MediaSeries}}  
 
| {{GetMediaSeriesMembers | {{#external_value:MediaSeries}} | {{#external_value:Description}} }}   
 
| {{GetMediaSeriesMembers | {{#external_value:MediaSeries}} | {{#external_value:Description}} }}   
| {{#ifeq: {{#external_value:StreamingService}} | YouTube |
+
| {{#if: {{#external_value:StreamingService}}
<!-- (1) video wrapper -->
 
<div class="youtube" data-embed="{{#external_value:VideoStreamID}}">
 
 
    <!-- (2) the "play" button -->
 
    <div class="play-button"></div>
 
   
 
</div>
 
| {{#if: {{#external_value:StreamingService}}
 
 
|{{#ev:{{#switch:{{#external_value:StreamingService}}
 
|{{#ev:{{#switch:{{#external_value:StreamingService}}
 
|YouTube=youtube
 
|YouTube=youtube
Line 72: Line 64:
 
}}
 
}}
 
}}
 
}}
}}
 
 
}}
 
}}
  

Revision as of 11:45, 2 July 2020