Difference between revisions of "Template:Media"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
<includeonly>__NOTOC__{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#ifsysop: {{#if: {{{ MediaNotes | {{DrlValue|BuNayNotes}} }}} | {{#widget:BootstrapAlert|color=warning|title=Buddha-nature Notes|text={{{ MediaNotes | {{DrlValue|BuNayNotes}} }}} }} | }} | }}
+
<includeonly>__NOTOC__{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#ifsysop: {{#if: {{{ MediaNotes | {{GetMediaValue|BuNayNotes}} }}} | {{#widget:BootstrapAlert|color=warning|title=Buddha-nature Notes|text={{{ MediaNotes | {{GetMediaValue|BuNayNotes}} }}} }} | }} | }}
 
<div class="bnw-video-page">
 
<div class="bnw-video-page">
  
{{TopSysopLinks|research|Media}}<!--{{TopLevelModule|{{DrlValue|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: {{DrlValue|BuNayTitle}} | {{DrlValue|BuNayTitle}} | {{SUBPAGENAME}} }}</div>
+
<div class="mr-2 text-90">{{#if: {{GetMediaValue|BuNayTitle}} | {{GetMediaValue|BuNayTitle}} | {{SUBPAGENAME}} }}</div>
<div class="d-none d-md-block bnw-text-watermark">{{#switch: {{DrlValue|BuNayPageType}}
+
<div class="d-none d-md-block bnw-text-watermark">{{#switch: {{GetMediaValue|BuNayPageType}}
 
|Video=Video
 
|Video=Video
 
|Audio=Audio
 
|Audio=Audio
Line 11: Line 11:
 
}}</div>
 
}}</div>
 
</div></noglossary>
 
</div></noglossary>
<div class="d-md-none text-left bnw-text-watermark">{{#switch: {{DrlValue|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: {{DrlValue|Event}}
+
<div class="d-flex justify-content-between flex-wrap read-versions mb-4 mt-1">{{#if: {{GetMediaValue|Event}}
|{{#if: {{#ask:[[Event::{{DrlValue|Event}}]][[VideoNumberInEvent::{{#expr: {{DrlValue|VideoNumberInEvent}}-1}}]]}}
+
|{{#if: {{#ask:[[Event::{{GetMediaValue|Event}}]][[VideoNumberInEvent::{{#expr: {{GetMediaValue|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::{{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 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}}]]}}
+
}}[[{{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::{{DrlValue|Event}}]][[VideoNumberInEvent::{{#expr: {{DrlValue|VideoNumberInEvent}}+1}}]]|limit=1|link=none}}|Next {{#switch: {{DrlValue|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 34: Line 34:
 
|{{#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: {{DrlValue|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 41: Line 41:
 
|
 
|
 
}}[[{{{ 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: {{DrlValue|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 54: Line 54:
  
 
<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: {{DrlValue|MediaSeries}}  
+
<div class="col-lg-9 pr-lg-4">{{#if: {{GetMediaValue|MediaSeries}}  
| {{GetMediaSeriesMembers | {{DrlValue|MediaSeries}} | {{#urldecode:{{DrlValue|EncodedDescription}}}} }}   
+
| {{GetMediaSeriesMembers | {{GetMediaValue|MediaSeries}} | {{#urldecode:{{GetMediaValue|EncodedDescription}}}} }}   
| {{#if: {{DrlValue|StreamingService}}
+
| {{#if: {{GetMediaValue|StreamingService}}
|{{#ev:{{#switch:{{DrlValue|StreamingService}}
+
|{{#ev:{{#switch:{{GetMediaValue|StreamingService}}
 
|YouTube=youtube
 
|YouTube=youtube
 
|Vimeo=vimeo
 
|Vimeo=vimeo
Line 64: Line 64:
 
|Vine=vine
 
|Vine=vine
 
}}
 
}}
|{{DrlValue|VideoStreamID}}
+
|{{GetMediaValue|VideoStreamID}}
|830{{#ifeq: {{DrlValue|StreamingService}} | SoundCloud |x450 | }}
+
|830{{#ifeq: {{GetMediaValue|StreamingService}} | SoundCloud |x450 | }}
 
|center
 
|center
 
}}
 
}}
|{{#ifexist:{{DrlValue|pdflink}}
+
|{{#ifexist:{{GetMediaValue|pdflink}}
|{{#if: {{DrlValue|frontcoverimg}}
+
|{{#if: {{GetMediaValue|frontcoverimg}}
|<center>[[{{DrlValue|frontcoverimg}}|x300px]]</center>
+
|<center>[[{{GetMediaValue|frontcoverimg}}|x300px]]</center>
 
|
 
|
 
}}
 
}}
 
<center>{{InsertMedia|{{PAGENAME}} }}</center>
 
<center>{{InsertMedia|{{PAGENAME}} }}</center>
|{{#if: {{DrlValue|ItemUrl}}
+
|{{#if: {{GetMediaValue|ItemUrl}}
 
| <div class="float-left mr-4">{{#widget:HTML5AudioWrapper
 
| <div class="float-left mr-4">{{#widget:HTML5AudioWrapper
|filepath={{DrlValue|ItemUrl}}
+
|filepath={{GetMediaValue|ItemUrl}}
 
}}</div>
 
}}</div>
 
|
 
|
 
}}
 
}}
 
}}
 
}}
}}{{#if: {{DrlValue|LocalMediaFile}} |
+
}}{{#if: {{GetMediaValue|LocalMediaFile}} |
 
{{{!}} class="smwtable-clean mt-4 w-100 border-bottom"
 
{{{!}} class="smwtable-clean mt-4 w-100 border-bottom"
 
{{!}}-
 
{{!}}-
 
{{!}} Listen to audio only or download mp3:  
 
{{!}} Listen to audio only or download mp3:  
{{!}} [[{{DrlValue|LocalMediaFile}}]]
+
{{!}} [[{{GetMediaValue|LocalMediaFile}}]]
 
{{!}}}
 
{{!}}}
 
|
 
|
 
}}
 
}}
  
{{#if: {{{ TileDescription | }}} | | <div class="mt-3">{{#urldecode:{{DrlValue|EncodedDescription}}}}</div> }}
+
{{#if: {{{ TileDescription | }}} | | <div class="mt-3">{{#urldecode:{{GetMediaValue|EncodedDescription}}}}</div> }}
 
}}{{#if: {{{ TileDescription | }}} |
 
}}{{#if: {{{ TileDescription | }}} |
  
Line 98: Line 98:
 
<div class="col-md-10">{{{ TileDescription | }}}</div>
 
<div class="col-md-10">{{{ TileDescription | }}}</div>
 
</div>
 
</div>
</div> | }}{{#if: {{DrlValue|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">{{DrlValue|Fulltitle}}</div>
+
<div class="h3 mb-4">{{GetMediaValue|Fulltitle}}</div>
  
 
<div>
 
<div>
{{DrlValue|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 149: Line 149:
 
{{{ BnwVideoFeaturedContent | }}} | }}
 
{{{ BnwVideoFeaturedContent | }}} | }}
  
<h3 class="link-no-border mt-5">About the {{#switch: {{DrlValue|BuNayPageType}}
+
<h3 class="link-no-border mt-5">About the {{#switch: {{GetMediaValue|BuNayPageType}}
 
|Video=video
 
|Video=video
 
|Audio=recording
 
|Audio=recording
Line 155: Line 155:
 
}}</h3>
 
}}</h3>
  
{| class="table table-responsive mt-4 nowrap-th" {{#if: {{DrlValue|PerformerRaw}} |
+
{| class="table table-responsive mt-4 nowrap-th" {{#if: {{GetMediaValue|PerformerRaw}} |
 
{{!}}-
 
{{!}}-
 
! Featuring
 
! Featuring
{{!}} {{#arraymap: {{#if: {{{ PerformerOverwrite | }}} | {{{ PerformerOverwrite | }}} | {{DrlValue|PerformerRaw}} }}
+
{{!}} {{#arraymap: {{#if: {{{ PerformerOverwrite | }}} | {{{ PerformerOverwrite | }}} | {{GetMediaValue|PerformerRaw}} }}
 
|;
 
|;
 
|@@@
 
|@@@
Line 166: Line 166:
 
}}
 
}}
 
|,&nbsp;
 
|,&nbsp;
}} | }}{{#if: {{DrlValue|CreatorRaw}} |<br>
+
}} | }}{{#if: {{GetMediaValue|CreatorRaw}} |<br>
 
{{!}}-
 
{{!}}-
 
! Creator
 
! Creator
{{!}} {{#arraymap: {{DrlValue|CreatorRaw}}
+
{{!}} {{#arraymap: {{GetMediaValue|CreatorRaw}}
 
|;
 
|;
 
|@@@
 
|@@@
 
|@@@
 
|@@@
 
|,&nbsp;
 
|,&nbsp;
}} | }}{{#if: {{DrlValue|director}} |<br>
+
}} | }}{{#if: {{GetMediaValue|director}} |<br>
 
{{!}}-
 
{{!}}-
 
! Director
 
! Director
{{!}} {{DrlValue|director}} | }}{{#if: {{DrlValue|producer}} |<br>
+
{{!}} {{GetMediaValue|director}} | }}{{#if: {{GetMediaValue|producer}} |<br>
 
{{!}}-
 
{{!}}-
 
! Producer
 
! Producer
{{!}} {{DrlValue|producer}} | }}{{#if: {{DrlValue|DrlPublisher}} |<br>
+
{{!}} {{GetMediaValue|producer}} | }}{{#if: {{GetMediaValue|DrlPublisher}} |<br>
 
{{!}}-
 
{{!}}-
 
! Publisher
 
! Publisher
{{!}} {{DrlValue|DrlPublisher}} | }}{{#if: {{DrlValue|translator}} |<br>
+
{{!}} {{GetMediaValue|DrlPublisher}} | }}{{#if: {{GetMediaValue|translator}} |<br>
 
{{!}}-
 
{{!}}-
 
! Translator
 
! Translator
{{!}} {{DrlValue|translator}} | }}{{#if: {{DrlValue|contributors}} |<br>
+
{{!}} {{GetMediaValue|translator}} | }}{{#if: {{GetMediaValue|contributors}} |<br>
 
{{!}}-
 
{{!}}-
 
! Contributors
 
! Contributors
{{!}} {{DrlValue|contributors}} | }}{{#ifeq: {{DrlValue|subtitle}} | true |<br>
+
{{!}} {{GetMediaValue|contributors}} | }}{{#ifeq: {{GetMediaValue|subtitle}} | true |<br>
 
{{!}}-
 
{{!}}-
 
! Includes Subtitles
 
! Includes Subtitles
{{!}} Yes | }}{{#if: {{DrlValue|Event}} |<br>
+
{{!}} Yes | }}{{#if: {{GetMediaValue|Event}} |<br>
 
{{!}}-
 
{{!}}-
 
! Event
 
! Event
{{!}} {{DrlValue|Event}} ({{DrlValue|Eventdate}}{{#if: {{DrlValue|location}} |, {{DrlValue|location}}|}}) | }}{{#if: {{DrlValue|MediaSeries}} |<br>
+
{{!}} {{GetMediaValue|Event}} ({{GetMediaValue|Eventdate}}{{#if: {{GetMediaValue|location}} |, {{GetMediaValue|location}}|}}) | }}{{#if: {{GetMediaValue|MediaSeries}} |<br>
 
{{!}}-
 
{{!}}-
 
! Media Series
 
! Media Series
{{!}} {{DrlValue|MediaSeries}}{{#if: {{DrlValue|totalvolumes}}  
+
{{!}} {{GetMediaValue|MediaSeries}}{{#if: {{GetMediaValue|totalvolumes}}  
|<br>{{DrlValue|totalvolumes}} Parts/Tracks
+
|<br>{{GetMediaValue|totalvolumes}} Parts/Tracks
 
|
 
|
 
}}
 
}}
 
|
 
|
}}{{#if: {{DrlValue|WebsiteName}} |<br>
+
}}{{#if: {{GetMediaValue|WebsiteName}} |<br>
 
{{!}}-
 
{{!}}-
 
! Related Website
 
! Related Website
{{!}} {{DrlValue|WebsiteName}} | }}{{#if: {{DrlValue|Website}}{{DrlValue|WebsiteLabel}} |<br>
+
{{!}} {{GetMediaValue|WebsiteName}} | }}{{#if: {{GetMediaValue|Website}}{{GetMediaValue|WebsiteLabel}} |<br>
 
{{!}}-
 
{{!}}-
 
! Video Web Location
 
! Video Web Location
{{!}} {{#if: {{DrlValue|WebsiteLabel}}
+
{{!}} {{#if: {{GetMediaValue|WebsiteLabel}}
| [{{DrlValue|Website}} {{DrlValue|WebsiteLabel}}]
+
| [{{GetMediaValue|Website}} {{GetMediaValue|WebsiteLabel}}]
| {{DrlValue|Website}}
+
| {{GetMediaValue|Website}}
}} | }}{{#if: {{DrlValue|MediaCreationDate}} | <br>
+
}} | }}{{#if: {{GetMediaValue|MediaCreationDate}} | <br>
 
{{!}}-
 
{{!}}-
 
! Creation Date
 
! Creation Date
{{!}} {{DrlValue|MediaCreationDate}} | }}
+
{{!}} {{GetMediaValue|MediaCreationDate}} | }}
 
|-
 
|-
 
! Citation
 
! Citation
| {{#if: {{{ CitationOverride | }}} | {{{ CitationOverride | }}} | {{DrlValue|citation}} }}
+
| {{#if: {{{ CitationOverride | }}} | {{{ CitationOverride | }}} | {{GetMediaValue|citation}} }}
 
|}
 
|}
  
Line 224: Line 224:
 
{{StickySideBar
 
{{StickySideBar
 
|columns=3<!--
 
|columns=3<!--
|BuNayGrade={{DrlValue|BuNayGrade}}-->
+
|BuNayGrade={{GetMediaValue|BuNayGrade}}-->
|BuNayPageType={{DrlValue|BuNayPageType}}
+
|BuNayPageType={{GetMediaValue|BuNayPageType}}
|Performer={{#if: {{{ PerformerOverwrite | }}} | {{{ PerformerOverwrite | }}} | {{DrlValue|PerformerRaw}} }}
+
|Performer={{#if: {{{ PerformerOverwrite | }}} | {{{ PerformerOverwrite | }}} | {{GetMediaValue|PerformerRaw}} }}
|DrlPublisher={{DrlValue|DrlPublisher}}
+
|DrlPublisher={{GetMediaValue|DrlPublisher}}
 
|RelatedContent=
 
|RelatedContent=
 
{{SidebarTopicsList
 
{{SidebarTopicsList
|topics={{DrlValue|BuNayTopicTags}}
+
|topics={{GetMediaValue|BuNayTopicTags}}
}}{{#if: {{DrlValue|VideoTotalNumberInEvent}} | {{#ifexpr: {{DrlValue|VideoTotalNumberInEvent}}>2 |
+
}}{{#if: {{GetMediaValue|VideoTotalNumberInEvent}} | {{#ifexpr: {{GetMediaValue|VideoTotalNumberInEvent}}>2 |
 
{{VideosInEvent
 
{{VideosInEvent
|event={{DrlValue|Event}}
+
|event={{GetMediaValue|Event}}
 
}} | }} | }}<!--
 
}} | }} | }}<!--
 
{{RelatedVideo
 
{{RelatedVideo
Line 251: Line 251:
 
</div>
 
</div>
  
<div class="clearfix"></div>{{#if: {{DrlValue|BuNayRelevance}} |
+
<div class="clearfix"></div>{{#if: {{GetMediaValue|BuNayRelevance}} |
  
 
<blockquote>
 
<blockquote>
<i>{{DrlValue|BuNayRelevance}}</i>
+
<i>{{GetMediaValue|BuNayRelevance}}</i>
 
</blockquote> | }}
 
</blockquote> | }}
  
 
</div>{{#set:
 
</div>{{#set:
Abstract={{DrlValue|abstract}}
+
Abstract={{GetMediaValue|abstract}}
|BuNayFeatured={{DrlValue|BuNayFeatured}}
+
|BuNayFeatured={{GetMediaValue|BuNayFeatured}}
|BuNayTitle={{DrlValue|BuNayTitle}}
+
|BuNayTitle={{GetMediaValue|BuNayTitle}}
|BuNayPageType={{DrlValue|BuNayPageType}}
+
|BuNayPageType={{GetMediaValue|BuNayPageType}}
|BuNayRelevance={{DrlValue|BuNayRelevance}}
+
|BuNayRelevance={{GetMediaValue|BuNayRelevance}}
|BuNayLevel={{DrlValue|BuNayLevel}}|+sep=,
+
|BuNayLevel={{GetMediaValue|BuNayLevel}}|+sep=,
|BuNayGrade={{{ BuNayGrade | {{DrlValue|BuNayGrade}} }}}
+
|BuNayGrade={{{ BuNayGrade | {{GetMediaValue|BuNayGrade}} }}}
|BuNayApproach={{DrlValue|BuNayApproach}}|+sep=,
+
|BuNayApproach={{GetMediaValue|BuNayApproach}}|+sep=,
|BuNayKarlDescription={{DrlValue|BuNayKarlDescription}}
+
|BuNayKarlDescription={{GetMediaValue|BuNayKarlDescription}}
|BuNaySourceInfo={{DrlValue|BuNaySourceInfo}}
+
|BuNaySourceInfo={{GetMediaValue|BuNaySourceInfo}}
|BuNayRating={{DrlValue|BuNayRating}}
+
|BuNayRating={{GetMediaValue|BuNayRating}}
|BuNayMediaQual={{DrlValue|BuNayMediaQual}}
+
|BuNayMediaQual={{GetMediaValue|BuNayMediaQual}}
|BuNayInteractive={{DrlValue|BuNayInteractive}}
+
|BuNayInteractive={{GetMediaValue|BuNayInteractive}}
|BuNayCopyright={{DrlValue|BuNayCopyright}}
+
|BuNayCopyright={{GetMediaValue|BuNayCopyright}}
|BuNayNotes={{{ MediaNotes | {{DrlValue|BuNayNotes}} }}}
+
|BuNayNotes={{{ MediaNotes | {{GetMediaValue|BuNayNotes}} }}}
|BuNayKanoAvailable={{DrlValue|BuNayKanoAvailable}}
+
|BuNayKanoAvailable={{GetMediaValue|BuNayKanoAvailable}}
|BuNayKanoCitation={{DrlValue|BuNayKanoCitation}}
+
|BuNayKanoCitation={{GetMediaValue|BuNayKanoCitation}}
|citation={{DrlValue|citation}}
+
|citation={{GetMediaValue|citation}}
|Creator={{DrlValue|CreatorRaw}}
+
|Creator={{GetMediaValue|CreatorRaw}}
|Description={{#urldecode:{{DrlValue|EncodedDescription}}}}
+
|Description={{#urldecode:{{GetMediaValue|EncodedDescription}}}}
|Fulltitle={{DrlValue|Fulltitle}}
+
|Fulltitle={{GetMediaValue|Fulltitle}}
|ItemUrl={{DrlValue|ItemUrl}}
+
|ItemUrl={{GetMediaValue|ItemUrl}}
|MediaContentType={{DrlValue|MediaContentType}}
+
|MediaContentType={{GetMediaValue|MediaContentType}}
|MediaLocation={{DrlValue|MediaLocation}}
+
|MediaLocation={{GetMediaValue|MediaLocation}}
|Performer={{DrlValue|PerformerRaw}}|+sep=;
+
|Performer={{GetMediaValue|PerformerRaw}}|+sep=;
|PerformerRaw={{DrlValue|PerformerRaw}}
+
|PerformerRaw={{GetMediaValue|PerformerRaw}}
|StreamingService={{DrlValue|StreamingService}}
+
|StreamingService={{GetMediaValue|StreamingService}}
|VideoStreamID={{DrlValue|VideoStreamID}}
+
|VideoStreamID={{GetMediaValue|VideoStreamID}}
|Website={{DrlValue|Website}}
+
|Website={{GetMediaValue|Website}}
|WebsiteName={{DrlValue|WebsiteName}}
+
|WebsiteName={{GetMediaValue|WebsiteName}}
|director={{DrlValue|director}}
+
|director={{GetMediaValue|director}}
|producer={{DrlValue|producer}}
+
|producer={{GetMediaValue|producer}}
|BuNayPublisher={{DrlValue|DrlPublisher}}
+
|BuNayPublisher={{GetMediaValue|DrlPublisher}}
|translator={{DrlValue|translator}}
+
|translator={{GetMediaValue|translator}}
|contributors={{DrlValue|contributors}}
+
|contributors={{GetMediaValue|contributors}}
|Event={{DrlValue|Event}}
+
|Event={{GetMediaValue|Event}}
|eventdate={{DrlValue|Eventdate}}
+
|eventdate={{GetMediaValue|Eventdate}}
|location={{DrlValue|location}}
+
|location={{GetMediaValue|location}}
|MediaSeries={{DrlValue|MediaSeries}}
+
|MediaSeries={{GetMediaValue|MediaSeries}}
|volumenumber={{DrlValue|volumenumber}}
+
|volumenumber={{GetMediaValue|volumenumber}}
|totalvolumes={{DrlValue|totalvolumes}}
+
|totalvolumes={{GetMediaValue|totalvolumes}}
|MediaCreationDate={{DrlValue|MediaCreationDate}}
+
|MediaCreationDate={{GetMediaValue|MediaCreationDate}}
|Pubdate={{DrlValue|MediaCreationDate}}
+
|Pubdate={{GetMediaValue|MediaCreationDate}}
|duration={{DrlValue|duration}}
+
|duration={{GetMediaValue|duration}}
|mediaformat={{DrlValue|mediaformat}}
+
|mediaformat={{GetMediaValue|mediaformat}}
|organization={{DrlValue|organization}}
+
|organization={{GetMediaValue|organization}}
|copyright={{DrlValue|copyright}}
+
|copyright={{GetMediaValue|copyright}}
|relatedpages={{DrlValue|relatedpages}}
+
|relatedpages={{GetMediaValue|relatedpages}}
|frontcoverimg={{#if: {{{ frontcoverimg | }}} | {{{ frontcoverimg | }}} | {{DrlValue|frontcoverimg}} }}
+
|frontcoverimg={{#if: {{{ frontcoverimg | }}} | {{{ frontcoverimg | }}} | {{GetMediaValue|frontcoverimg}} }}
|WebsiteLabel={{DrlValue|WebsiteLabel}}
+
|WebsiteLabel={{GetMediaValue|WebsiteLabel}}
|subtitle={{DrlValue|subtitle}}
+
|subtitle={{GetMediaValue|subtitle}}
|subclass={{DrlValue|subclass}}
+
|subclass={{GetMediaValue|subclass}}
|pdflink={{DrlValue|pdflink}}
+
|pdflink={{GetMediaValue|pdflink}}
 
|ExtraCategories={{{ ExtraCategories | }}}
 
|ExtraCategories={{{ ExtraCategories | }}}
|ValuesToRedirect={{SUBPAGENAME}};{{DrlValue|BuNayTitle}};{{DrlValue|Fulltitle}};{{DrlValue|MediaSeries}}
+
|ValuesToRedirect={{SUBPAGENAME}};{{GetMediaValue|BuNayTitle}};{{GetMediaValue|Fulltitle}};{{GetMediaValue|MediaSeries}}
|People={{#arraymap: {{DrlValue|CreatorRaw}}; {{DrlValue|PerformerRaw}}; {{DrlValue|director}}; {{DrlValue|translator}}; {{DrlValue|contributors}}
+
|People={{#arraymap: {{GetMediaValue|CreatorRaw}}; {{GetMediaValue|PerformerRaw}}; {{GetMediaValue|director}}; {{GetMediaValue|translator}}; {{GetMediaValue|contributors}}
 
|;
 
|;
 
|@@@
 
|@@@
Line 319: Line 319:
 
|;
 
|;
 
}}|+sep=;
 
}}|+sep=;
|Titles={{DrlValue|BuNayTitle}}; {{DrlValue|Fulltitle}}; {{DrlValue|MediaSeries}}; {{DrlValue|subtitle}}; {{SUBPAGENAME}}
+
|Titles={{GetMediaValue|BuNayTitle}}; {{GetMediaValue|Fulltitle}}; {{GetMediaValue|MediaSeries}}; {{GetMediaValue|subtitle}}; {{SUBPAGENAME}}
|BuNayTopicTags={{#arraymap:{{DrlValue|BuNayTopicTags}}|;|@@@|@@@|;}}|+sep=;
+
|BuNayTopicTags={{#arraymap:{{GetMediaValue|BuNayTopicTags}}|;|@@@|@@@|;}}|+sep=;
 
|TileDescription={{#if: {{{ TileDescription | }}}
 
|TileDescription={{#if: {{{ TileDescription | }}}
 
| {{{ TileDescription | }}}
 
| {{{ TileDescription | }}}
| {{#if: {{#urldecode:{{DrlValue|EncodedDescription}}}}  
+
| {{#if: {{#urldecode:{{GetMediaValue|EncodedDescription}}}}  
| {{#urldecode:{{DrlValue|EncodedDescription}}}}
+
| {{#urldecode:{{GetMediaValue|EncodedDescription}}}}
| ''{{DrlValue|citation}}''
+
| ''{{GetMediaValue|citation}}''
 
}}
 
}}
 
}}
 
}}
Line 342: Line 342:
 
| {{#if: {{{ PerformerOverwrite | }}}  
 
| {{#if: {{{ PerformerOverwrite | }}}  
 
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ PerformerOverwrite | }}}|;}}|?FirstImage#}}}}}}
 
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ PerformerOverwrite | }}}|;}}|?FirstImage#}}}}}}
| {{#ifexist: {{FirstValueOfArray|{{DrlValue|PerformerRaw}}|;}}
+
| {{#ifexist: {{FirstValueOfArray|{{GetMediaValue|PerformerRaw}}|;}}
|{{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{DrlValue|PerformerRaw}}|;}}|?FirstImage#}}}}}}  
+
|{{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{GetMediaValue|PerformerRaw}}|;}}|?FirstImage#}}}}}}  
 
|Media.jpeg
 
|Media.jpeg
 
}}
 
}}
 
}}
 
}}
 
}}
 
}}
|VideoNumberInEvent={{DrlValue|VideoNumberInEvent}}
+
|VideoNumberInEvent={{GetMediaValue|VideoNumberInEvent}}
|VideoTotalNumberInEvent={{DrlValue|VideoTotalNumberInEvent}}
+
|VideoTotalNumberInEvent={{GetMediaValue|VideoTotalNumberInEvent}}
 
|CitationOverride={{{ CitationOverride | }}}
 
|CitationOverride={{{ CitationOverride | }}}
|InvisibleFilterContent={{#arraymap:{{DrlValue|citation}}; {{DrlValue|BuNayTitle}}; {{DrlValue|BuNayTopicTags}}; {{PeopleNames|{{DrlValue|Performer}}}}; {{PeopleTopicsOtherNames|{{DrlValue|BuNayTopicTags}}}}; {{DrlValue|Fulltitle}}
+
|InvisibleFilterContent={{#arraymap:{{GetMediaValue|citation}}; {{GetMediaValue|BuNayTitle}}; {{GetMediaValue|BuNayTopicTags}}; {{PeopleNames|{{GetMediaValue|Performer}}}}; {{PeopleTopicsOtherNames|{{GetMediaValue|BuNayTopicTags}}}}; {{GetMediaValue|Fulltitle}}
 
|;
 
|;
 
|@@@
 
|@@@
Line 357: Line 357:
 
|;
 
|;
 
}}
 
}}
|TibetanContent={{DrlValue|TibetanContent}}
+
|TibetanContent={{GetMediaValue|TibetanContent}}
|TibetanTitle={{DrlValue|TibetanTitle}}
+
|TibetanTitle={{GetMediaValue|TibetanTitle}}
|TibetanDescription={{DrlValue|TibetanDescription}}
+
|TibetanDescription={{GetMediaValue|TibetanDescription}}
|language={{DrlValue|language}}|+sep=;
+
|language={{GetMediaValue|language}}|+sep=;
|LocalMediaFile={{DrlValue|LocalMediaFile}}
+
|LocalMediaFile={{GetMediaValue|LocalMediaFile}}
 
}}{{CreateRedirects
 
}}{{CreateRedirects
|{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{DrlValue|BuNayTitle}}}};{{#titleparts:{{DrlValue|Fulltitle}}}};{{#titleparts:{{DrlValue|MediaSeries}}}}
+
|{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{GetMediaValue|BuNayTitle}}}};{{#titleparts:{{GetMediaValue|Fulltitle}}}};{{#titleparts:{{GetMediaValue|MediaSeries}}}}
}}{{#arraymap:Library Items;Multimedia;{{#switch:{{DrlValue|subclass}}
+
}}{{#arraymap:Library Items;Multimedia;{{#switch:{{GetMediaValue|subclass}}
 
|Video=Videos
 
|Video=Videos
 
|Audio=Audio
 
|Audio=Audio

Revision as of 23:22, 5 September 2023