Difference between revisions of "Template:Media"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 17: | Line 17: | ||
<div class="d-flex justify-content-between read-versions mb-4 mt-1">{{#if: {{#external_value:event}} | <div class="d-flex justify-content-between read-versions mb-4 mt-1">{{#if: {{#external_value:event}} | ||
|{{#if: {{#ask:[[Event::{{#external_value:event}}]][[VideoNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}-1}}]]}} | |{{#if: {{#ask:[[Event::{{#external_value:event}}]][[VideoNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}-1}}]]}} | ||
− | |[[{{#ask:[[Event::{{#external_value:event}}]][[VideoNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}-1}}]]|limit=1|link=none}}|<i class="fad fa-arrow-left fa-sm"></i> Previous {{#external_value: | + | |[[{{#ask:[[Event::{{#external_value:event}}]][[VideoNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}-1}}]]|limit=1|link=none}}|<i class="fad fa-arrow-left fa-sm"></i> Previous {{#switch: {{#external_value:BuNayPageType}} |
+ | |Video=Video | ||
+ | |Audio=Audio | ||
+ | |#default=Multimedia | ||
+ | }}]] | ||
| | | | ||
}}[[{{#external_value:event}}]]{{#if: {{#ask:[[Event::{{#external_value:event}}]][[VideoNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}+1}}]]}} | }}[[{{#external_value:event}}]]{{#if: {{#ask:[[Event::{{#external_value:event}}]][[VideoNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}+1}}]]}} | ||
− | |[[{{#ask:[[Event::{{#external_value:event}}]][[VideoNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}+1}}]]|limit=1|link=none}}|Next {{#external_value: | + | |[[{{#ask:[[Event::{{#external_value:event}}]][[VideoNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}+1}}]]|limit=1|link=none}}|Next {{#switch: {{#external_value:BuNayPageType}} |
+ | |Video=Video | ||
+ | |Audio=Audio | ||
+ | |#default=Multimedia | ||
+ | }} <i class="fad fa-arrow-right fa-sm"></i>]] | ||
| | | | ||
}} | }} | ||
|{{#if: {{{ MediaEventPage | }}} | |{{#if: {{{ MediaEventPage | }}} | ||
|{{#if: {{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}-1}}]]}} | |{{#if: {{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}-1}}]]}} | ||
− | |[[{{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}-1}}]]|limit=1|link=none}}|<i class="fad fa-arrow-left fa-sm"></i> Previous {{#external_value: | + | |[[{{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}-1}}]]|limit=1|link=none}}|<i class="fad fa-arrow-left fa-sm"></i> Previous {{#switch: {{#external_value:BuNayPageType}} |
+ | |Video=Video | ||
+ | |Audio=Audio | ||
+ | |#default=Multimedia | ||
+ | }}]] | ||
| | | | ||
}}[[{{{ MediaEventPage | }}}]]{{#if: {{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}+1}}]]}} | }}[[{{{ MediaEventPage | }}}]]{{#if: {{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}+1}}]]}} | ||
− | |[[{{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}+1}}]]|limit=1|link=none}}|Next {{#external_value: | + | |[[{{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}+1}}]]|limit=1|link=none}}|Next {{#switch: {{#external_value:BuNayPageType}} |
+ | |Video=Video | ||
+ | |Audio=Audio | ||
+ | |#default=Multimedia | ||
+ | }} <i class="fad fa-arrow-right fa-sm"></i>]] | ||
| | | | ||
}} | }} |