Difference between revisions of "Template:Media"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 16: Line 16:
 
|#default=Multimedia
 
|#default=Multimedia
 
}}</div>
 
}}</div>
<div class="d-flex justify-content-between flex-wrap read-versions mb-4 mt-1">{{#if: {{DrlValue|event}}
+
<div class="d-flex justify-content-between flex-wrap read-versions mb-4 mt-1">{{#if: {{DrlValue|Event}}
|{{#if: {{#ask:[[Event::{{DrlValue|event}}]][[VideoNumberInEvent::{{#expr: {{DrlValue|VideoNumberInEvent}}-1}}]]}}
+
|{{#if: {{#ask:[[Event::{{DrlValue|Event}}]][[VideoNumberInEvent::{{#expr: {{DrlValue|VideoNumberInEvent}}-1}}]]}}
|[[{{#ask:[[Event::{{DrlValue|event}}]][[VideoNumberInEvent::{{#expr: {{DrlValue|VideoNumberInEvent}}-1}}]]|limit=1|link=none}}|<i class="fad fa-arrow-left fa-sm"></i> Previous {{#switch: {{DrlValue|BuNayPageType}}
+
|[[{{#ask:[[Event::{{DrlValue|Event}}]][[VideoNumberInEvent::{{#expr: {{DrlValue|VideoNumberInEvent}}-1}}]]|limit=1|link=none}}|<i class="fad fa-arrow-left fa-sm"></i> Previous {{#switch: {{DrlValue|BuNayPageType}}
 
|Video=Video
 
|Video=Video
 
|Audio=Audio
 
|Audio=Audio
Line 24: Line 24:
 
}}]]
 
}}]]
 
|
 
|
}}[[{{DrlValue|event}}|<div class="clipped-1-line" style="max-width: 450px;">{{DrlValue|event}}</div>]]{{#if: {{#ask:[[Event::{{DrlValue|event}}]][[VideoNumberInEvent::{{#expr: {{DrlValue|VideoNumberInEvent}}+1}}]]}}
+
}}[[{{DrlValue|Event}}|<div class="clipped-1-line" style="max-width: 450px;">{{DrlValue|Event}}</div>]]{{#if: {{#ask:[[Event::{{DrlValue|Event}}]][[VideoNumberInEvent::{{#expr: {{DrlValue|VideoNumberInEvent}}+1}}]]}}
|[[{{#ask:[[Event::{{DrlValue|event}}]][[VideoNumberInEvent::{{#expr: {{DrlValue|VideoNumberInEvent}}+1}}]]|limit=1|link=none}}|Next {{#switch: {{DrlValue|BuNayPageType}}
+
|[[{{#ask:[[Event::{{DrlValue|Event}}]][[VideoNumberInEvent::{{#expr: {{DrlValue|VideoNumberInEvent}}+1}}]]|limit=1|link=none}}|Next {{#switch: {{DrlValue|BuNayPageType}}
 
|Video=Video
 
|Video=Video
 
|Audio=Audio
 
|Audio=Audio
Line 192: Line 192:
 
{{!}}-
 
{{!}}-
 
! Includes Subtitles
 
! Includes Subtitles
{{!}} Yes | }}{{#if: {{DrlValue|event}} |<br>
+
{{!}} Yes | }}{{#if: {{DrlValue|Event}} |<br>
 
{{!}}-
 
{{!}}-
 
! Event
 
! Event
{{!}} {{DrlValue|event}} ({{DrlValue|eventdate}}{{#if: {{DrlValue|location}} |, {{DrlValue|location}}|}}) | }}{{#if: {{DrlValue|MediaSeries}} |<br>
+
{{!}} {{DrlValue|Event}} ({{DrlValue|Eventdate}}{{#if: {{DrlValue|location}} |, {{DrlValue|location}}|}}) | }}{{#if: {{DrlValue|MediaSeries}} |<br>
 
{{!}}-
 
{{!}}-
 
! Media Series
 
! Media Series
Line 233: Line 233:
 
}}{{#if: {{DrlValue|VideoTotalNumberInEvent}} | {{#ifexpr: {{DrlValue|VideoTotalNumberInEvent}}>2 |
 
}}{{#if: {{DrlValue|VideoTotalNumberInEvent}} | {{#ifexpr: {{DrlValue|VideoTotalNumberInEvent}}>2 |
 
{{VideosInEvent
 
{{VideosInEvent
|event={{DrlValue|event}}
+
|event={{DrlValue|Event}}
 
}} | }} | }}<!--
 
}} | }} | }}<!--
 
{{RelatedVideo
 
{{RelatedVideo
Line 293: Line 293:
 
|translator={{DrlValue|translator}}
 
|translator={{DrlValue|translator}}
 
|contributors={{DrlValue|contributors}}
 
|contributors={{DrlValue|contributors}}
|event={{DrlValue|event}}
+
|event={{DrlValue|Event}}
|eventdate={{DrlValue|eventdate}}
+
|eventdate={{DrlValue|Eventdate}}
 
|location={{DrlValue|location}}
 
|location={{DrlValue|location}}
 
|MediaSeries={{DrlValue|MediaSeries}}
 
|MediaSeries={{DrlValue|MediaSeries}}

Revision as of 22:16, 5 September 2023