Difference between revisions of "Template:Media"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 71: | Line 71: | ||
<div class="col-lg-9 pr-4">{{#if: {{#external_value:MediaSeries}} | <div class="col-lg-9 pr-4">{{#if: {{#external_value:MediaSeries}} | ||
| {{GetMediaSeriesMembers | {{#external_value:MediaSeries}} | {{#external_value:Description}} }} | | {{GetMediaSeriesMembers | {{#external_value:MediaSeries}} | {{#external_value:Description}} }} | ||
− | | {{#if: {{#external_value:StreamingService}} | + | | {{#ifeq: {{#external_value:StreamingService}} | YouTube |
− | + | |<center><iframe width="1060" src="https://www.youtube.com/embed/{{#external_value:VideoStreamID}}?rel=0" frameborder="0" allow="encrypted-media" allowfullscreen></iframe></center> | |
− | + | | {{#if: {{#external_value:StreamingService}} | |
− | + | |{{#ev:{{#switch:{{#external_value:StreamingService}} | |
− | + | |YouTube=youtube | |
− | + | |Vimeo=vimeo | |
− | + | |SoundCloud=soundcloud | |
+ | |TED Talk=ted | ||
+ | |Vine=vine | ||
+ | }} | ||
+ | |{{#external_value:VideoStreamID}} | ||
+ | |1060 | ||
+ | |center | ||
}} | }} | ||
− | + | |{{#if:{{#external_value:pdflink}} | |
− | + | |{{#if: {{#external_value:frontcoverimg}} | |
− | + | |<center>[[{{#external_value:frontcoverimg}}|x300px]]</center> | |
− | + | | | |
− | + | }} | |
− | + | <center>{{InsertMedia|{{#external_value:pdflink}} }}</center> | |
− | |||
| | | | ||
}} | }} | ||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
− | |||
<div>{{#external_value:Description}}</div> | <div>{{#external_value:Description}}</div> | ||
}} | }} |