Template:Article: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#ifsysop: {{#switch: {{{ PostStatus | }}}
<includeonly>{{HideFirstHeading}}{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#ifsysop: {{#switch: {{{ PostStatus | }}}
|Needs Copy Editing={{#widget:BootstrapAlert|color=danger|title=Needs Copy Editing|text=This page needs copywriting work to be done. This page was last updated on {{REVISIONMONTH}}-{{REVISIONDAY2}}-{{REVISIONYEAR}}, by {{REVISIONUSER}} }}
|Needs Copy Editing={{#widget:BootstrapAlert|color=danger|title=Needs Copy Editing|text=This page needs copywriting work to be done. This page was last updated on {{REVISIONMONTH}}-{{REVISIONDAY2}}-{{REVISIONYEAR}}, by {{REVISIONUSER}} }}
|Needs Final Review={{#widget:BootstrapAlert|color=info|title=This page needs a FINAL REVIEW|text=This page was last updated on {{REVISIONMONTH}}-{{REVISIONDAY2}}-{{REVISIONYEAR}}, by {{REVISIONUSER}} }}
|Needs Final Review={{#widget:BootstrapAlert|color=info|title=This page needs a FINAL REVIEW|text=This page was last updated on {{REVISIONMONTH}}-{{REVISIONDAY2}}-{{REVISIONYEAR}}, by {{REVISIONUSER}} }}
Line 13: Line 13:
}}{{TopSysopLinks|research|Article}}<noglossary>
}}{{TopSysopLinks|research|Article}}<noglossary>


<div class="bnw-article-heading d-flex justify-content-between align-items-end mb-1 mx-0">
 
<div class="h2 d-flex justify-content-between align-items-end mb-4 mx-0">
<div class="mr-md-2">
<div class="mr-md-2">
<div class="bnw-article-title">{{{ ArticleTitle | }}}</div>{{#switch:{{{ ArticleLayout | }}}
<div class="text-110">{{{ ArticleTitle | }}}</div>{{#switch:{{{ ArticleLayout | }}}
|Simple Layout
|Simple Layout
|Original Content
|Original Content
|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 56: Line 57:
</div>
</div>
<div class="d-none d-md-block">
<div class="d-none d-md-block">
<div class="bnw-text-watermark">{{DrlValue|BuNayPageType}}</div>
<div class="header-watermark">{{DrlValue|BuNayPageType}}</div>
</div>
</div>
</div></noglossary>
</div></noglossary>
<div class="d-md-none float-left bnw-text-watermark">{{#switch: {{{ ArticleLayout | }}} | Interview=Interview | Article }}</div>{{#switch: {{{ ArticleLayout | }}}  
<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 69: Line 70:
}}  
}}  
}}
}}


<div class="row sticky-container m-0 mt-4">
<div class="row sticky-container m-0 mt-4">
<div id="articleContentWrapper" class="col-lg-9 p-0 pr-lg-3">
<div class="text-article col-lg-9 p-0 pr-lg-3">
{{#switch:{{{ ArticleLayout | }}}
{{#switch:{{{ ArticleLayout | }}}
|Academic Layout=
|Academic Layout=
<div class="bnw-panel rounded p-4 mb-5 mr-lg-4 depth-1 text-90">
<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 book-cover-img mb-4">{{#widget:FancyboxImg
<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 104: Line 106:
</div>
</div>
| Original Content={{#if: {{DrlValue|EncodedAbstract}} |
| Original Content={{#if: {{DrlValue|EncodedAbstract}} |
<div class="bnw-panel rounded p-4 mb-5 mr-lg-4 depth-1 text-90">{{#if: {{DrlValue|citation}} |
<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 112: Line 114:
<div>{{#urldecode:{{DrlValue|EncodedAbstract}}}}</div>
<div>{{#urldecode:{{DrlValue|EncodedAbstract}}}}</div>
</div> | }}
</div> | }}
}}{{#ifeq: {{{ ArticleLayout | }}}
|Interview={{#if: {{DrlValue|LocalMediaFile}}
| Interview  
|<div class="d-flex justify-content-center align-items-center">
|{{#if: {{DrlValue|LocalMediaFile}}
<div>Listen to Audio Only or Download mp3: </div>
|Listen to Audio Only or Download mp3: <br>[[{{DrlValue|LocalMediaFile}}]]
<div>[[{{DrlValue|LocalMediaFile}}]]</div>
</div>
|{{#if: {{DrlValue|pdflink}}
|{{#if: {{DrlValue|pdflink}}
|[[{{DrlValue|pdflink}}]]
|[[{{DrlValue|pdflink}}]]
Line 121: 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 128: Line 130:
{{InsertLazyYoutube|{{{ FeaturedVideo | }}}}}
{{InsertLazyYoutube|{{{ FeaturedVideo | }}}}}
<div class="my-4"></div> | }}
<div class="my-4"></div> | }}
<h3 class="mt-0 p-0 no-drop-cap"> About the interview </h3>
<div class="no-drop-cap">{{#urldecode:{{DrlValue|EncodedDescription}}}}</div>{{#if: {{#ask: [[Event::{{#titleparts:{{SUBPAGENAME}}}}]]}} |


<h3 class="mt-0 p-0 border-0 hidden">Clips from the interview</h3>
<h3> About the interview </h3>
{{#widget:FilterSessions
<div class="no-drop-cap mb-4">
|key=sessions
{{DrlValue|Description}}</div>{{#if: {{#ask: [[Event::{{#titleparts:{{SUBPAGENAME}}}}]]}} |
|heading=Clips from the interview
 
}}
<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 148: Line 150:
|format=template
|format=template
|template=SmallSessionTile
|template=SmallSessionTile
|userparam=col-md-6 text-70
|userparam=col-md-6 text-80
|link=none
|link=none
|limit=150
|limit=150
Line 161: Line 163:
{{{ ArticleReferences | }}} |  
{{{ ArticleReferences | }}} |  


<h2 class="ref-header" style="display: none;"> References </h2>
<references/>}}
<references/>}}


Line 204: Line 207:
|AuthorName={{{ AuthorName | }}}
|AuthorName={{{ AuthorName | }}}
|AuthorPage={{#if: {{{ AuthorPage | }}} | {{{ AuthorPage | }}} | {{DrlValue|Authorlibwiki}} }}
|AuthorPage={{#if: {{{ AuthorPage | }}} | {{{ AuthorPage | }}} | {{DrlValue|Authorlibwiki}} }}
|AuthorImage={{{ AuthorImage | }}}
|AuthorImage={{filepath:{{#titleparts:{{PAGENAME:{{#show:{{{ AuthorPage | }}}|?FirstImage#}}}}}}}}
|AuthorAffiliation={{{ AuthorAffiliation | }}}
|AuthorAffiliation={{{ AuthorAffiliation | }}}
|PubDate={{{ PubDate | }}}
|PubDate={{{ PubDate | }}}
Line 261: 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|{{{ AuthorPage | }}}; {{DrlValue|Authorlibwiki}}; {{DrlValue|translatorlibwiki}}; {{DrlValue|DrlContributors}}; {{{ AuthorName | }}}|;}}
|People={{#arraymap:{{Uniquify
|{{{ AuthorPage | }}};{{DrlValue|Authorlibwiki}};{{DrlValue|translatorlibwiki}};{{DrlValue|DrlContributors}};{{{ AuthorName | }}}
|;
}}
|;
|;
|@@@
|@@@
Line 333: Line 339:
|Article=
|Article=
|{{DrlValue|BuNayPageType}}
|{{DrlValue|BuNayPageType}}
}};{{DrlValue|periodical}};{{DrlValue|DrlPublisher}};{{#ifeq: {{{ ArticleLayout | }}}  
}};{{DrlValue|periodical}};{{#arraymap:{{Uniquify
|{{#if:{{DrlValue|DrlAuthor}}
|{{DrlValue|DrlAuthor}}
|{{SUBPAGENAME:{{{ AuthorPage | }}}}}
}};{{DrlValue|translatorlibwiki}};{{DrlValue|DrlContributors}}
|;
}}
|;
|@@@
|@@@
|;
}};{{DrlValue|DrlPublisher}};{{#ifeq: {{{ ArticleLayout | }}}  
| Original Content  
| Original Content  
| Editorial Content
| Editorial Content
Line 341: Line 358:
|[[Category:@@@]]
|[[Category:@@@]]
|
|
}}
}}</includeonly>
</includeonly>

Latest revision as of 04:42, 25 July 2025