Template:Media: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 63: | Line 63: | ||
<div class="row mt-5 mb-4"> | <div class="row mt-5 mb-4"> | ||
<div class="col-lg-6 pt-3">{{#if:{{#external_value:pdflink}} | <div class="col-lg-6 pt-3">{{#ifeq: {{#external_value:MediaSeries}} | {{SUBPAGENAME}} | | ||
{{GetMediaSeriesMembers}} | | |||
{{#if:{{#external_value:pdflink}} | |||
|{{#if: {{#external_value:frontcoverimg}} | |||
|<center>[[{{#external_value:frontcoverimg}}|x300px]]</center>|}} | |||
<center>{{InsertMedia|{{#external_value:pdflink}} }}</center> | |||
|{{#if: {{#external_value:StreamingService}} | |||
|{{#ev:{{#switch:{{#external_value:StreamingService}} | |||
|YouTube=youtube | |||
|Vimeo=vimeo | |||
|Vine= | |SoundCloud=soundcloud | ||
|TED Talk=ted | |||
|Vine=vine | |||
}} | |||
|{{#external_value:VideoStreamID}} | |||
|{{#switch:{{#external_value:StreamingService}} | |||
|YouTube= | |||
|Vimeo= | |||
|SoundCloud=750 | |||
|TED Talk= | |||
|Vine= | |||
}} | |||
|left | |||
}} | }} | ||
| | | | ||
}} | }} | ||
}} | }} | ||
}} | }} |