Template:Media: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>__NOTOC__{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#ifsysop: {{#if: {{{ MediaNotes | {{GetMediaValue|BuNayNotes}} }}} | {{#widget:BootstrapAlert|color=warning|title=Buddha-nature Notes|text={{{ MediaNotes | {{GetMediaValue|BuNayNotes}} }}} }} | }} | }}
<includeonly>__NOTOC__{{HideFirstHeading}}{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#ifsysop: {{#if: {{{ MediaNotes | {{GetMediaValue|BuNayNotes}} }}} | {{#widget:BootstrapAlert|color=warning|title=Buddha-nature Notes|text={{{ MediaNotes | {{GetMediaValue|BuNayNotes}} }}} }} | }} | }}
<div class="bnw-video-page">


{{TopSysopLinks|research|Media}}<!--{{TopLevelModule|{{GetMediaValue|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: {{GetMediaValue|BuNayTitle}}  
<div class="mr-2 text-90">{{#if: {{GetMediaValue|BuNayTitle}}  
Line 14: Line 15:
|
|
}}</div>
}}</div>
<div class="d-none d-md-block bnw-text-watermark">{{#switch: {{GetMediaValue|BuNayPageType}}
<div class="d-none d-md-block header-watermark">{{#switch: {{GetMediaValue|BuNayPageType}}
|Video=Video
|Video=Video
|Audio=Audio
|Audio=Audio
Line 20: Line 21:
}}</div>
}}</div>
</div></noglossary>
</div></noglossary>
<div class="d-md-none text-left bnw-text-watermark">{{#switch: {{GetMediaValue|BuNayPageType}}
<div class="d-md-none text-left header-watermark">{{#switch: {{GetMediaValue|BuNayPageType}}
|Video=Video
|Video=Video
|Audio=Audio
|Audio=Audio
Line 62: Line 63:
</div>
</div>


<div class="row mt-5 mb-5 sticky-container">
<div class="row my-5">
<div class="col-lg-9 pr-lg-4">{{#if: {{GetMediaValue|MediaSeries}}  
<div class="col-lg-9 text-article">{{#if: {{GetMediaValue|MediaSeries}}  
| {{GetMediaSeriesMembers | {{GetMediaValue|MediaSeries}} | {{#urldecode:{{GetMediaValue|EncodedDescription}}}} }}   
| {{GetMediaSeriesMembers | {{GetMediaValue|MediaSeries}} | {{GetMediaValue|Description}} }}   
| {{#if: {{GetMediaValue|StreamingService}}
| {{#if: {{GetMediaValue|StreamingService}}
|{{#ev:{{#switch:{{GetMediaValue|StreamingService}}
|{{#ev:{{#switch:{{GetMediaValue|StreamingService}}
Line 74: Line 75:
}}
}}
|{{GetMediaValue|VideoStreamID}}
|{{GetMediaValue|VideoStreamID}}
|830{{#ifeq: {{GetMediaValue|StreamingService}} | SoundCloud |x450 | }}
|
|center
|center
|autoresize=true
}}
}}
|{{#ifexist:{{GetMediaValue|pdflink}}
|{{#ifexist:{{GetMediaValue|pdflink}}
Line 91: Line 93:
}}
}}
}}{{#if: {{GetMediaValue|LocalMediaFile}} |
}}{{#if: {{GetMediaValue|LocalMediaFile}} |
{{{!}} class="smwtable-clean mt-4 w-100 border-bottom"
{{{!}} class="smwtable-clean w-100 border-bottom"
{{!}}-
{{!}}-
{{!}} Listen to audio only or download mp3:  
{{!}} Listen to audio only or download mp3:  
Line 99: Line 101:
}}
}}


{{#if: {{{ TileDescription | }}} | | <div class="mt-3">{{#urldecode:{{GetMediaValue|EncodedDescription}}}}</div> }}
{{#if: {{{ TileDescription | }}} | | <div class="mt-3 p-bl-fix">
{{GetMediaValue|Description}}</div> }}
}}{{#if: {{{ TileDescription | }}} |
}}{{#if: {{{ TileDescription | }}} |


Line 118: Line 121:


<div class="row">{{#arraymap: {{{ RelatedWritings | }}} | ; | @@@ |
<div class="row">{{#arraymap: {{{ RelatedWritings | }}} | ; | @@@ |
{{PageTileQuery
{{PageTileQueryNoDef
|query=[[@@@]]
|query=[[@@@]]
|classes=col-lg-6
|classes=col-lg-6
Line 164: Line 167:
}}</h3>
}}</h3>


{| class="table table-responsive mt-4 nowrap-th" {{#if: {{GetMediaValue|PerformerRaw}} |
{| class="table table-responsive mt-4 th-nowrap" {{#if: {{GetMediaValue|PerformerRaw}} |
{{!}}-
{{!}}-
! Featuring
! Featuring
Line 286: Line 289:
|citation={{GetMediaValue|citation}}
|citation={{GetMediaValue|citation}}
|Creator={{GetMediaValue|CreatorRaw}}
|Creator={{GetMediaValue|CreatorRaw}}
|Description={{#urldecode:{{GetMediaValue|EncodedDescription}}}}
|Description={{GetMediaValue|Description}}
|Fulltitle={{GetMediaValue|Fulltitle}}
|Fulltitle={{GetMediaValue|Fulltitle}}
|ItemUrl={{GetMediaValue|ItemUrl}}
|ItemUrl={{GetMediaValue|ItemUrl}}
Line 332: Line 335:
|TileDescription={{#if: {{{ TileDescription | }}}
|TileDescription={{#if: {{{ TileDescription | }}}
| {{{ TileDescription | }}}
| {{{ TileDescription | }}}
| {{#if: {{#urldecode:{{GetMediaValue|EncodedDescription}}}}  
| {{#if: {{GetMediaValue|Description}}  
| {{#urldecode:{{GetMediaValue|EncodedDescription}}}}
| {{GetMediaValue|Description}}
| ''{{GetMediaValue|citation}}''
| ''{{GetMediaValue|citation}}''
}}
}}
Line 371: Line 374:
|language={{GetMediaValue|language}}|+sep=;
|language={{GetMediaValue|language}}|+sep=;
|LocalMediaFile={{GetMediaValue|LocalMediaFile}}
|LocalMediaFile={{GetMediaValue|LocalMediaFile}}
|PostToAudioStream={{{ PostToAudioStream | }}}
}}{{CreateRedirects
}}{{CreateRedirects
|{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{GetMediaValue|BuNayTitle}}}};{{#titleparts:{{GetMediaValue|Fulltitle}}}};{{#titleparts:{{GetMediaValue|MediaSeries}}}}
|{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{GetMediaValue|BuNayTitle}}}};{{#titleparts:{{GetMediaValue|Fulltitle}}}};{{#titleparts:{{GetMediaValue|MediaSeries}}}}

Latest revision as of 15:20, 17 January 2025