Difference between revisions of "Template:Media"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 11: Line 11:
 
<div class="bnw-text-watermark">Multimedia</div>
 
<div class="bnw-text-watermark">Multimedia</div>
 
</div></noglossary>{{#if: {{{ MediaEventPage | }}} |
 
</div></noglossary>{{#if: {{{ MediaEventPage | }}} |
<div class="d-flex justify-content-between read-versions mb-4 mt-1">{{#if: {{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}-1}}]]|limit=1|link=none}}
+
<div class="d-flex justify-content-between read-versions mb-4 mt-1">{{#if: {{#external_value:event}}
|[[{{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}-1}}]]|limit=1|link=none}}|<i class="fad fa-arrow-left fa-sm"></i> Previous]]
+
|{{#if: {{#ask:[[MediaEventPage::{{#external_value:event}}]][[MediaNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}-1}}]]|limit=1|link=none}}
|
+
|[[{{#ask:[[MediaEventPage::{{#external_value:event}}]][[MediaNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}-1}}]]|limit=1|link=none}}|<i class="fad fa-arrow-left fa-sm"></i> Previous]]
}}[[{{{ MediaEventPage | }}}]]{{#if: {{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}+1}}]]|limit=1|link=none}}
+
|
|[[{{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}+1}}]]|limit=1|link=none}}|Next <i class="fad fa-arrow-right fa-sm"></i>]]
+
}}[[{{#external_value:event}}]]{{#if: {{#ask:[[MediaEventPage::{{#external_value:event}}]][[MediaNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}+1}}]]|limit=1|link=none}}
|
+
|[[{{#ask:[[MediaEventPage::{{#external_value:event}}]][[MediaNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}+1}}]]|limit=1|link=none}}|Next <i class="fad fa-arrow-right fa-sm"></i>]]
 +
|
 +
}}
 +
|{{#if: {{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}-1}}]]|limit=1|link=none}}
 +
|[[{{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}-1}}]]|limit=1|link=none}}|<i class="fad fa-arrow-left fa-sm"></i> Previous]]
 +
|
 +
}}[[{{{ MediaEventPage | }}}]]{{#if: {{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}+1}}]]|limit=1|link=none}}
 +
|[[{{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}+1}}]]|limit=1|link=none}}|Next <i class="fad fa-arrow-right fa-sm"></i>]]
 +
|
 +
}}
 
}}
 
}}
 +
 +
 +
 +
 +
 
</div> | }}
 
</div> | }}
  

Revision as of 16:11, 6 January 2020