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}} |
|{{#if: {{#external_value:frontcoverimg}}
{{GetMediaSeriesMembers}} |
|<center>[[{{#external_value:frontcoverimg}}|x300px]]</center>|}}
{{#if:{{#external_value:pdflink}}
<center>{{InsertMedia|{{#external_value:pdflink}} }}</center>
|{{#if: {{#external_value:frontcoverimg}}
|{{#if: {{#external_value:StreamingService}}
|<center>[[{{#external_value:frontcoverimg}}|x300px]]</center>|}}
|{{#ev:{{#switch:{{#external_value:StreamingService}}
<center>{{InsertMedia|{{#external_value:pdflink}} }}</center>
|YouTube=youtube
|{{#if: {{#external_value:StreamingService}}
|Vimeo=vimeo
|{{#ev:{{#switch:{{#external_value:StreamingService}}
|SoundCloud=soundcloud
|YouTube=youtube
|TED Talk=ted
|Vimeo=vimeo
|Vine=vine
|SoundCloud=soundcloud
|TED Talk=ted
|Vine=vine
}}
|{{#external_value:VideoStreamID}}
|{{#switch:{{#external_value:StreamingService}}
|YouTube=
|Vimeo=
|SoundCloud=750
|TED Talk=
|Vine=
}}
|left
}}
}}
|{{#external_value:VideoStreamID}}
|
|{{#switch:{{#external_value:StreamingService}}
|YouTube=
|Vimeo=
|SoundCloud=750
|TED Talk=
|Vine=
}}
|left
}}
}}
|
}}
}}
}}
}}

Revision as of 16:17, 15 June 2018