Template:Article: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(787 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="bnw-article-heading">
<includeonly>{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#ifsysop: {{#switch: {{{ PostStatus | }}}
<div class="bnw-article-title">{{{ ArticleTitle | }}}</div>
|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}} }}
<div>''{{{ AuthorName | }}}'' · {{{ PubDate | }}}</div>
|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}} }}
</div>
}}{{#if: {{DrlValue|BuNayNotes}}  
<div class="row mt-5">
| {{#widget:BootstrapAlert
<div class="right-side-bar sticky-container noprint col-lg-3 pl-0 order-lg-last">
|color=warning
<div class="sticky-sidemenu">
|title=Buddha-nature Notes
<div class="sticky-sidemenu-inner">
|text={{DrlValue|BuNayNotes}}
<div class="bnw-author-description">
}}  
[[{{{ AuthorImage | }}}|class=depth-1 rounded-img|link=|]]
|
}}
<span style="font-size: 1.3em;">[[{{{ AuthorPage | # }}}|{{{ AuthorName | }}}]]</span><br><em>{{{ AuthorAffiliation | }}}</em>
|
</div>
}}{{TopSysopLinks|research|Article}}<noglossary>
<div class="item-description">
''Source''


{{{ ArticleSource | }}}
<div class="bnw-article-heading d-flex justify-content-between align-items-end mb-1 mx-0">
<div class="mr-md-2">
<div class="bnw-article-title">{{{ ArticleTitle | }}}</div>{{#switch:{{{ ArticleLayout | }}}
|Simple Layout
|Original Content
|Alternate Source
|Interview=
<div>
<div class="d-md-inline-block font-italic mr-5 mr-sm-0">{{#if: {{{ AuthorName | }}}
| {{{ AuthorName | }}}
| {{#if: {{{ AuthorPage | }}}
| {{#show: {{{ AuthorPage | }}}|?MainNamePhon }}
| {{#if: {{DrlValue|Authorlibwiki}}
| {{#show: {{FirstValueOfArray|{{DrlValue|Authorlibwiki}}|;}} |?MainNamePhon }}
| {{#if: {{DrlValue|translatorlibwiki}}
| {{#show: {{FirstValueOfArray|{{DrlValue|translatorlibwiki}}|;}} |?MainNamePhon }}
| {{#if: {{DrlValue|PerformerRaw}}
| {{#show: {{FirstValueOfArray|{{DrlValue|PerformerRaw}}|;}} |?MainNamePhon }}
|
}}
}}
}}
}}
}}</div>{{#if: {{{ PubDate | }}} |
<div class="d-md-inline-block ml-md-3 border-left border-dark pl-3">{{{ PubDate | }}}</div> | }}
{{#switch: {{{ ArticleLayout | }}}
| Alternate Source=<div class="d-inline-block ml-md-3 border-left border-dark pl-3" style="color: {{{ AlternateSourceColor | }}};">{{#if: {{{ AlternateSourceLink | }}}
| {{#if: {{{ AlternateSourceLogo | }}}
| [[{{{ AlternateSourceLogo | }}}|x28px|link={{{ AlternateSourceLink | }}}]]
| {{#if: {{{ AlternateSourceName | }}}
| [{{{ AlternateSourceLink | }}} {{{ AlternateSourceName | }}}]
| {{{ AlternateSourceLink | }}}
}}
}}
|
}}</div>
|Original Content=<div class="d-md-inline-block ml-md-3 border-left border-dark pl-3 grey text-80 font-italic">Original content written for the Buddha-Nature Project.</div>
|#default=
}}
</div>
}}
</div>
<div class="d-none d-md-block">
<div class="bnw-text-watermark">{{DrlValue|BuNayPageType}}</div>
</div>
</div></noglossary>
<div class="d-md-none float-left bnw-text-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> | }}
|Interview=<div class="mb-5"></div>
|#default={{GooglePdfSearch
|{{#switch:{{DrlValue|BuNayPageType}}
|Book={{FirstValueOfArray|{{DrlValue|Authorlibwiki}}|;}}
|Article={{{AuthorName|}}}
}}
}}
}}


 
<div class="row sticky-container m-0 mt-4">
''Summary''
<div id="articleContentWrapper" class="col-lg-9 p-0 pr-lg-3">
 
{{#switch:{{{ ArticleLayout | }}}
{{{ ArticleSummary | }}}
|Academic Layout=
<div class="bnw-panel rounded p-4 mb-5 mr-lg-4 depth-1 text-90">
<div class="row">{{#if: {{{ Frontcoverimg | }}} |
<div class="col-md-3 book-cover-img mb-4">{{#widget:FancyboxImg
|src={{filepath:{{#titleparts:{{PAGENAME:{{{ Frontcoverimg | }}}}}}}}}
|src_reduced={{filepath:{{#titleparts:{{PAGENAME:{{{ Frontcoverimg | }}}}}}}|400}}
|class=depth-1 mt-2 mb-3
|caption={{{ ImageDescription | }}}
}}
</div> | }}
<div class="{{#if: {{{ Frontcoverimg | }}} | col-md-9 | col-12 }}">
{{{!}} class="table th-nowrap text-muted text-90 no-top-border-first-row th-right-align">
{{!}}-
! class="font-italic" {{!}} Citation:
{{!}} <span class="break-links">{{#if: {{{ CitationOverride | }}} | {{{ CitationOverride | }}} | {{DrlValue|citation}} }}</span> {{#if: {{DrlValue|citationofsourcetexts}} | <br>
{{!}}-
! class="font-italic" {{!}} Translated texts:
{{!}} class="disabled-red-links" {{!}} {{DrlValue|citationofsourcetexts}} | }}
{{!}}}{{#if: {{DrlValue|EncodedAbstract}}
| <div><h3> Abstract </h3>
<div>{{#urldecode:{{DrlValue|EncodedAbstract}}}}</div></div>
| {{#if: {{{ ArticleSummary | }}}
| <h3>Article Summary</h3>
<div class="{{#ifeq: {{{ DisableDropcap | }}} | Yes | no-drop-cap | drop-cap }}">{{{ ArticleSummary | }}}</div>
|
}}
}}
</div>
</div>
</div>
</div>
<hr style="margin: 2em 0;">
| 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="bnw-book-citation mb-3 text-muted clearfix">
<div class="font-italic float-left pr-1">Citation:</div>
<div class="break-links" style="display: table-cell;">{{#if: {{{ CitationOverride | }}} | {{{ CitationOverride | }}} | {{DrlValue|citation}} }}</div>
</div> | }}
<h3> Abstract </h3>
<div>{{#urldecode:{{DrlValue|EncodedAbstract}}}}</div>
</div> | }}
}}{{#ifeq: {{{ ArticleLayout | }}}
| Interview
|{{#if: {{DrlValue|LocalMediaFile}}
|Listen to Audio Only or Download mp3: <br>[[{{DrlValue|LocalMediaFile}}]]
|{{#if: {{DrlValue|pdflink}}
|[[{{DrlValue|pdflink}}]]
|
}}
}}
|
}}
<div class="bnw-article-content {{#ifeq: {{{ DisableDropcap | }}} | Yes | no-drop-cap | drop-cap }}">{{#ifeq: {{{ ArticleLayout | }}}
| Interview
|{{#if: {{{ FeaturedVideo | }}} |
{{InsertLazyYoutube|{{{ FeaturedVideo | }}}}}
<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}}}}]]}} |


<div id="sideNav">
<h3 class="mt-0 p-0 border-0 hidden">Clips from the interview</h3>
__TOC__
{{#widget:FilterSessions
 
|key=sessions
<div class="position-relative">
|heading=Clips from the interview
<div class="relatedTrigger"><i class="fal fa-angle-left" data-fa-transform="down-2"></i> Watch this!</div>
}}
<div class="relatedContent depth-3">{{#ev:youtube|biUu5zODklY}}</div>
<div id="sessionsContent" class="row">
</div>
{{#ask: [[Event::{{#titleparts:{{SUBPAGENAME}}}}]]
 
|?Fulltitle
<div class="position-relative">
|?Duration
<div class="relatedTrigger"><i class="fal fa-angle-left" data-fa-transform="down-2"></i> Articles by same author</div>
|?MediaNumberInEvent
<div class="relatedContent text depth-3">
|?MediaEventPage
* [[Some article]]
|?VideoNumberInEvent
* [[Some other article]]
|?VideoTotalNumberInEvent
* [[Some text]]
|sort=VideoNumberInEvent
* [[Some article]]
|order=asc
* [[Some article]]
|format=template
</div>
|template=SmallSessionTile
</div>
|userparam=col-md-6 text-70
|link=none
|limit=150
}}
</div> | }} | }}
<div>
{{{ ArticleContent | }}}
</div>{{#if: {{{ ArticleReferences | }}} |


<div class="position-relative">
<h2> References </h2>
<div class="relatedTrigger"><i class="fal fa-angle-left" data-fa-transform="down-2"></i> Introductory articles</div>
<div class="relatedContent text depth-3">
* [[Some article]]
* [[Some other article]]
* [[Some text]]
* [[Some article]]
* [[Some article]]
</div>
</div>


<div class="position-relative">
{{{ ArticleReferences | }}} |
<div class="relatedTrigger"><i class="fal fa-angle-left" data-fa-transform="down-2"></i> Read the scripture</div>
<div class="relatedContent text depth-3">
Read the translation of the Tathagatagarbha Sutra
Read the translation of the Uttaratantrashastra
</div>
</div>


<div class="position-relative">
<references/>}}
<div class="relatedTrigger"><i class="fal fa-angle-left" data-fa-transform="down-2"></i> Primary Source Readings</div>
<div class="relatedContent text depth-3">
Hodor. Hodor HODOR hodor, hodor hodor, hodor, hodor hodor. Hodor hodor, hodor. Hodor HODOR hodor, hodor hodor, hodor, hodor hodor. Hodor hodor - hodor hodor hodor - hodor, hodor. Hodor hodor?! Hodor hodor HODOR! Hodor HODOR hodor, hodor hodor... Hodor hodor hodor; hodor HODOR hodor, hodor hodor. Hodor. Hodor hodor HODOR! Hodor hodor hodor hodor... Hodor hodor hodor. Hodor.
</div>
</div>


<div class="position-relative">
<div class="relatedTrigger"><i class="fal fa-angle-left" data-fa-transform="down-2"></i> Translations</div>
<div class="relatedContent text depth-3">
Hodor. Hodor HODOR hodor, hodor hodor, hodor, hodor hodor. Hodor hodor, hodor. Hodor HODOR hodor, hodor hodor, hodor, hodor hodor. Hodor hodor - hodor hodor hodor - hodor, hodor. Hodor hodor?! Hodor hodor HODOR! Hodor HODOR hodor, hodor hodor... Hodor hodor hodor; hodor HODOR hodor, hodor hodor. Hodor. Hodor hodor HODOR! Hodor hodor hodor hodor... Hodor hodor hodor. Hodor.
</div>
</div>
<div class="position-relative">
<div class="relatedTrigger"><i class="fal fa-angle-left" data-fa-transform="down-2"></i> Related Academic Articles</div>
<div class="relatedContent text depth-3">
Hodor. Hodor HODOR hodor, hodor hodor, hodor, hodor hodor. Hodor hodor, hodor. Hodor HODOR hodor, hodor hodor, hodor, hodor hodor. Hodor hodor - hodor hodor hodor - hodor, hodor. Hodor hodor?! Hodor hodor HODOR! Hodor HODOR hodor, hodor hodor... Hodor hodor hodor; hodor HODOR hodor, hodor hodor. Hodor. Hodor hodor HODOR! Hodor hodor hodor hodor... Hodor hodor hodor. Hodor.
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-9">
<div class="bnw-article-content">
{{{ ArticleContent | }}}
<div id="scrollToTop">
<center>[[#top|<i class="fas fa-angle-up fa-2x mt-2" data-fa-transform="shrink-6 up-.5" data-fa-mask="fas fa-circle" style="color: rgba(0, 0, 0, 0.3);"></i>]]</center>
</div>
</div>
</div>
</div>
</div>
</div>[[Category:Articles]]
{{StickySideBar
|columns=3
|BuNayPageType={{DrlValue|BuNayPageType}}
|topics={{#ifeq: {{DrlValue|BuNayPageType}}
| Interview
|
| {{DrlValue|BuNayTopicTags}}
}}
|AuthorPage={{{ AuthorPage | }}}{{#if: {{DrlValue|PerformerRaw}} | ;{{DrlValue|PerformerRaw}} | }}
|ArticleLayout={{{ ArticleLayout | }}}
|ArticleSource={{{ ArticleSource | }}}
|ArticleSummary={{{ ArticleSummary | }}}
|authorlibwiki={{#if: {{{ AuthorPage | }}} | | {{DrlValue|Authorlibwiki}} }}
|translatorlibwiki={{DrlValue|translatorlibwiki}}
|DrlContributors={{DrlValue|DrlContributors}}
|abstract={{#urldecode:{{DrlValue|EncodedAbstract}}}}
|RelatedContent=
{{SidebarTopicsList
|topics={{DrlValue|BuNayTopicTags}}
}}
|TsadraLogoLink=Category:Editorial Content
}}
</div>{{#set:
istranslation={{DrlValue|istranslation}}
|ArticleLayout={{{ ArticleLayout | }}}
|ArticleParentPage={{{ ArticleParentPage | }}}
|Has parent page={{#switch: {{DrlValue|BuNayPageType}}
|Article=Articles
|Interview=Interviews
}}
|ArticleTitle={{{ ArticleTitle | }}}
|ArticleImage={{{ Frontcoverimg | }}}
|pdflink={{{ pdflink | }}}
|LocalMediaFile={{#if: {{{ LocalMediaFile | }}} | {{{ LocalMediaFile | }}} | {{DrlValue|LocalMediaFile}} }}
|PostToAudioStream={{{ PostToAudioStream | }}}
|Frontcoverimg={{DrlValue|frontcoverimg}}
|ImageDescription={{{ ImageDescription | }}}
|AuthorName={{{ AuthorName | }}}
|AuthorPage={{#if: {{{ AuthorPage | }}} | {{{ AuthorPage | }}} | {{DrlValue|Authorlibwiki}} }}
|AuthorImage={{{ AuthorImage | }}}
|AuthorAffiliation={{{ AuthorAffiliation | }}}
|PubDate={{{ PubDate | }}}
|Pubdate={{{ PubDate | }}}
|Eventdate={{DrlValue|Eventdate}}
|ArticleSource={{{ ArticleSource | }}}
|ArticleSummary={{{ ArticleSummary | }}}
|ArticleReferences={{{ ArticleReferences | }}}
|PostStatus={{{ PostStatus | }}}|+sep=;
|ArticleAbstract={{#urldecode:{{DrlValue|EncodedAbstract}}}}
|citation={{DrlValue|citation}}
|subclass={{DrlValue|subclass}}
|AlternateSourceName={{{ AlternateSourceName | }}}
|AlternateSourceLink={{{ AlternateSourceLink | }}}
|AlternateSourceLogo={{{ AlternateSourceLogo | }}}
|AlternateSourceColor={{{ AlternateSourceColor | }}}
|ExtraCategories={{{ ExtraCategories | }}}
|Fulltitle={{DrlValue|fulltitle}}
|BuNayFeatured={{DrlValue|BuNayFeatured}}
|BuNayTitle={{DrlValue|BuNayTitle}}
|BuNayPageType={{DrlValue|BuNayPageType}}
|BuNayRelevance={{DrlValue|BuNayRelevance}}
|BuNayLevel={{DrlValue|BuNayLevel}}
|BuNayGrade={{DrlValue|BuNayGrade}}
|BuNayApproach={{DrlValue|BuNayApproach}}|+sep=,
|BuNayKarlDescription={{DrlValue|BuNayKarlDescription}}
|BuNaySourceInfo={{DrlValue|BuNaySourceInfo}}
|BuNayRating={{DrlValue|BuNayRating}}
|BuNayMediaQual={{DrlValue|BuNayMediaQual}}
|BuNayInteractive={{DrlValue|BuNayInteractive}}
|BuNayCopyright={{DrlValue|BuNayCopyright}}
|BuNayNotes={{DrlValue|BuNayNotes}}
|BuNayKanoAvailable={{DrlValue|BuNayKanoAvailable}}
|BuNayKanoCitation={{DrlValue|BuNayKanoCitation}}
|periodical={{DrlValue|periodical}}
|PosBuNayDefProv={{DrlValue|PosBuNayDefProv}}
|PosBuNayDefProvNotes={{DrlValue|PosBuNayDefProvNotes}}
|PosDefProv={{DrlValue|PosDefProv}}
|PosDefProvNotes={{DrlValue|PosDefProvNotes}}
|PosAllBuddha={{DrlValue|PosAllBuddha}}
|PosAllBuddhaNote={{DrlValue|PosAllBuddhaNote}}
|PosAllBuddhaMoreNotes={{DrlValue|PosAllBuddhaMoreNotes}}
|PosWheelTurn={{DrlValue|PosWheelTurn}}
|PosWheelTurnNotes={{DrlValue|PosWheelTurnNotes}}
|PosYogaMadhya={{DrlValue|PosYogaMadhya}}
|PosYogaMadhyaNotes={{DrlValue|PosYogaMadhyaNotes}}
|PosZhenRang={{DrlValue|PosZhenRang}}
|PosZhenRangNotes={{DrlValue|PosZhenRangNotes}}
|PosVehicles={{DrlValue|PosVehicles}}
|PosVehiclesNotes={{DrlValue|PosVehiclesNotes}}
|PosAnalyticMedit={{DrlValue|PosAnalyticMedit}}
|PosAnalyticMeditNotes={{DrlValue|PosAnalyticMeditNotes}}
|PosEmptyLumin={{DrlValue|PosEmptyLumin}}
|PosEmptyLuminNotes={{DrlValue|PosEmptyLuminNotes}}
|PosSvataPrasa={{DrlValue|PosSvataPrasa}}
|PosSvataPrasaNotes={{DrlValue|PosSvataPrasaNotes}}
|PosVajrapada={{DrlValue|PosVajrapada}}
|BuNayPublisher={{DrlValue|DrlPublisher}}
|ValuesToRedirect={{Uniquify|{{#titleparts:{{{ ArticleTitle | }}}}};{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{DrlValue|BuNayTitle}}}};{{#titleparts:{{DrlValue|fulltitle}}}}|;}}
|People={{#arraymap:{{Uniquify
|{{{ AuthorPage | }}};{{DrlValue|Authorlibwiki}};{{DrlValue|translatorlibwiki}};{{DrlValue|DrlContributors}};{{{ AuthorName | }}}
|;
}}
|;
|@@@
|@@@
|;
}}|+sep=;
|Titles={{Uniquify|{{{ ArticleTitle | }}}; {{DrlValue|fulltitle}}; {{DrlValue|BuNayTitle}}|;}}
|BuNayTopicTags={{#arraymap:{{DrlValue|BuNayTopicTags}}|;|@@@|@@@|;}}|+sep=;
|TileDescription={{#if: {{{ TileDescription | }}}
| {{{ TileDescription | }}}
| {{#if: {{#urldecode:{{DrlValue|EncodedDescription}}}}
| {{#urldecode:{{DrlValue|EncodedDescription}}}}
| {{#if: {{{ ArticleSummary | }}}
| {{{ ArticleSummary | }}}
| {{#if: {{#urldecode:{{DrlValue|EncodedAbstract}}}}
| {{#urldecode:{{DrlValue|EncodedAbstract}}}}
| ''{{#if: {{{ CitationOverride | }}} | {{{ CitationOverride | }}} | {{DrlValue|citation}} }}''
}}
}}
}}
}}
|Description={{#urldecode:{{DrlValue|EncodedDescription}}}}
|TilePhoto={{{ TilePhoto | }}}
|Citationofsourcetexts={{DrlValue|citationofsourcetexts}}
|Sourcetitle={{DrlValue|Sourcetitle}}
|PageTilePhoto={{#if: {{{ Frontcoverimg | }}}
| {{#titleparts:{{PAGENAME:{{{ Frontcoverimg | }}}}}}}
| {{#if: {{DrlValue|frontcoverimg}}
| {{#titleparts:{{PAGENAME:{{DrlValue|frontcoverimg}}}}}}
| {{#if: {{{ AuthorPage | }}}
| {{PersonFirstImage
| {{#ifexist: People/{{{ AuthorPage | }}}
| People/{{{ AuthorPage | }}}
| {{{ AuthorPage | }}}
}}
| Rishabh-sharma-R-js25Pv1LQ-unsplash.jpg
}}
| {{#if: {{DrlValue|Authorlibwiki}}
| {{PersonFirstImage
| {{DrlValue|Authorlibwiki}}
| Rishabh-sharma-R-js25Pv1LQ-unsplash.jpg
}}
| {{#if: {{DrlValue|PerformerRaw}}
| {{PersonFirstImage
| {{FirstValueOfArray|{{DrlValue|PerformerRaw}}|;}}
| Rishabh-sharma-R-js25Pv1LQ-unsplash.jpg
}}
| Rishabh-sharma-R-js25Pv1LQ-unsplash.jpg
}}
}}
}}
}}
}}
|translator={{DrlValue|translatorlibwiki}}|+sep=;
|InvisibleFilterContent={{#arraymap:{{#if: {{{ CitationOverride | }}} | {{{ CitationOverride | }}} | {{DrlValue|citation}} }}; {{DrlValue|BuNayTitle}}; {{DrlValue|fulltitle}}; {{DrlValue|BuNayTopicTags}}; {{PeopleNames|{{DrlValue|Authorlibwiki}}; {{{ AuthorPage | }}}; {{DrlValue|translatorlibwiki}}}}; {{PeopleTopicsOtherNames|{{DrlValue|BuNayTopicTags}}}}
|;
|@@@
|@@@
|;
}}
|TibetanTitle={{DrlValue|TibetanTitle}}
|TibetanDescription={{DrlValue|TibetanDescription}}
|DrlContributors={{DrlValue|DrlContributors}}
|CitationOverride={{{ CitationOverride | }}}
|PostToRecentEssays={{{ PostToRecentEssays | }}}
}}{{#arraymap:Library Items;Articles;{{#switch: {{DrlValue|BuNayPageType}}
|Interview=Interviews
|Review=Reviews
|Article=
|{{DrlValue|BuNayPageType}}
}};{{DrlValue|periodical}};{{#arraymap:{{Uniquify
|{{{ AuthorPage | }}};{{DrlValue|Authorlibwiki}};{{DrlValue|translatorlibwiki}};{{DrlValue|DrlContributors}};{{{ AuthorName | }}}
|;
}}
|;
|@@@
|@@@
|;
}};{{DrlValue|DrlPublisher}};{{#ifeq: {{{ ArticleLayout | }}}
| Original Content
| Editorial Content
}};{{{ PostStatus | }}};{{{ ExtraCategories | }}}
|;
|@@@
|[[Category:@@@]]
|
}}</includeonly>

Latest revision as of 10:12, 1 February 2024