Template:Article: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
| (31 intermediate revisions by the same user not shown) | |||
| Line 14: | Line 14: | ||
<div class="h2 d-flex justify-content-between align-items-end mb-4 mx-0"> | |||
<div class=" | |||
<div class="mr-md-2"> | <div class="mr-md-2"> | ||
<div class="text-110">{{{ ArticleTitle | }}}</div>{{#switch:{{{ ArticleLayout | }}} | <div class="text-110">{{{ ArticleTitle | }}}</div>{{#switch:{{{ ArticleLayout | }}} | ||
| Line 23: | Line 21: | ||
|Alternate Source | |Alternate Source | ||
|Interview= | |Interview= | ||
<div> | <div class="text-90 my-1"> | ||
<div class="d-md-inline-block font-italic mr-5 mr-sm-0">{{#if: {{{ AuthorName | }}} | <div class="d-md-inline-block font-italic mr-5 mr-sm-0">{{#if: {{{ AuthorName | }}} | ||
| {{{ AuthorName | }}} | | {{{ AuthorName | }}} | ||
| Line 59: | Line 57: | ||
</div> | </div> | ||
<div class="d-none d-md-block"> | <div class="d-none d-md-block"> | ||
<div class=" | <div class="header-watermark">{{DrlValue|BuNayPageType}}</div> | ||
</div> | </div> | ||
</div></noglossary> | </div></noglossary> | ||
<div class="d-md-none float-left | <div class="d-md-none float-left header-watermark">{{#switch: {{{ ArticleLayout | }}} | Interview=Interview | Article }}</div>{{#switch: {{{ ArticleLayout | }}} | ||
|Original Content={{#ifexist: File:{{{ ArticleTitle | }}}.pdf | <div class="gsearch-link mb-4"> [[Media:{{{ ArticleTitle | }}}.pdf|<i class="fal fa-file-pdf"></i> Download PDF]]</div> | }} | |Original Content={{#ifexist: File:{{{ ArticleTitle | }}}.pdf | <div class="gsearch-link mb-4"> [[Media:{{{ ArticleTitle | }}}.pdf|<i class="fal fa-file-pdf"></i> Download PDF]]</div> | }} | ||
|Interview=<div class="mb-5"></div> | |Interview=<div class="mb-5"></div> | ||
| Line 72: | Line 70: | ||
}} | }} | ||
}} | }} | ||
<div class="row sticky-container m-0 mt-4"> | <div class="row sticky-container m-0 mt-4"> | ||
<div | <div class="text-article col-lg-9 p-0 pr-lg-3"> | ||
{{#switch:{{{ ArticleLayout | }}} | {{#switch:{{{ ArticleLayout | }}} | ||
|Academic Layout= | |Academic Layout= | ||
<div class=" | <div class="offwhite-bg rounded p-4 mb-5 mr-lg-4 tsdwiki-depth-1 text-90"> | ||
<div class="row">{{#if: {{{ Frontcoverimg | }}} | | <div class="row">{{#if: {{{ Frontcoverimg | }}} | | ||
<div class="col-md-3 | <div class="col-md-3 mb-4">{{#widget:FancyboxImg | ||
|src={{filepath:{{#titleparts:{{PAGENAME:{{{ Frontcoverimg | }}}}}}}}} | |src={{filepath:{{#titleparts:{{PAGENAME:{{{ Frontcoverimg | }}}}}}}}} | ||
|src_reduced={{filepath:{{#titleparts:{{PAGENAME:{{{ Frontcoverimg | }}}}}}}|400}} | |src_reduced={{filepath:{{#titleparts:{{PAGENAME:{{{ Frontcoverimg | }}}}}}}|400}} | ||
|class=depth-1 mt-2 mb-3 | |class=tsdwiki-depth-1 mt-2 mb-3 w-100 h-auto | ||
|caption={{{ ImageDescription | }}} | |caption={{{ ImageDescription | }}} | ||
}} | }} | ||
| Line 107: | Line 106: | ||
</div> | </div> | ||
| Original Content={{#if: {{DrlValue|EncodedAbstract}} | | | Original Content={{#if: {{DrlValue|EncodedAbstract}} | | ||
<div class=" | <div class="offwhite-bg rounded p-4 mb-5 mr-lg-4 tsdwiki-depth-1 text-90">{{#if: {{DrlValue|citation}} | | ||
<div class="bnw-book-citation mb-3 text-muted clearfix"> | <div class="bnw-book-citation mb-3 text-muted clearfix"> | ||
<div class="font-italic float-left pr-1">Citation:</div> | <div class="font-italic float-left pr-1">Citation:</div> | ||
| Line 115: | Line 114: | ||
<div>{{#urldecode:{{DrlValue|EncodedAbstract}}}}</div> | <div>{{#urldecode:{{DrlValue|EncodedAbstract}}}}</div> | ||
</div> | }} | </div> | }} | ||
|Interview={{#if: {{DrlValue|LocalMediaFile}} | |||
| Interview | |<div class="d-flex justify-content-center align-items-center"> | ||
<div>Listen to Audio Only or Download mp3: </div> | |||
|Listen to Audio Only or Download mp3: < | <div>[[{{DrlValue|LocalMediaFile}}]]</div> | ||
</div> | |||
|{{#if: {{DrlValue|pdflink}} | |{{#if: {{DrlValue|pdflink}} | ||
|[[{{DrlValue|pdflink}}]] | |[[{{DrlValue|pdflink}}]] | ||
| Line 124: | Line 124: | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
<div class="bnw-article-content {{#ifeq: {{{ DisableDropcap | }}} | Yes | no-drop-cap | drop-cap }}">{{#ifeq: {{{ ArticleLayout | }}} | <div class="bnw-article-content {{#ifeq: {{{ DisableDropcap | }}} | Yes | no-drop-cap | drop-cap }}">{{#ifeq: {{{ ArticleLayout | }}} | ||
| Line 131: | Line 130: | ||
{{InsertLazyYoutube|{{{ FeaturedVideo | }}}}} | {{InsertLazyYoutube|{{{ FeaturedVideo | }}}}} | ||
<div class="my-4"></div> | }} | <div class="my-4"></div> | }} | ||
<h3 class=" | <h3> About the interview </h3> | ||
{{#widget: | <div class="no-drop-cap mb-4"> | ||
{{DrlValue|Description}}</div>{{#if: {{#ask: [[Event::{{#titleparts:{{SUBPAGENAME}}}}]]}} | | |||
<h3>Clips from the interview</h3> | |||
<div id="sessionsContent" class="row"> | |||
{{#widget:FilterInput}} | |||
<div id="sessionsContent" class="row filterableContent"> | |||
{{#ask: [[Event::{{#titleparts:{{SUBPAGENAME}}}}]] | {{#ask: [[Event::{{#titleparts:{{SUBPAGENAME}}}}]] | ||
|?Fulltitle | |?Fulltitle | ||
| Line 151: | Line 150: | ||
|format=template | |format=template | ||
|template=SmallSessionTile | |template=SmallSessionTile | ||
|userparam=col-md-6 text- | |userparam=col-md-6 text-80 | ||
|link=none | |link=none | ||
|limit=150 | |limit=150 | ||
| Line 164: | Line 163: | ||
{{{ ArticleReferences | }}} | | {{{ ArticleReferences | }}} | | ||
<h2 class="ref-header" style="display: none;"> References </h2> | |||
<references/>}} | <references/>}} | ||
| Line 207: | Line 207: | ||
|AuthorName={{{ AuthorName | }}} | |AuthorName={{{ AuthorName | }}} | ||
|AuthorPage={{#if: {{{ AuthorPage | }}} | {{{ AuthorPage | }}} | {{DrlValue|Authorlibwiki}} }} | |AuthorPage={{#if: {{{ AuthorPage | }}} | {{{ AuthorPage | }}} | {{DrlValue|Authorlibwiki}} }} | ||
|AuthorImage={{{ | |AuthorImage={{filepath:{{#titleparts:{{PAGENAME:{{#show:{{{ AuthorPage | }}}|?FirstImage#}}}}}}}} | ||
|AuthorAffiliation={{{ AuthorAffiliation | }}} | |AuthorAffiliation={{{ AuthorAffiliation | }}} | ||
|PubDate={{{ PubDate | }}} | |PubDate={{{ PubDate | }}} | ||
| Line 264: | Line 264: | ||
|PosSvataPrasaNotes={{DrlValue|PosSvataPrasaNotes}} | |PosSvataPrasaNotes={{DrlValue|PosSvataPrasaNotes}} | ||
|PosVajrapada={{DrlValue|PosVajrapada}} | |PosVajrapada={{DrlValue|PosVajrapada}} | ||
|BuNayPublisher={{DrlValue|DrlPublisher}} | |BuNayPublisher={{DrlValue|DrlPublisher}}|+sep=; | ||
|ValuesToRedirect={{Uniquify|{{#titleparts:{{{ ArticleTitle | }}}}};{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{DrlValue|BuNayTitle}}}};{{#titleparts:{{DrlValue|fulltitle}}}}|;}} | |ValuesToRedirect={{Uniquify|{{#titleparts:{{{ ArticleTitle | }}}}};{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{DrlValue|BuNayTitle}}}};{{#titleparts:{{DrlValue|fulltitle}}}}|;}} | ||
|People={{#arraymap:{{Uniquify | |People={{#arraymap:{{Uniquify | ||
| Line 340: | Line 340: | ||
|{{DrlValue|BuNayPageType}} | |{{DrlValue|BuNayPageType}} | ||
}};{{DrlValue|periodical}};{{#arraymap:{{Uniquify | }};{{DrlValue|periodical}};{{#arraymap:{{Uniquify | ||
|{{{ | |{{#if:{{DrlValue|DrlAuthor}} | ||
|{{DrlValue|DrlAuthor}} | |||
|{{SUBPAGENAME:{{{ AuthorPage | }}}}} | |||
}};{{DrlValue|translatorlibwiki}};{{DrlValue|DrlContributors}} | |||
|; | |; | ||
}} | }} | ||