Difference between revisions of "Template:Media"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>__NOTOC__{{#get_web_data:
+
<includeonly>__NOTOC__{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#ifsysop: {{#if: {{{ MediaNotes | {{GetMediaValue|BuNayNotes}} }}} | {{#widget:BootstrapAlert|color=warning|title=Buddha-nature Notes|text={{{ MediaNotes | {{GetMediaValue|BuNayNotes}} }}} }} | }} | }}
url=https://research.tsadra.org/index.php?title=Special%3AAsk&q=[[{{SUBPAGENAMEE}}]]&po=BuNayFeatured%0ABuNayTitle%0ABuNayPageType%0ABuNayRelevance%0ABuNayLevel%0ABuNayApproach%0ABuNayKarlDescription%0ABuNaySourceInfo%0ABuNayRating%0ABuNayMediaQual%0ABuNayInteractive%0ABuNayCopyright%0ABuNayNotes%0ABuNayKanoAvailable%0ABuNayKanoCitation%0Acitation%0ACreator%0ADescription%0AFulltitle%0AItemUrl%0AMediaContentType%0AMediaLocation%0APerformer%0AStreamingService%0AVideoStreamID%0AWebsite%0AWebsiteName%0Adirector%0Aproducer%0ADrlPublisher%0Atranslator%0Acontributors%0Aevent%0Aeventdate%0Alocation%0AMediaSeries%0Avolumenumber%0Atotalvolumes%0AMediaCreationDate%0Aduration%0Amediaformat%0Aorganization%0Acopyright%0Arelatedpages%0Afrontcoverimg%0AWebsiteLabel%0ABuNayGrade%0Asubtitle%0Asubclass%0Apdflink%0ABuNayTopicTags%0ACreatorRaw%0APerformerRaw%0Aabstract%0AVideoNumberInEvent%0AVideoTotalNumberInEvent%0ATibetanContent%0ATibetanTitle%0ATibetanDescription%0Alanguage%0ALocalMediaFile&p[format]=csv&p[sep]=,
 
|format=csv with header
 
|data=BuNayFeatured=BuNayFeatured,BuNayTitle=BuNayTitle,BuNayPageType=BuNayPageType,BuNayRelevance=BuNayRelevance,BuNayLevel=BuNayLevel,BuNayApproach=BuNayApproach,BuNayKarlDescription=BuNayKarlDescription,BuNaySourceInfo=BuNaySourceInfo,BuNayRating=BuNayRating,BuNayMediaQual=BuNayMediaQual,BuNayInteractive=BuNayInteractive,BuNayCopyright=BuNayCopyright,BuNayNotes=BuNayNotes,BuNayKanoAvailable=BuNayKanoAvailable,BuNayKanoCitation=BuNayKanoCitation,citation=citation,Creator=Creator,Description=Description,Fulltitle=Fulltitle,ItemUrl=ItemUrl,MediaContentType=MediaContentType,MediaLocation=MediaLocation,Performer=Performer,StreamingService=StreamingService,VideoStreamID=VideoStreamID,Website=Website,WebsiteName=WebsiteName,director=director,producer=producer,DrlPublisher=DrlPublisher,translator=translator,contributors=contributors,event=event,eventdate=eventdate,location=location,MediaSeries=MediaSeries,volumenumber=volumenumber,totalvolumes=totalvolumes,MediaCreationDate=MediaCreationDate,duration=duration,mediaformat=mediaformat,organization=organization,copyright=copyright,relatedpages=relatedpages,frontcoverimg=frontcoverimg,WebsiteLabel=WebsiteLabel,BuNayGrade=BuNayGrade,subtitle=subtitle,subclass=subclass,pdflink=pdflink,BuNayTopicTags=BuNayTopicTags,CreatorRaw=CreatorRaw,PerformerRaw=PerformerRaw,abstract=abstract,VideoNumberInEvent=VideoNumberInEvent,VideoTotalNumberInEvent=VideoTotalNumberInEvent,TibetanContent=TibetanContent,TibetanTitle=TibetanTitle,TibetanDescription=TibetanDescription,language=language,LocalMediaFile=LocalMediaFile
 
}}{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#ifsysop: {{#if: {{{ MediaNotes | {{#external_value:BuNayNotes}} }}} | {{#widget:BootstrapAlert|color=warning|title=Buddha-nature Notes|text={{{ MediaNotes | {{#external_value:BuNayNotes}} }}} }} | }} | }}
 
 
<div class="bnw-video-page">
 
<div class="bnw-video-page">
  
{{TopSysopLinks|research|Media}}<!--{{TopLevelModule|{{#external_value:BuNayGrade}}}}--><noglossary>
+
{{TopSysopLinks|research|Media}}<!--{{TopLevelModule|{{GetMediaValue|BuNayGrade}}}}--><noglossary>
 
<div class="h1 d-flex justify-content-between align-items-end pb-1 mb-1">
 
<div class="h1 d-flex justify-content-between align-items-end pb-1 mb-1">
<div class="mr-2 text-90">{{#if: {{#external_value:BuNayTitle}} | {{#external_value:BuNayTitle}} | {{SUBPAGENAME}} }}</div>
+
<div class="mr-2 text-90">{{#if: {{GetMediaValue|BuNayTitle}}
<div class="d-none d-md-block bnw-text-watermark">{{#switch: {{#external_value:BuNayPageType}}
+
| {{GetMediaValue|BuNayTitle}}
 +
| {{SUBPAGENAME}}
 +
}}{{#if: {{GetMediaValue|VideoNumberInEvent}}
 +
|&nbsp;- {{GetMediaValue|VideoNumberInEvent}}{{#if: {{GetMediaValue|VideoTotalNumberInEvent}}
 +
|&nbsp;of {{GetMediaValue|VideoTotalNumberInEvent}}
 +
|
 +
}}
 +
|
 +
}}</div>
 +
<div class="d-none d-md-block bnw-text-watermark">{{#switch: {{GetMediaValue|BuNayPageType}}
 
|Video=Video
 
|Video=Video
 
|Audio=Audio
 
|Audio=Audio
Line 15: Line 20:
 
}}</div>
 
}}</div>
 
</div></noglossary>
 
</div></noglossary>
<div class="d-md-none text-left bnw-text-watermark">{{#switch: {{#external_value:BuNayPageType}}
+
<div class="d-md-none text-left bnw-text-watermark">{{#switch: {{GetMediaValue|BuNayPageType}}
 
|Video=Video
 
|Video=Video
 
|Audio=Audio
 
|Audio=Audio
 
|#default=Multimedia
 
|#default=Multimedia
 
}}</div>
 
}}</div>
<div class="d-flex justify-content-between flex-wrap read-versions mb-4 mt-1">{{#if: {{#external_value:event}}
+
<div class="d-flex justify-content-between flex-wrap read-versions mb-4 mt-1">{{#if: {{GetMediaValue|Event}}
|{{#if: {{#ask:[[Event::{{#external_value:event}}]][[VideoNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}-1}}]]}}
+
|{{#if: {{#ask:[[Event::{{GetMediaValue|Event}}]][[VideoNumberInEvent::{{#expr: {{GetMediaValue|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 {{#switch: {{#external_value:BuNayPageType}}
+
|[[{{#ask:[[Event::{{GetMediaValue|Event}}]][[VideoNumberInEvent::{{#expr: {{GetMediaValue|VideoNumberInEvent}}-1}}]]|limit=1|link=none}}|<i class="fad fa-arrow-left fa-sm"></i> Previous {{#switch: {{GetMediaValue|BuNayPageType}}
 
|Video=Video
 
|Video=Video
 
|Audio=Audio
 
|Audio=Audio
Line 28: Line 33:
 
}}]]
 
}}]]
 
|
 
|
}}[[{{#external_value:event}}|<div class="clipped-1-line" style="max-width: 450px;">{{#external_value:event}}</div>]]{{#if: {{#ask:[[Event::{{#external_value:event}}]][[VideoNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}+1}}]]}}
+
}}[[{{GetMediaValue|Event}}|<div class="clipped-1-line" style="max-width: 450px;">{{GetMediaValue|Event}}</div>]]{{#if: {{#ask:[[Event::{{GetMediaValue|Event}}]][[VideoNumberInEvent::{{#expr: {{GetMediaValue|VideoNumberInEvent}}+1}}]]}}
|[[{{#ask:[[Event::{{#external_value:event}}]][[VideoNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}+1}}]]|limit=1|link=none}}|Next {{#switch: {{#external_value:BuNayPageType}}
+
|[[{{#ask:[[Event::{{GetMediaValue|Event}}]][[VideoNumberInEvent::{{#expr: {{GetMediaValue|VideoNumberInEvent}}+1}}]]|limit=1|link=none}}|Next {{#switch: {{GetMediaValue|BuNayPageType}}
 
|Video=Video
 
|Video=Video
 
|Audio=Audio
 
|Audio=Audio
Line 38: Line 43:
 
|{{#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 {{#switch: {{#external_value:BuNayPageType}}
+
|[[{{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}-1}}]]|limit=1|link=none}}|<i class="fad fa-arrow-left fa-sm"></i> Previous {{#switch: {{GetMediaValue|BuNayPageType}}
 
|Video=Video
 
|Video=Video
 
|Audio=Audio
 
|Audio=Audio
Line 45: Line 50:
 
|
 
|
 
}}[[{{{ 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 {{#switch: {{#external_value:BuNayPageType}}
+
|[[{{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}+1}}]]|limit=1|link=none}}|Next {{#switch: {{GetMediaValue|BuNayPageType}}
 
|Video=Video
 
|Video=Video
 
|Audio=Audio
 
|Audio=Audio
Line 58: Line 63:
  
 
<div class="row mt-5 mb-5 sticky-container">
 
<div class="row mt-5 mb-5 sticky-container">
<div class="col-lg-9 pr-lg-4">{{#if: {{#external_value:MediaSeries}}  
+
<div class="col-lg-9 pr-lg-4">{{#if: {{GetMediaValue|MediaSeries}}  
| {{GetMediaSeriesMembers | {{#external_value:MediaSeries}} | {{#external_value:Description}} }}   
+
| {{GetMediaSeriesMembers | {{GetMediaValue|MediaSeries}} | {{GetMediaValue|Description}} }}   
| {{#ifeq: {{#external_value:StreamingService}} | YouTube |
+
| {{#if: {{GetMediaValue|StreamingService}}
<!-- (1) video wrapper -->
+
|{{#ev:{{#switch:{{GetMediaValue|StreamingService}}
<div class="youtube" data-embed="{{#external_value:VideoStreamID}}">
+
|YouTube=youtube
+
|Vimeo=vimeo
    <!-- (2) the "play" button -->
+
|SoundCloud=soundcloud
    <div class="play-button"></div>
+
|TED Talk=ted
   
+
|Vine=vine
</div>
+
}}
| {{#if: {{#external_value:StreamingService}}
+
|{{GetMediaValue|VideoStreamID}}
|{{#ev:{{#switch:{{#external_value:StreamingService}}
+
|830{{#ifeq: {{GetMediaValue|StreamingService}} | SoundCloud |x450 | }}
|YouTube=youtube
+
|center
|Vimeo=vimeo
+
}}
|SoundCloud=soundcloud
+
|{{#ifexist:{{GetMediaValue|pdflink}}
|TED Talk=ted
+
|{{#if: {{GetMediaValue|frontcoverimg}}
|Vine=vine
+
|<center>[[{{GetMediaValue|frontcoverimg}}|x300px]]</center>
}}
+
|
|{{#external_value:VideoStreamID}}
 
|830{{#ifeq: {{#external_value:StreamingService}} | SoundCloud |x450 | }}
 
|center
 
 
}}
 
}}
|{{#ifexist:{{#external_value:pdflink}}
+
<center>{{InsertMedia|{{PAGENAME}} }}</center>
|{{#if: {{#external_value:frontcoverimg}}
+
|{{#if: {{GetMediaValue|ItemUrl}}
|<center>[[{{#external_value:frontcoverimg}}|x300px]]</center>
+
| <div class="float-left mr-4">{{#widget:HTML5AudioWrapper
|
+
|filepath={{GetMediaValue|ItemUrl}}
}}
+
}}</div>
<center>{{InsertMedia|{{PAGENAME}} }}</center>
+
|
|{{#if: {{#external_value:ItemUrl}}
 
| <div class="float-left mr-4">{{#widget:HTML5AudioWrapper
 
|filepath={{#external_value:ItemUrl}}
 
}}</div>
 
|
 
}}
 
 
}}
 
}}
 
}}
 
}}
}}{{#if: {{#external_value:LocalMediaFile}}
+
}}{{#if: {{GetMediaValue|LocalMediaFile}} |
|Listen to Audio Only or Download mp3: [[{{#external_value:LocalMediaFile}}]]
+
{{{!}} class="smwtable-clean mt-4 w-100 border-bottom"
 +
{{!}}-
 +
{{!}} Listen to audio only or download mp3:  
 +
{{!}} [[{{GetMediaValue|LocalMediaFile}}]]
 +
{{!}}}
 
|
 
|
 
}}
 
}}
  
{{#if: {{{ TileDescription | }}} | | <div class="mt-3">{{#external_value:Description}}</div> }}
+
{{#if: {{{ TileDescription | }}} | | <div class="mt-3 p-bl-fix">
 +
{{GetMediaValue|Description}}</div> }}
 
}}{{#if: {{{ TileDescription | }}} |
 
}}{{#if: {{{ TileDescription | }}} |
  
Line 107: Line 108:
 
<div class="col-md-10">{{{ TileDescription | }}}</div>
 
<div class="col-md-10">{{{ TileDescription | }}}</div>
 
</div>
 
</div>
</div> | }}{{#if: {{#external_value:abstract}} |
+
</div> | }}{{#if: {{GetMediaValue|abstract}} |
  
 
<h3 class="font-italic border-0 mt-4 mb-1 p-0 text-120">Abstract from the Author</h3>
 
<h3 class="font-italic border-0 mt-4 mb-1 p-0 text-120">Abstract from the Author</h3>
<div class="h3 mb-4">{{#external_value:Fulltitle}}</div>
+
<div class="h3 mb-4">{{GetMediaValue|Fulltitle}}</div>
  
<div class="drop-cap">
+
<div>
{{#external_value:abstract}}</div> | }}{{#if: {{{ RelatedWritings | }}}{{{ MoreWikipediaSource | }}} |
+
{{GetMediaValue|abstract}}</div> | }}{{#if: {{{ RelatedWritings | }}}{{{ MoreWikipediaSource | }}} |
  
 
<h3 class="mt-5">Sources Mentioned</h3>
 
<h3 class="mt-5">Sources Mentioned</h3>
Line 158: Line 159:
 
{{{ BnwVideoFeaturedContent | }}} | }}
 
{{{ BnwVideoFeaturedContent | }}} | }}
  
<h3 class="link-no-border mt-5">About the {{#switch: {{#external_value:BuNayPageType}}
+
<h3 class="link-no-border mt-5">About the {{#switch: {{GetMediaValue|BuNayPageType}}
 
|Video=video
 
|Video=video
 
|Audio=recording
 
|Audio=recording
Line 164: Line 165:
 
}}</h3>
 
}}</h3>
  
{| class="table table-responsive mt-4 nowrap-th" {{#if: {{#external_value:PerformerRaw}} |
+
{| class="table table-responsive mt-4 nowrap-th" {{#if: {{GetMediaValue|PerformerRaw}} |
 
{{!}}-
 
{{!}}-
 
! Featuring
 
! Featuring
{{!}} {{#arraymap: {{#if: {{{ PerformerOverwrite | }}} | {{{ PerformerOverwrite | }}} | {{#external_value:PerformerRaw}} }}
+
{{!}} {{#arraymap: {{#if: {{{ PerformerOverwrite | }}} | {{{ PerformerOverwrite | }}} | {{GetMediaValue|PerformerRaw}} }}
 
|;
 
|;
 
|@@@
 
|@@@
Line 175: Line 176:
 
}}
 
}}
 
|,&nbsp;
 
|,&nbsp;
}} | }}{{#if: {{#external_value:CreatorRaw}} |<br>
+
}} | }}{{#if: {{GetMediaValue|CreatorRaw}} |<br>
 
{{!}}-
 
{{!}}-
 
! Creator
 
! Creator
{{!}} {{#arraymap: {{#external_value:CreatorRaw}}
+
{{!}} {{#arraymap: {{GetMediaValue|CreatorRaw}}
 
|;
 
|;
 
|@@@
 
|@@@
 
|@@@
 
|@@@
 
|,&nbsp;
 
|,&nbsp;
}} | }}{{#if: {{#external_value:director}} |<br>
+
}} | }}{{#if: {{GetMediaValue|director}} |<br>
 
{{!}}-
 
{{!}}-
 
! Director
 
! Director
{{!}} {{#external_value:director}} | }}{{#if: {{#external_value:producer}} |<br>
+
{{!}} {{GetMediaValue|director}} | }}{{#if: {{GetMediaValue|producer}} |<br>
 
{{!}}-
 
{{!}}-
 
! Producer
 
! Producer
{{!}} {{#external_value:producer}} | }}{{#if: {{#external_value:DrlPublisher}} |<br>
+
{{!}} {{GetMediaValue|producer}} | }}{{#if: {{GetMediaValue|DrlPublisher}} |<br>
 
{{!}}-
 
{{!}}-
 
! Publisher
 
! Publisher
{{!}} {{#external_value:DrlPublisher}} | }}{{#if: {{#external_value:translator}} |<br>
+
{{!}} {{GetMediaValue|DrlPublisher}} | }}{{#if: {{GetMediaValue|translator}} |<br>
 
{{!}}-
 
{{!}}-
 
! Translator
 
! Translator
{{!}} {{#external_value:translator}} | }}{{#if: {{#external_value:contributors}} |<br>
+
{{!}} {{GetMediaValue|translator}} | }}{{#if: {{GetMediaValue|contributors}} |<br>
 
{{!}}-
 
{{!}}-
 
! Contributors
 
! Contributors
{{!}} {{#external_value:contributors}} | }}{{#ifeq: {{#external_value:subtitle}} | true |<br>
+
{{!}} {{GetMediaValue|contributors}} | }}{{#ifeq: {{GetMediaValue|subtitle}} | true |<br>
 
{{!}}-
 
{{!}}-
 
! Includes Subtitles
 
! Includes Subtitles
{{!}} Yes | }}{{#if: {{#external_value:event}} |<br>
+
{{!}} Yes | }}{{#if: {{GetMediaValue|Event}} |<br>
 
{{!}}-
 
{{!}}-
 
! Event
 
! Event
{{!}} {{#external_value:event}} ({{#external_value:eventdate}}{{#if: {{#external_value:location}} |, {{#external_value:location}}|}}) | }}{{#if: {{#external_value:MediaSeries}} |<br>
+
{{!}} {{GetMediaValue|Event}} ({{GetMediaValue|Eventdate}}{{#if: {{GetMediaValue|location}} |, {{GetMediaValue|location}}|}}) | }}{{#if: {{GetMediaValue|MediaSeries}} |<br>
 
{{!}}-
 
{{!}}-
 
! Media Series
 
! Media Series
{{!}} {{#external_value:MediaSeries}}{{#if: {{#external_value:totalvolumes}}  
+
{{!}} {{GetMediaValue|MediaSeries}}{{#if: {{GetMediaValue|totalvolumes}}  
|<br>{{#external_value:totalvolumes}} Parts/Tracks
+
|<br>{{GetMediaValue|totalvolumes}} Parts/Tracks
 
|
 
|
 
}}
 
}}
 
|
 
|
}}{{#if: {{#external_value:WebsiteName}} |<br>
+
}}{{#if: {{GetMediaValue|WebsiteName}} |<br>
 
{{!}}-
 
{{!}}-
 
! Related Website
 
! Related Website
{{!}} {{#external_value:WebsiteName}} | }}{{#if: {{#external_value:Website}}{{#external_value:WebsiteLabel}} |<br>
+
{{!}} {{GetMediaValue|WebsiteName}} | }}{{#if: {{GetMediaValue|Website}}{{GetMediaValue|WebsiteLabel}} |<br>
 
{{!}}-
 
{{!}}-
 
! Video Web Location
 
! Video Web Location
{{!}} {{#if: {{#external_value:WebsiteLabel}}
+
{{!}} {{#if: {{GetMediaValue|WebsiteLabel}}
| [{{#external_value:Website}} {{#external_value:WebsiteLabel}}]
+
| [{{GetMediaValue|Website}} {{GetMediaValue|WebsiteLabel}}]
| {{#external_value:Website}}
+
| {{GetMediaValue|Website}}
}} | }}{{#if: {{#external_value:MediaCreationDate}} | <br>
+
}} | }}{{#if: {{GetMediaValue|MediaCreationDate}} | <br>
 
{{!}}-
 
{{!}}-
 
! Creation Date
 
! Creation Date
{{!}} {{#external_value:MediaCreationDate}} | }}
+
{{!}} {{GetMediaValue|MediaCreationDate}} | }}
 
|-
 
|-
 
! Citation
 
! Citation
| {{#if: {{{ CitationOverride | }}} | {{{ CitationOverride | }}} | {{#external_value:citation}} }}
+
| {{#if: {{{ CitationOverride | }}} | {{{ CitationOverride | }}} | {{GetMediaValue|citation}} }}
 
|}
 
|}
  
Line 233: Line 234:
 
{{StickySideBar
 
{{StickySideBar
 
|columns=3<!--
 
|columns=3<!--
|BuNayGrade={{#external_value:BuNayGrade}}-->
+
|BuNayGrade={{GetMediaValue|BuNayGrade}}-->
|BuNayPageType={{#external_value:BuNayPageType}}
+
|BuNayPageType={{GetMediaValue|BuNayPageType}}
|Performer={{#if: {{{ PerformerOverwrite | }}} | {{{ PerformerOverwrite | }}} | {{#external_value:PerformerRaw}} }}
+
|Performer={{#if: {{{ PerformerOverwrite | }}} | {{{ PerformerOverwrite | }}} | {{GetMediaValue|PerformerRaw}} }}
|DrlPublisher={{#external_value:DrlPublisher}}
+
|DrlPublisher={{GetMediaValue|DrlPublisher}}
 
|RelatedContent=
 
|RelatedContent=
 
{{SidebarTopicsList
 
{{SidebarTopicsList
|topics={{#external_value:BuNayTopicTags}}
+
|topics={{GetMediaValue|BuNayTopicTags}}
}}{{#if: {{#external_value:VideoTotalNumberInEvent}} | {{#ifexpr: {{#external_value:VideoTotalNumberInEvent}}>2 |
+
}}{{#if: {{GetMediaValue|VideoTotalNumberInEvent}} | {{#ifexpr: {{GetMediaValue|VideoTotalNumberInEvent}}>2 |
 
{{VideosInEvent
 
{{VideosInEvent
|event={{#external_value:event}}
+
|event={{GetMediaValue|Event}}
 
}} | }} | }}<!--
 
}} | }} | }}<!--
 
{{RelatedVideo
 
{{RelatedVideo
Line 260: Line 261:
 
</div>
 
</div>
  
<div class="clearfix"></div>{{#if: {{#external_value:BuNayRelevance}} |
+
<div class="clearfix"></div>{{#if: {{GetMediaValue|BuNayRelevance}} |
  
 
<blockquote>
 
<blockquote>
<i>{{#external_value:BuNayRelevance}}</i>
+
<i>{{GetMediaValue|BuNayRelevance}}</i>
 
</blockquote> | }}
 
</blockquote> | }}
  
 
</div>{{#set:
 
</div>{{#set:
Abstract={{#external_value:abstract}}
+
Abstract={{GetMediaValue|abstract}}
|BuNayFeatured={{#external_value:BuNayFeatured}}
+
|BuNayFeatured={{GetMediaValue|BuNayFeatured}}
|BuNayTitle={{#external_value:BuNayTitle}}
+
|BuNayTitle={{GetMediaValue|BuNayTitle}}
|BuNayPageType={{#external_value:BuNayPageType}}
+
|BuNayPageType={{GetMediaValue|BuNayPageType}}
|BuNayRelevance={{#external_value:BuNayRelevance}}
+
|BuNayRelevance={{GetMediaValue|BuNayRelevance}}
|BuNayLevel={{#external_value:BuNayLevel}}|+sep=,
+
|BuNayLevel={{GetMediaValue|BuNayLevel}}|+sep=,
|BuNayGrade={{{ BuNayGrade | {{#external_value:BuNayGrade}} }}}
+
|BuNayGrade={{{ BuNayGrade | {{GetMediaValue|BuNayGrade}} }}}
|BuNayApproach={{#external_value:BuNayApproach}}|+sep=,
+
|BuNayApproach={{GetMediaValue|BuNayApproach}}|+sep=,
|BuNayKarlDescription={{#external_value:BuNayKarlDescription}}
+
|BuNayKarlDescription={{GetMediaValue|BuNayKarlDescription}}
|BuNaySourceInfo={{#external_value:BuNaySourceInfo}}
+
|BuNaySourceInfo={{GetMediaValue|BuNaySourceInfo}}
|BuNayRating={{#external_value:BuNayRating}}
+
|BuNayRating={{GetMediaValue|BuNayRating}}
|BuNayMediaQual={{#external_value:BuNayMediaQual}}
+
|BuNayMediaQual={{GetMediaValue|BuNayMediaQual}}
|BuNayInteractive={{#external_value:BuNayInteractive}}
+
|BuNayInteractive={{GetMediaValue|BuNayInteractive}}
|BuNayCopyright={{#external_value:BuNayCopyright}}
+
|BuNayCopyright={{GetMediaValue|BuNayCopyright}}
|BuNayNotes={{{ MediaNotes | {{#external_value:BuNayNotes}} }}}
+
|BuNayNotes={{{ MediaNotes | {{GetMediaValue|BuNayNotes}} }}}
|BuNayKanoAvailable={{#external_value:BuNayKanoAvailable}}
+
|BuNayKanoAvailable={{GetMediaValue|BuNayKanoAvailable}}
|BuNayKanoCitation={{#external_value:BuNayKanoCitation}}
+
|BuNayKanoCitation={{GetMediaValue|BuNayKanoCitation}}
|citation={{#external_value:citation}}
+
|citation={{GetMediaValue|citation}}
|Creator={{#external_value:CreatorRaw}}
+
|Creator={{GetMediaValue|CreatorRaw}}
|Description={{#external_value:Description}}
+
|Description={{GetMediaValue|Description}}
|Fulltitle={{#external_value:Fulltitle}}
+
|Fulltitle={{GetMediaValue|Fulltitle}}
|ItemUrl={{#external_value:ItemUrl}}
+
|ItemUrl={{GetMediaValue|ItemUrl}}
|MediaContentType={{#external_value:MediaContentType}}
+
|MediaContentType={{GetMediaValue|MediaContentType}}
|MediaLocation={{#external_value:MediaLocation}}
+
|MediaLocation={{GetMediaValue|MediaLocation}}
|Performer={{#external_value:PerformerRaw}}|+sep=;
+
|Performer={{GetMediaValue|PerformerRaw}}|+sep=;
|PerformerRaw={{#external_value:PerformerRaw}}
+
|PerformerRaw={{GetMediaValue|PerformerRaw}}
|StreamingService={{#external_value:StreamingService}}
+
|StreamingService={{GetMediaValue|StreamingService}}
|VideoStreamID={{#external_value:VideoStreamID}}
+
|VideoStreamID={{GetMediaValue|VideoStreamID}}
|Website={{#external_value:Website}}
+
|Website={{GetMediaValue|Website}}
|WebsiteName={{#external_value:WebsiteName}}
+
|WebsiteName={{GetMediaValue|WebsiteName}}
|director={{#external_value:director}}
+
|director={{GetMediaValue|director}}
|producer={{#external_value:producer}}
+
|producer={{GetMediaValue|producer}}
|BuNayPublisher={{#external_value:DrlPublisher}}
+
|BuNayPublisher={{GetMediaValue|DrlPublisher}}
|translator={{#external_value:translator}}
+
|translator={{GetMediaValue|translator}}
|contributors={{#external_value:contributors}}
+
|contributors={{GetMediaValue|contributors}}
|event={{#external_value:event}}
+
|Event={{GetMediaValue|Event}}
|eventdate={{#external_value:eventdate}}
+
|eventdate={{GetMediaValue|Eventdate}}
|location={{#external_value:location}}
+
|location={{GetMediaValue|location}}
|MediaSeries={{#external_value:MediaSeries}}
+
|MediaSeries={{GetMediaValue|MediaSeries}}
|volumenumber={{#external_value:volumenumber}}
+
|volumenumber={{GetMediaValue|volumenumber}}
|totalvolumes={{#external_value:totalvolumes}}
+
|totalvolumes={{GetMediaValue|totalvolumes}}
|MediaCreationDate={{#external_value:MediaCreationDate}}
+
|MediaCreationDate={{GetMediaValue|MediaCreationDate}}
|Pubdate={{#external_value:MediaCreationDate}}
+
|Pubdate={{GetMediaValue|MediaCreationDate}}
|duration={{#external_value:duration}}
+
|duration={{GetMediaValue|duration}}
|mediaformat={{#external_value:mediaformat}}
+
|mediaformat={{GetMediaValue|mediaformat}}
|organization={{#external_value:organization}}
+
|organization={{GetMediaValue|organization}}
|copyright={{#external_value:copyright}}
+
|copyright={{GetMediaValue|copyright}}
|relatedpages={{#external_value:relatedpages}}
+
|relatedpages={{GetMediaValue|relatedpages}}
|frontcoverimg={{#if: {{{ frontcoverimg | }}} | {{{ frontcoverimg | }}} | {{#external_value:frontcoverimg}} }}
+
|frontcoverimg={{#if: {{{ frontcoverimg | }}} | {{{ frontcoverimg | }}} | {{GetMediaValue|frontcoverimg}} }}
|WebsiteLabel={{#external_value:WebsiteLabel}}
+
|WebsiteLabel={{GetMediaValue|WebsiteLabel}}
|subtitle={{#external_value:subtitle}}
+
|subtitle={{GetMediaValue|subtitle}}
|subclass={{#external_value:subclass}}
+
|subclass={{GetMediaValue|subclass}}
|pdflink={{#external_value:pdflink}}
+
|pdflink={{GetMediaValue|pdflink}}
 
|ExtraCategories={{{ ExtraCategories | }}}
 
|ExtraCategories={{{ ExtraCategories | }}}
|ValuesToRedirect={{SUBPAGENAME}};{{#external_value:BuNayTitle}};{{#external_value:Fulltitle}};{{#external_value:MediaSeries}}
+
|ValuesToRedirect={{SUBPAGENAME}};{{GetMediaValue|BuNayTitle}};{{GetMediaValue|Fulltitle}};{{GetMediaValue|MediaSeries}}
|People={{#arraymap: {{#external_value:CreatorRaw}}; {{#external_value:PerformerRaw}}; {{#external_value:director}}; {{#external_value:translator}}; {{#external_value:contributors}}
+
|People={{#arraymap: {{GetMediaValue|CreatorRaw}}; {{GetMediaValue|PerformerRaw}}; {{GetMediaValue|director}}; {{GetMediaValue|translator}}; {{GetMediaValue|contributors}}
 
|;
 
|;
 
|@@@
 
|@@@
Line 328: Line 329:
 
|;
 
|;
 
}}|+sep=;
 
}}|+sep=;
|Titles={{#external_value:BuNayTitle}}; {{#external_value:Fulltitle}}; {{#external_value:MediaSeries}}; {{#external_value:subtitle}}; {{SUBPAGENAME}}
+
|Titles={{GetMediaValue|BuNayTitle}}; {{GetMediaValue|Fulltitle}}; {{GetMediaValue|MediaSeries}}; {{GetMediaValue|subtitle}}; {{SUBPAGENAME}}
|BuNayTopicTags={{#external_value:BuNayTopicTags}}|+sep=;
+
|BuNayTopicTags={{#arraymap:{{GetMediaValue|BuNayTopicTags}}|;|@@@|@@@|;}}|+sep=;
 
|TileDescription={{#if: {{{ TileDescription | }}}
 
|TileDescription={{#if: {{{ TileDescription | }}}
 
| {{{ TileDescription | }}}
 
| {{{ TileDescription | }}}
| {{#if: {{#external_value:Description}}  
+
| {{#if: {{GetMediaValue|Description}}  
| {{#external_value:Description}}
+
| {{GetMediaValue|Description}}
| ''{{#external_value:citation}}''
+
| ''{{GetMediaValue|citation}}''
 
}}
 
}}
 
}}
 
}}
Line 351: Line 352:
 
| {{#if: {{{ PerformerOverwrite | }}}  
 
| {{#if: {{{ PerformerOverwrite | }}}  
 
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ PerformerOverwrite | }}}|;}}|?FirstImage#}}}}}}
 
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ PerformerOverwrite | }}}|;}}|?FirstImage#}}}}}}
| {{#ifexist: {{FirstValueOfArray|{{#external_value:PerformerRaw}}|;}}
+
| {{#ifexist: {{FirstValueOfArray|{{GetMediaValue|PerformerRaw}}|;}}
|{{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{#external_value:PerformerRaw}}|;}}|?FirstImage#}}}}}}  
+
|{{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{GetMediaValue|PerformerRaw}}|;}}|?FirstImage#}}}}}}  
 
|Media.jpeg
 
|Media.jpeg
 
}}
 
}}
 
}}
 
}}
 
}}
 
}}
|VideoNumberInEvent={{#external_value:VideoNumberInEvent}}
+
|VideoNumberInEvent={{GetMediaValue|VideoNumberInEvent}}
|VideoTotalNumberInEvent={{#external_value:VideoTotalNumberInEvent}}
+
|VideoTotalNumberInEvent={{GetMediaValue|VideoTotalNumberInEvent}}
 
|CitationOverride={{{ CitationOverride | }}}
 
|CitationOverride={{{ CitationOverride | }}}
|InvisibleFilterContent={{#arraymap:{{#external_value:citation}}; {{#external_value:BuNayTitle}}; {{#external_value:BuNayTopicTags}}; {{PeopleNames|{{#external_value:Performer}}}}; {{PeopleTopicsOtherNames|{{#external_value:BuNayTopicTags}}}}; {{#external_value:Fulltitle}}
+
|InvisibleFilterContent={{#arraymap:{{GetMediaValue|citation}}; {{GetMediaValue|BuNayTitle}}; {{GetMediaValue|BuNayTopicTags}}; {{PeopleNames|{{GetMediaValue|Performer}}}}; {{PeopleTopicsOtherNames|{{GetMediaValue|BuNayTopicTags}}}}; {{GetMediaValue|Fulltitle}}
 
|;
 
|;
 
|@@@
 
|@@@
Line 366: Line 367:
 
|;
 
|;
 
}}
 
}}
|TibetanContent={{#external_value:TibetanContent}}
+
|TibetanContent={{GetMediaValue|TibetanContent}}
|TibetanTitle={{#external_value:TibetanTitle}}
+
|TibetanTitle={{GetMediaValue|TibetanTitle}}
|TibetanDescription={{#external_value:TibetanDescription}}
+
|TibetanDescription={{GetMediaValue|TibetanDescription}}
|language={{#external_value:language}}|+sep=;
+
|language={{GetMediaValue|language}}|+sep=;
 +
|LocalMediaFile={{GetMediaValue|LocalMediaFile}}
 +
|PostToAudioStream={{{ PostToAudioStream | }}}
 
}}{{CreateRedirects
 
}}{{CreateRedirects
|{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{#external_value:BuNayTitle}}}};{{#titleparts:{{#external_value:Fulltitle}}}};{{#titleparts:{{#external_value:MediaSeries}}}}
+
|{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{GetMediaValue|BuNayTitle}}}};{{#titleparts:{{GetMediaValue|Fulltitle}}}};{{#titleparts:{{GetMediaValue|MediaSeries}}}}
}}{{#arraymap:Library Items;Multimedia;{{#switch:{{#external_value:subclass}}
+
}}{{#arraymap:Library Items;Multimedia;{{#switch:{{GetMediaValue|subclass}}
 
|Video=Videos
 
|Video=Videos
 
|Audio=Audio
 
|Audio=Audio

Latest revision as of 11:17, 4 September 2024