Template:Article: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(771 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly>{{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 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}} }} | |||
}}{{#if: {{DrlValue|BuNayNotes}} | |||
| {{#widget:BootstrapAlert | |||
|color=warning | |||
|title=Buddha-nature Notes | |||
|text={{DrlValue|BuNayNotes}} | |||
}} | |||
| | |||
}} | |||
| | |||
}}{{TopSysopLinks|research|Article}}<noglossary> | |||
<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 | }}} | |||
</div> | | [[{{{ 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=" | </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"> | |||
<div id="articleContentWrapper" class="col-lg-9 p-0 pr-lg-3"> | |||
{{#switch:{{{ ArticleLayout | }}} | |||
|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> | ||
</div> | |||
| 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}}}}]]}} | | |||
<h3 class="mt-0 p-0 border-0 hidden">Clips from the interview</h3> | |||
{{#widget:FilterSessions | |||
|key=sessions | |||
|heading=Clips from the interview | |||
}} | |||
<div id="sessionsContent" class="row"> | |||
{{#ask: [[Event::{{#titleparts:{{SUBPAGENAME}}}}]] | |||
|?Fulltitle | |||
|?Duration | |||
|?MediaNumberInEvent | |||
|?MediaEventPage | |||
|?VideoNumberInEvent | |||
|?VideoTotalNumberInEvent | |||
|sort=VideoNumberInEvent | |||
|order=asc | |||
|format=template | |||
|template=SmallSessionTile | |||
|userparam=col-md-6 text-70 | |||
|link=none | |||
|limit=150 | |||
}} | |||
</div> | }} | }} | |||
<div> | |||
{{{ ArticleContent | }}} | |||
</div>{{#if: {{{ ArticleReferences | }}} | | |||
<h2> References </h2> | |||
{{{ ArticleReferences | }}} | | |||
<references/>}} | |||
</div> | </div> | ||
</div> | </div> | ||
</div>[[Category: | {{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> |