Difference between revisions of "Template:Media"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 56: | Line 56: | ||
<div class="col-lg-9 pr-lg-4">{{#if: {{DrlValue|MediaSeries}} | <div class="col-lg-9 pr-lg-4">{{#if: {{DrlValue|MediaSeries}} | ||
| {{GetMediaSeriesMembers | {{DrlValue|MediaSeries}} | {{#urldecode:{{DrlValue|EncodedDescription}}}} }} | | {{GetMediaSeriesMembers | {{DrlValue|MediaSeries}} | {{#urldecode:{{DrlValue|EncodedDescription}}}} }} | ||
− | | {{# | + | | {{#if: {{DrlValue|StreamingService}} |
− | + | |{{#ev:{{#switch:{{DrlValue|StreamingService}} | |
− | + | |YouTube=youtube | |
− | + | |Vimeo=vimeo | |
− | + | |SoundCloud=soundcloud | |
− | + | |TED Talk=ted | |
− | + | |Vine=vine | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | |{{#ifexist:{{DrlValue|pdflink}} | + | |{{DrlValue|VideoStreamID}} |
− | + | |830{{#ifeq: {{DrlValue|StreamingService}} | SoundCloud |x450 | }} | |
− | + | |center | |
− | + | }} | |
− | + | |{{#ifexist:{{DrlValue|pdflink}} | |
− | + | |{{#if: {{DrlValue|frontcoverimg}} | |
− | + | |<center>[[{{DrlValue|frontcoverimg}}|x300px]]</center> | |
− | + | | | |
− | + | }} | |
− | + | <center>{{InsertMedia|{{PAGENAME}} }}</center> | |
− | + | |{{#if: {{DrlValue|ItemUrl}} | |
− | + | | <div class="float-left mr-4">{{#widget:HTML5AudioWrapper | |
+ | |filepath={{DrlValue|ItemUrl}} | ||
+ | }}</div> | ||
+ | | | ||
}} | }} | ||
}} | }} | ||
− | }}{{#if: {{DrlValue|LocalMediaFile}} | + | }}{{#if: {{DrlValue|LocalMediaFile}} | |
− | |||
{{{!}} class="smwtable-clean mt-4 w-100 border-bottom" | {{{!}} class="smwtable-clean mt-4 w-100 border-bottom" | ||
{{!}}- | {{!}}- |