Difference between revisions of "Template:Media"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(132 intermediate revisions by 2 users 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=http://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&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
 
}}{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#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">{{#if: {{#external_value:BuNayTitle}} | {{#external_value:BuNayTitle}} | {{SUBPAGENAME}} }}</div>
+
<div class="mr-2 text-90">{{#if: {{GetMediaValue|BuNayTitle}}
<div class="bnw-text-watermark">Multimedia</div>
+
| {{GetMediaValue|BuNayTitle}}
</div></noglossary>{{#if: {{{ MediaEventPage | }}} |
+
| {{SUBPAGENAME}}
<div class="d-flex justify-content-between read-versions mb-4 mt-1">{{#if: {{#external_value:event}}
+
}}{{#if: {{GetMediaValue|VideoNumberInEvent}}
|{{#if: {{#ask:[[MediaEventPage::{{#external_value:event}}]][[MediaNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}-1}}]]|limit=1|link=none}}
+
|&nbsp;- {{GetMediaValue|VideoNumberInEvent}}{{#if: {{GetMediaValue|VideoTotalNumberInEvent}}
|[[{{#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 {{#external_value:MediaContentType}}]]
+
|&nbsp;of {{GetMediaValue|VideoTotalNumberInEvent}}
 +
|
 +
}}
 +
|
 +
}}</div>
 +
<div class="d-none d-md-block bnw-text-watermark">{{#switch: {{GetMediaValue|BuNayPageType}}
 +
|Video=Video
 +
|Audio=Audio
 +
|#default=Multimedia
 +
}}</div>
 +
</div></noglossary>
 +
<div class="d-md-none text-left bnw-text-watermark">{{#switch: {{GetMediaValue|BuNayPageType}}
 +
|Video=Video
 +
|Audio=Audio
 +
|#default=Multimedia
 +
}}</div>
 +
<div class="d-flex justify-content-between flex-wrap read-versions mb-4 mt-1">{{#if: {{GetMediaValue|Event}}
 +
|{{#if: {{#ask:[[Event::{{GetMediaValue|Event}}]][[VideoNumberInEvent::{{#expr: {{GetMediaValue|VideoNumberInEvent}}-1}}]]}}
 +
|[[{{#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
 +
|Audio=Audio
 +
|#default=Multimedia
 +
}}]]
 
|
 
|
}}[[{{#external_value:event}}]]{{#if: {{#ask:[[MediaEventPage::{{#external_value:event}}]][[MediaNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}+1}}]]|limit=1|link=none}}
+
}}[[{{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:[[MediaEventPage::{{#external_value:event}}]][[MediaNumberInEvent::{{#expr: {{#external_value:VideoNumberInEvent}}+1}}]]|limit=1|link=none}}|Next {{#external_value:MediaContentType}} <i class="fad fa-arrow-right fa-sm"></i>]]
+
|[[{{#ask:[[Event::{{GetMediaValue|Event}}]][[VideoNumberInEvent::{{#expr: {{GetMediaValue|VideoNumberInEvent}}+1}}]]|limit=1|link=none}}|Next {{#switch: {{GetMediaValue|BuNayPageType}}
 +
|Video=Video
 +
|Audio=Audio
 +
|#default=Multimedia
 +
}} <i class="fad fa-arrow-right fa-sm"></i>]]
 
|
 
|
 
}}
 
}}
|{{#if: {{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}-1}}]]|limit=1|link=none}}
+
|{{#if: {{{ MediaEventPage | }}}
|[[{{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}-1}}]]|limit=1|link=none}}|<i class="fad fa-arrow-left fa-sm"></i> Previous {{#external_value:MediaContentType}}]]
+
|{{#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: {{GetMediaValue|BuNayPageType}}
}}[[{{{ MediaEventPage | }}}]]{{#if: {{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}+1}}]]|limit=1|link=none}}
+
|Video=Video
|[[{{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}+1}}]]|limit=1|link=none}}|Next {{#external_value:MediaContentType}} <i class="fad fa-arrow-right fa-sm"></i>]]
+
|Audio=Audio
 +
|#default=Multimedia
 +
}}]]
 +
|
 +
}}[[{{{ MediaEventPage | }}}]]{{#if: {{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}+1}}]]}}
 +
|[[{{#ask:[[MediaEventPage::{{{ MediaEventPage | }}}]][[MediaNumberInEvent::{{#expr: {{{ MediaNumberInEvent | }}}+1}}]]|limit=1|link=none}}|Next {{#switch: {{GetMediaValue|BuNayPageType}}
 +
|Video=Video
 +
|Audio=Audio
 +
|#default=Multimedia
 +
}} <i class="fad fa-arrow-right fa-sm"></i>]]
 +
|
 +
}}
 
|
 
|
 
}}
 
}}
 
}}
 
}}
</div> | }}
+
</div>
  
 
<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}} }}   
| {{#if: {{#external_value:StreamingService}}
+
| {{#if: {{GetMediaValue|StreamingService}}
|{{#ev:{{#switch:{{#external_value:StreamingService}}
+
|{{#ev:{{#switch:{{GetMediaValue|StreamingService}}
 
|YouTube=youtube
 
|YouTube=youtube
 
|Vimeo=vimeo
 
|Vimeo=vimeo
Line 40: Line 73:
 
|Vine=vine
 
|Vine=vine
 
}}
 
}}
|{{#external_value:VideoStreamID}}
+
|{{GetMediaValue|VideoStreamID}}
|830{{#ifeq: {{#external_value:StreamingService}} | SoundCloud |x450 | }}
+
|830{{#ifeq: {{GetMediaValue|StreamingService}} | SoundCloud |x450 | }}
 
|center
 
|center
 
}}
 
}}
|{{#if:{{#external_value:pdflink}}
+
|{{#ifexist:{{GetMediaValue|pdflink}}
|{{#if: {{#external_value:frontcoverimg}}
+
|{{#if: {{GetMediaValue|frontcoverimg}}
|<center>[[{{#external_value:frontcoverimg}}|x300px]]</center>
+
|<center>[[{{GetMediaValue|frontcoverimg}}|x300px]]</center>
 +
|
 +
}}
 +
<center>{{InsertMedia|{{PAGENAME}} }}</center>
 +
|{{#if: {{GetMediaValue|ItemUrl}}
 +
| <div class="float-left mr-4">{{#widget:HTML5AudioWrapper
 +
|filepath={{GetMediaValue|ItemUrl}}
 +
}}</div>
 
|
 
|
 
}}
 
}}
<center>{{InsertMedia|{{#external_value:pdflink}} }}</center>
 
|
 
 
}}
 
}}
 +
}}{{#if: {{GetMediaValue|LocalMediaFile}} |
 +
{{{!}} class="smwtable-clean mt-4 w-100 border-bottom"
 +
{{!}}-
 +
{{!}} Listen to audio only or download mp3:
 +
{{!}} [[{{GetMediaValue|LocalMediaFile}}]]
 +
{{!}}}
 +
|
 
}}
 
}}
  
{{#if: {{{ TileDescription | }}} | | <div>{{#external_value:Description}}</div> }}
+
{{#if: {{{ TileDescription | }}} | | <div class="mt-3 p-bl-fix">
 +
{{GetMediaValue|Description}}</div> }}
 
}}{{#if: {{{ TileDescription | }}} |
 
}}{{#if: {{{ TileDescription | }}} |
  
{{{!}} class="table border-0"
+
<div class="container">
{{!}}-
+
<div class="row my-4 text-90">
! class="border-0" style="padding-top: 1rem;" {{!}} Description
+
<div class="col-md-2 description-th pr-0 pt-1 pb-3">'''Description'''</div>
{{!}} class="border-0" {{!}} {{{ TileDescription | }}}
+
<div class="col-md-10">{{{ TileDescription | }}}</div>
{{!}}} | }}{{#if: {{#external_value:abstract}} |
+
</div>
 +
</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 84: Line 131:
  
 
<div class="row">{{#arraymap: {{{ RelatedPubs | }}} | ; | @@@ |
 
<div class="row">{{#arraymap: {{{ RelatedPubs | }}} | ; | @@@ |
{{PageTileQueryCitationOnly
+
{{PageTileQuery
 
|query=[[@@@]]
 
|query=[[@@@]]
|classes=col-lg-12
+
|classes=col-12 citation-only
 
}} | }}{{#if: {{{ MoreExternalPubs | }}}  
 
}} | }}{{#if: {{{ MoreExternalPubs | }}}  
 
| {{{ MoreExternalPubs | }}}  
 
| {{{ MoreExternalPubs | }}}  
Line 95: Line 142:
 
<h3 class="mt-5">People Mentioned</h3>
 
<h3 class="mt-5">People Mentioned</h3>
  
<div class="text-left clearfix">{{#arraymap: {{{ PeopleMentioned | }}} | ; | @@@ |
+
<div class="d-flex flex-wrap justify-content-start">{{#arraymap: {{{ PeopleMentioned | }}} | ; | @@@ |
 
{{PeopleMentionedMedia|@@@}} | }}
 
{{PeopleMentionedMedia|@@@}} | }}
 
</div> | }}{{#if: {{{ RelatedMedia | }}} |
 
</div> | }}{{#if: {{{ RelatedMedia | }}} |
Line 112: Line 159:
 
{{{ BnwVideoFeaturedContent | }}} | }}
 
{{{ BnwVideoFeaturedContent | }}} | }}
  
<h3 class="link-no-border mt-5"> About the video </h3>
+
<h3 class="link-no-border mt-5">About the {{#switch: {{GetMediaValue|BuNayPageType}}
 +
|Video=video
 +
|Audio=recording
 +
|media
 +
}}</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 125: 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}}, {{#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
{{!}} [{{#external_value:Website}} {{#external_value:WebsiteLabel}}] | }}{{#if: {{#external_value:MediaCreationDate}} | <br>
+
{{!}} {{#if: {{GetMediaValue|WebsiteLabel}}
 +
| [{{GetMediaValue|Website}} {{GetMediaValue|WebsiteLabel}}]
 +
| {{GetMediaValue|Website}}
 +
}} | }}{{#if: {{GetMediaValue|MediaCreationDate}} | <br>
 
{{!}}-
 
{{!}}-
 
! Creation Date
 
! Creation Date
{{!}} {{#external_value:MediaCreationDate}} | }}
+
{{!}} {{GetMediaValue|MediaCreationDate}} | }}
 
|-
 
|-
 
! Citation
 
! Citation
| {{#external_value:citation}}
+
| {{#if: {{{ CitationOverride | }}} | {{{ CitationOverride | }}} | {{GetMediaValue|citation}} }}
 
|}
 
|}
  
Line 180: 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:VideoNumberInEvent}} |
+
}}{{#if: {{GetMediaValue|VideoTotalNumberInEvent}} | {{#ifexpr: {{GetMediaValue|VideoTotalNumberInEvent}}>2 |
 
{{VideosInEvent
 
{{VideosInEvent
|event={{#external_value:event}}
+
|event={{GetMediaValue|Event}}
|number={{#external_value:VideoNumberInEvent}}
+
}} | }} | }}<!--
}} | }}<!--
 
 
{{RelatedVideo
 
{{RelatedVideo
 
|label=Related Video
 
|label=Related Video
Line 208: 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 class="bnw-person-categories">
 
{{#arraymap:{{#external_value:MediaContentType}}|,|@@@|[[:Category:@@@|@@@]]|&nbsp;·&nbsp;}}
 
</div>
 
  
 
</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}}
+
|Performer={{GetMediaValue|PerformerRaw}}|+sep=;
|StreamingService={{#external_value:StreamingService}}
+
|PerformerRaw={{GetMediaValue|PerformerRaw}}
|VideoStreamID={{#external_value:VideoStreamID}}
+
|StreamingService={{GetMediaValue|StreamingService}}
|Website={{#external_value:Website}}
+
|VideoStreamID={{GetMediaValue|VideoStreamID}}
|WebsiteName={{#external_value:WebsiteName}}
+
|Website={{GetMediaValue|Website}}
|director={{#external_value:director}}
+
|WebsiteName={{GetMediaValue|WebsiteName}}
|producer={{#external_value:producer}}
+
|director={{GetMediaValue|director}}
|BuNayPublisher={{#external_value:DrlPublisher}}
+
|producer={{GetMediaValue|producer}}
|translator={{#external_value:translator}}
+
|BuNayPublisher={{GetMediaValue|DrlPublisher}}
|contributors={{#external_value:contributors}}
+
|translator={{GetMediaValue|translator}}
|event={{#external_value:event}}
+
|contributors={{GetMediaValue|contributors}}
|eventdate={{#external_value:eventdate}}
+
|Event={{GetMediaValue|Event}}
|location={{#external_value:location}}
+
|eventdate={{GetMediaValue|Eventdate}}
|MediaSeries={{#external_value:MediaSeries}}
+
|location={{GetMediaValue|location}}
|volumenumber={{#external_value:volumenumber}}
+
|MediaSeries={{GetMediaValue|MediaSeries}}
|totalvolumes={{#external_value:totalvolumes}}
+
|volumenumber={{GetMediaValue|volumenumber}}
|MediaCreationDate={{#external_value:MediaCreationDate}}
+
|totalvolumes={{GetMediaValue|totalvolumes}}
|Pubdate={{#external_value:MediaCreationDate}}
+
|MediaCreationDate={{GetMediaValue|MediaCreationDate}}
|duration={{#external_value:duration}}
+
|Pubdate={{GetMediaValue|MediaCreationDate}}
|mediaformat={{#external_value:mediaformat}}
+
|duration={{GetMediaValue|duration}}
|organization={{#external_value:organization}}
+
|mediaformat={{GetMediaValue|mediaformat}}
|copyright={{#external_value:copyright}}
+
|organization={{GetMediaValue|organization}}
|relatedpages={{#external_value:relatedpages}}
+
|copyright={{GetMediaValue|copyright}}
|frontcoverimg={{#external_value:frontcoverimg}}
+
|relatedpages={{GetMediaValue|relatedpages}}
|WebsiteLabel={{#external_value:WebsiteLabel}}
+
|frontcoverimg={{#if: {{{ frontcoverimg | }}} | {{{ frontcoverimg | }}} | {{GetMediaValue|frontcoverimg}} }}
|subtitle={{#external_value:subtitle}}
+
|WebsiteLabel={{GetMediaValue|WebsiteLabel}}
|subclass={{#external_value:subclass}}
+
|subtitle={{GetMediaValue|subtitle}}
|pdflink={{#external_value:pdflink}}
+
|subclass={{GetMediaValue|subclass}}
 +
|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={{#external_value:Creator}}; {{#external_value:Performer}}; {{#external_value:director}}; {{#external_value:translator}}; {{#external_value:contributors}}
+
|People={{#arraymap: {{GetMediaValue|CreatorRaw}}; {{GetMediaValue|PerformerRaw}}; {{GetMediaValue|director}}; {{GetMediaValue|translator}}; {{GetMediaValue|contributors}}
|Titles={{#external_value:BuNayTitle}}; {{#external_value:Fulltitle}}; {{#external_value:MediaSeries}}; {{#external_value:subtitle}}; {{SUBPAGENAME}}
+
|;
|BuNayTopicTags={{#external_value:BuNayTopicTags}}|+sep=;
+
|@@@
|TileDescription={{{ TileDescription | }}}
+
|@@@
 +
|;
 +
}}|+sep=;
 +
|Titles={{GetMediaValue|BuNayTitle}}; {{GetMediaValue|Fulltitle}}; {{GetMediaValue|MediaSeries}}; {{GetMediaValue|subtitle}}; {{SUBPAGENAME}}
 +
|BuNayTopicTags={{#arraymap:{{GetMediaValue|BuNayTopicTags}}|;|@@@|@@@|;}}|+sep=;
 +
|TileDescription={{#if: {{{ TileDescription | }}}
 +
| {{{ TileDescription | }}}
 +
| {{#if: {{GetMediaValue|Description}}
 +
| {{GetMediaValue|Description}}
 +
| ''{{GetMediaValue|citation}}''
 +
}}
 +
}}
 
|Has parent page=Multimedia
 
|Has parent page=Multimedia
 
|RelatedWritings={{{ RelatedWritings | }}}|+sep=;
 
|RelatedWritings={{{ RelatedWritings | }}}|+sep=;
Line 284: Line 345:
 
|RelatedMedia={{{ RelatedMedia | }}}|+sep=;
 
|RelatedMedia={{{ RelatedMedia | }}}|+sep=;
 
|TilePhoto={{{ TilePhoto | }}}
 
|TilePhoto={{{ TilePhoto | }}}
|VideoNumberInEvent={{#external_value:VideoNumberInEvent}}
+
|PageTilePhoto={{#if: {{{ PageTilePhoto | }}}
|VideoTotalNumberInEvent={{#external_value:VideoTotalNumberInEvent}}
+
| {{#ifexist: File:{{{ PageTilePhoto | }}}
 +
| {{{ PageTilePhoto | }}}
 +
| {{#titleparts:{{PAGENAME:{{{ PageTilePhoto | }}}}}}}
 +
}}
 +
| {{#if: {{{ PerformerOverwrite | }}}
 +
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ PerformerOverwrite | }}}|;}}|?FirstImage#}}}}}}
 +
| {{#ifexist: {{FirstValueOfArray|{{GetMediaValue|PerformerRaw}}|;}}
 +
|{{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{GetMediaValue|PerformerRaw}}|;}}|?FirstImage#}}}}}}
 +
|Media.jpeg
 +
}}
 +
}}
 +
}}
 +
|VideoNumberInEvent={{GetMediaValue|VideoNumberInEvent}}
 +
|VideoTotalNumberInEvent={{GetMediaValue|VideoTotalNumberInEvent}}
 +
|CitationOverride={{{ CitationOverride | }}}
 +
|InvisibleFilterContent={{#arraymap:{{GetMediaValue|citation}}; {{GetMediaValue|BuNayTitle}}; {{GetMediaValue|BuNayTopicTags}}; {{PeopleNames|{{GetMediaValue|Performer}}}}; {{PeopleTopicsOtherNames|{{GetMediaValue|BuNayTopicTags}}}}; {{GetMediaValue|Fulltitle}}
 +
|;
 +
|@@@
 +
|@@@
 +
|;
 +
}}
 +
|TibetanContent={{GetMediaValue|TibetanContent}}
 +
|TibetanTitle={{GetMediaValue|TibetanTitle}}
 +
|TibetanDescription={{GetMediaValue|TibetanDescription}}
 +
|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
 
|Other Multimedia
 
|Other Multimedia
}};{{{ ExtraCategories | }}}|;|@@@|[[Category:@@@]]|}}
+
}};{{{ ExtraCategories | }}};{{{ PostStatus | }}}|;|@@@|[[Category:@@@]]|}}
 
</includeonly><noinclude>{{TemplateTag}}</noinclude>
 
</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 11:17, 4 September 2024