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