Difference between revisions of "Template:Book"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(199 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#get_web_data:
+
<includeonly>{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#ifsysop: {{#switch: {{{ PostStatus | }}}
url=http://research.tsadra.org/index.php?title=Special%3AAsk&q=[[{{SUBPAGENAMEE}}]]&po=frontcoverimg%0Acitation%0Aauthorlibwiki%0Atranslatorlibwiki%0Apublisherlink%0Adescription%0Atsadraitem%0Acitationofsourcetexts%0ABuNayFeatured%0ABuNayTitle%0ABuNayPageType%0ABuNayRelevance%0ABuNayLevel%0ABuNayApproach%0ABuNayKarlDescription%0ABuNaySourceInfo%0ABuNayRating%0ABuNayMediaQual%0ABuNayInteractive%0ABuNayCopyright%0ABuNayNotes%0ABuNayKanoAvailable%0ABuNayKanoCitation%0Afulltitle%0APosBuNayDefProv%0APosBuNayDefProvNotes%0APosDefProv%0APosDefProvNotes%0APosAllBuddha%0APosAllBuddhaNote%0APosAllBuddhaMoreNotes%0APosWheelTurn%0APosWheelTurnNotes%0APosYogaMadhya%0APosYogaMadhyaNotes%0APosZhenRang%0APosZhenRangNotes%0APosVehicles%0APosVehiclesNotes%0APosAnalyticMedit%0APosAnalyticMeditNotes%0APosEmptyLumin%0APosEmptyLuminNotes%0APosSvataPrasa%0APosSvataPrasaNotes%0APosVajrapada%0ADrlPublisher%0ABuNayGrade%0Aistranslation%0Asubclass%0Apubdate%0ABuNayTopicTags%0ASourceauthorlibwiki%0Aonlineeditionlink&p[format]=csv&p[sep]=,
 
|format=csv with header
 
|data=frontcoverimg=frontcoverimg,fulltitle=fulltitle,citation=citation,authorlibwiki=authorlibwiki,translatorlibwiki=translatorlibwiki,publisherlink=publisherlink,description=description,tsadraitem=tsadraitem,citationofsourcetexts=citationofsourcetexts,BuNayFeatured=BuNayFeatured,BuNayTitle=BuNayTitle,BuNayPageType=BuNayPageType,BuNayRelevance=BuNayRelevance,BuNayLevel=BuNayLevel,BuNayApproach=BuNayApproach,BuNayKarlDescription=BuNayKarlDescription,BuNaySourceInfo=BuNaySourceInfo,BuNayRating=BuNayRating,BuNayMediaQual=BuNayMediaQual,BuNayInteractive=BuNayInteractive,BuNayCopyright=BuNayCopyright,BuNayNotes=BuNayNotes,BuNayKanoAvailable=BuNayKanoAvailable,BuNayKanoCitation=BuNayKanoCitation,PosBuNayDefProv=PosBuNayDefProv,PosBuNayDefProvNotes=PosBuNayDefProvNotes,PosDefProv=PosDefProv,PosDefProvNotes=PosDefProvNotes,PosAllBuddha=PosAllBuddha,PosAllBuddhaNote=PosAllBuddhaNote,PosAllBuddhaMoreNotes=PosAllBuddhaMoreNotes,PosWheelTurn=PosWheelTurn,PosWheelTurnNotes=PosWheelTurnNotes,PosYogaMadhya=PosYogaMadhya,PosYogaMadhyaNotes=PosYogaMadhyaNotes,PosZhenRang=PosZhenRang,PosZhenRangNotes=PosZhenRangNotes,PosVehicles=PosVehicles,PosVehiclesNotes=PosVehiclesNotes,PosAnalyticMedit=PosAnalyticMedit,PosAnalyticMeditNotes=PosAnalyticMeditNotes,PosEmptyLumin=PosEmptyLumin,PosEmptyLuminNotes=PosEmptyLuminNotes,PosSvataPrasa=PosSvataPrasa,PosSvataPrasaNotes=PosSvataPrasaNotes,PosVajrapada=PosVajrapada,DrlPublisher=DrlPublisher,BuNayGrade=BuNayGrade,istranslation=istranslation,subclass=subclass,pubdate=pubdate,BuNayTopicTags=BuNayTopicTags,Sourceauthorlibwiki=Sourceauthorlibwiki,onlineeditionlink=onlineeditionlink
 
}}{{#set:
 
istranslation={{#external_value:istranslation}}
 
|subclass={{#external_value:subclass}}
 
|frontcoverimg={{#external_value:frontcoverimg}}
 
|citation={{#external_value:citation}}
 
|fulltitle={{#external_value:fulltitle}}
 
|BuNayAuthor={{#external_value:authorlibwiki}}|+sep=;
 
|AuthorRaw={{#external_value:authorlibwiki}}
 
|translator={{#external_value:translatorlibwiki}}|+sep=;
 
|publisherlink={{#external_value:publisherlink}}
 
|description={{#external_value:description}}
 
|tsadraitem={{#external_value:tsadraitem}}
 
|citationofsourcetexts={{#external_value:citationofsourcetexts}}
 
|BuNayFeatured={{#external_value:BuNayFeatured}}
 
|BuNayTitle={{#external_value:BuNayTitle}}
 
|BuNayPageType={{#external_value:BuNayPageType}}
 
|BuNayRelevance={{#external_value:BuNayRelevance}}
 
|BuNayLevel={{#external_value:BuNayLevel}}|+sep=,
 
|BuNayGrade={{#external_value:BuNayGrade}}
 
|BuNayApproach={{#external_value:BuNayApproach}}|+sep=,
 
|BuNayKarlDescription={{#external_value:BuNayKarlDescription}}
 
|BuNaySourceInfo={{#external_value:BuNaySourceInfo}}
 
|BuNayRating={{#external_value:BuNayRating}}
 
|BuNayMediaQual={{#external_value:BuNayMediaQual}}
 
|BuNayInteractive={{#external_value:BuNayInteractive}}
 
|BuNayCopyright={{#external_value:BuNayCopyright}}
 
|BuNayNotes={{#external_value:BuNayNotes}}
 
|BuNayKanoAvailable={{#external_value:BuNayKanoAvailable}}
 
|BuNayKanoCitation={{#external_value:BuNayKanoCitation}}
 
|PosBuNayDefProv={{#external_value:PosBuNayDefProv}}
 
|PosBuNayDefProvNotes={{#external_value:PosBuNayDefProvNotes}}
 
|PosDefProv={{#external_value:PosDefProv}}
 
|PosDefProvNotes={{#external_value:PosDefProvNotes}}
 
|PosAllBuddha={{#external_value:PosAllBuddha}}
 
|PosAllBuddhaNote={{#external_value:PosAllBuddhaNote}}
 
|PosAllBuddhaMoreNotes={{#external_value:PosAllBuddhaMoreNotes}}
 
|PosWheelTurn={{#external_value:PosWheelTurn}}
 
|PosWheelTurnNotes={{#external_value:PosWheelTurnNotes}}
 
|PosYogaMadhya={{#external_value:PosYogaMadhya}}
 
|PosYogaMadhyaNotes={{#external_value:PosYogaMadhyaNotes}}
 
|PosZhenRang={{#external_value:PosZhenRang}}
 
|PosZhenRangNotes={{#external_value:PosZhenRangNotes}}
 
|PosVehicles={{#external_value:PosVehicles}}
 
|PosVehiclesNotes={{#external_value:PosVehiclesNotes}}
 
|PosAnalyticMedit={{#external_value:PosAnalyticMedit}}
 
|PosAnalyticMeditNotes={{#external_value:PosAnalyticMeditNotes}}
 
|PosEmptyLumin={{#external_value:PosEmptyLumin}}
 
|PosEmptyLuminNotes={{#external_value:PosEmptyLuminNotes}}
 
|PosSvataPrasa={{#external_value:PosSvataPrasa}}
 
|PosSvataPrasaNotes={{#external_value:PosSvataPrasaNotes}}
 
|PosVajrapada={{#external_value:PosVajrapada}}
 
|Pubdate={{#external_value:pubdate}}
 
|BuNayPublisher={{#external_value:DrlPublisher}}
 
|FullTextRead={{{ FullTextRead | }}}
 
|FullTextLink={{{ FullTextLink | }}}
 
|FullTextLinkLabel={{{ FullTextLinkLabel | }}}
 
|VideoService={{{ VideoService | }}}
 
|VideoId={{{ VideoId | }}}
 
|BookEssay={{{ BookEssay | }}}
 
|BookToc={{{ BookToc | }}}
 
|BookPerson={{{ BookPerson | }}}
 
|PublisherLogo={{{ PublisherLogo | }}}
 
|PostStatus={{{ PostStatus | }}}
 
|BookParentPage={{{ BookParentPage | }}}
 
|Has parent page={{#switch: {{#external_value:BuNayPageType}}
 
|Book=Books
 
|Dissertation=Dissertations
 
}}
 
|QuotesTabContent={{{ QuotesTabContent | }}}
 
|AddRelatedTab={{{ AddRelatedTab | }}}
 
|ExtraCategories={{{ ExtraCategories | }}}
 
|ValuesToRedirect={{SUBPAGENAME}};{{#external_value:BuNayTitle}};{{#external_value:fulltitle}}
 
|People={{#arraymap:{{#external_value:authorlibwiki}}; {{#external_value:translatorlibwiki}}; {{#external_value:Sourceauthorlibwiki}}
 
|;
 
|@@@
 
|@@@
 
|;
 
}};{{#arraymap:{{#external_value:authorlibwiki}}
 
|;
 
|@@@
 
|{{#show: @@@|?Namefirst }} {{#show: @@@|?Namelast }}
 
|;
 
}}|+sep=;
 
|Titles={{SUBPAGENAME}};{{#external_value:BuNayTitle}};{{#external_value:fulltitle}}
 
|BuNayTopicTags={{#external_value:BuNayTopicTags}}|+sep=;
 
|TextTranslated={{{ TextTranslated | }}}
 
|OnlineEditionLink={{#external_value:onlineeditionlink}}
 
|TileDescription={{{ TileDescription | }}}
 
}}{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#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}} }}
}}{{#if: {{#external_value:BuNayNotes}} | {{#widget:BootstrapAlert|color=warning|title=Buddha-nature Notes|text={{#external_value:BuNayNotes}}}} | }}{{DISPLAYTITLE:{{#external_value:BuNayTitle}}}}
+
}}{{#if: {{GetBookValue|BuNayNotes}}  
 +
| {{#widget:BootstrapAlert
 +
|color=warning
 +
|title=Buddha-nature Notes
 +
|text={{GetBookValue|BuNayNotes}}
 +
}}
 +
|
 +
}} | }}{{DISPLAYTITLE:{{GetBookValue|BuNayTitle}}}}
 
<div class="bnw-book-page">
 
<div class="bnw-book-page">
{{TopSysopLinks|research|Book}}{{TopLevelModule|{{#external_value:BuNayGrade}}}}<noglossary>
+
{{TopSysopLinks|research|Book}}<!--{{TopLevelModule|{{GetBookValue|BuNayGrade}}}}--><noglossary>
<div class="h1 row position-relative mb-1">
+
<div class="h1 d-flex justify-content-between align-items-end mb-1 mx-0">
<div class="col-lg-10">{{#external_value:BuNayTitle}}{{#if: {{{ TextTranslated | }}} | &nbsp; <span class="font-italic" style="font-size: .4em;">Translation of [[{{{ TextTranslated | }}}|{{#show:{{{ TextTranslated | }}}|?Fulltitletrans}}]]</span><div class="d-inline ml-1 align-middle link-no-border">[[{{#if: {{#show: {{{ TextTranslated | }}} |?CoverFile# }} | {{#show: {{{ TextTranslated | }}} |?CoverFile# }} |File:Sutra.jpg}} | class=depth-0  | x20px | link={{{ TextTranslated | }}}]]</div> | }}</div>
+
<div>{{GetBookValue|BuNayTitle}} {{#if: {{{ TextTranslated | }}}  
<div class="col-lg-2 d-flex pt-2 pt-lg-0 justify-content-end align-items-end">
+
|<div class="font-italic my-1" style="font-size: .4em;">Translation of {{#arraymap: {{{ TextTranslated | }}}
<div class="bnw-text-watermark" style="white-space: nowrap;">{{#switch:{{#external_value:BuNayPageType}}
+
|;
|Dissertation={{#switch:{{#external_value:subclass}}
+
|@@@
|PhD diss.=PhD Dissertation
+
|[[@@@|{{#if:{{#show:@@@|?fulltitletrans}}|{{#show:@@@|?fulltitletrans}}|{{SUBPAGENAME:@@@}}}}]]
|MA Theses=MA Thesis
+
|,&nbsp;
 +
}}
 +
</div>
 +
|  
 +
}}
 +
</div>
 +
<div class="d-none d-md-block">
 +
<div class="bnw-text-watermark" style="white-space: nowrap;">{{#switch:{{GetBookValue|BuNayPageType}}
 +
|Dissertation={{#switch:{{GetBookValue|subclass}}
 +
|PhD diss.=Dissertation
 +
|MA Theses=Thesis
 +
}}
 +
|Book={{#switch:{{GetBookValue|subclass}}
 +
|Journal Issues=Journal Issue
 +
|{{GetBookValue|BuNayPageType}}
 +
}}
 +
|{{GetBookValue|BuNayPageType}}
 
}}
 
}}
|{{#external_value:BuNayPageType}}
 
}}
 
 
</div>
 
</div>
 
</div>
 
</div>
 
</div></noglossary>
 
</div></noglossary>
 +
<div class="d-md-none bnw-text-watermark float-left" style="white-space: nowrap;">{{#switch:{{GetBookValue|BuNayPageType}}
 +
|Dissertation={{#switch:{{GetBookValue|subclass}}
 +
|PhD diss.=Dissertation
 +
|MA Theses=Thesis
 +
|Thesis
 +
}}
 +
|Book={{#switch:{{GetBookValue|subclass}}
 +
|Journal Issues=Journal Issue
 +
|{{GetBookValue|BuNayPageType}}
 +
}}
 +
|{{GetBookValue|BuNayPageType}}
 +
}}
 +
</div>
 
{{GooglePdfSearch
 
{{GooglePdfSearch
|{{#switch:{{#external_value:BuNayPageType}}
+
|{{#switch:{{GetBookValue|BuNayPageType}}
|Book={{FirstValueOfArray|{{#external_value:authorlibwiki}}|;}}
+
|Book={{FirstValueOfArray|{{GetBookValue|authorlibwiki}}|;}}
 
|Article={{{AuthorName|}}}
 
|Article={{{AuthorName|}}}
 
}}
 
}}
 
}}
 
}}
+
 
 
<div class="row sticky-container">
 
<div class="row sticky-container">
 
<div class="col-lg-9 mb-3 mb-sm-0 p-0">
 
<div class="col-lg-9 mb-3 mb-sm-0 p-0">
<div class="bnw-panel rounded depth-2 p-5 mr-lg-4">
+
<div class="bnw-panel rounded depth-2 p-4 p-lg-5 mr-lg-4">
<div class="row">{{#if: {{#external_value:frontcoverimg}} |
+
<div class="row">{{#if: {{GetBookValue|frontcoverimg}} |
<div class="col-md-3 book-cover-img">[[{{#external_value:frontcoverimg}}|class=depth-1 mt-2 mb-3|link=|]]{{#if: {{#external_value:onlineeditionlink}} |
+
<div class="col-md-3 book-cover-img mb-4">{{#widget:FancyboxImg
 +
|src={{filepath:{{#titleparts:{{PAGENAME:{{GetBookValue|frontcoverimg}}}}}}}}
 +
|src_reduced={{filepath:{{#titleparts:{{PAGENAME:{{GetBookValue|frontcoverimg}}}}}}|400}}
 +
|class=depth-1 mt-2 mb-3
 +
|caption={{GetBookValue|citation}}
 +
}}{{#if: {{GetBookValue|onlineeditionlink}}{{GetBookValue|Onlineeditionlinkraw}}{{GetBookValue|TsadraEpubLink}} |
 
<div class="plainlinks read-now-link text-center nowrap">
 
<div class="plainlinks read-now-link text-center nowrap">
[{{#external_value:onlineeditionlink}} <i class="fal fa-book-open"></i> Read Online <i class="fal fa-external-link-alt fa-xs"></i>]
+
[{{#if: {{GetBookValue|TsadraEpubLink}}
 +
| {{GetBookValue|TsadraEpubLink}}
 +
| {{#if: {{GetBookValue|Onlineeditionlinkraw}}
 +
| {{GetBookValue|Onlineeditionlinkraw}}
 +
| {{GetBookValue|onlineeditionlink}}
 +
}}
 +
}} <i class="fad fa-book-open"></i> Read Online <i class="fad fa-external-link-alt fa-xs"></i>]
 
</div> | }}
 
</div> | }}
 
</div> | }}
 
</div> | }}
<div class="{{#if: {{#external_value:frontcoverimg}} | col-md-9 | col-12 }}">
+
<div class="{{#if: {{GetBookValue|frontcoverimg}} | col-md-9 | col-12 }}">
{{#external_value:description}}{{#ifeq: {{{ FullTextRead | }}} | Yes |
+
{{#urldecode:{{GetBookValue|EncodedDescription}}}}{{#ifeq: {{{ FullTextRead | }}} | Yes |
 
<div class="read-now-link">
 
<div class="read-now-link">
 
[[{{{ FullTextLink | }}}|<i class="fas fa-book-open"></i> {{{ FullTextLinkLabel | }}} <i class="fas fa-angle-right"></i>]]
 
[[{{{ FullTextLink | }}}|<i class="fas fa-book-open"></i> {{{ FullTextLinkLabel | }}} <i class="fas fa-angle-right"></i>]]
 +
</div> | }}{{#if: {{{ PdfQRcode | }}} |
 +
<div class="text-center mt-4">[[{{{ PdfQRcode | }}}|150px|class=border depth-1|link={{{ PdfQRcodeLink | }}}]]
 +
<div class="text-80 mt-2">Scan to download PDF</div>
 
</div> | }}
 
</div> | }}
 
</div>
 
</div>
 
</div>{{#if: {{{ VideoId | {{{ VideoService | }}} }}} |
 
</div>{{#if: {{{ VideoId | {{{ VideoService | }}} }}} |
  
<hr class="mt-5 mb-5">
+
<hr class="my-4 my-lg-5">
  
 
<center>{{#ev: {{{ VideoService | }}} | {{{ VideoId | }}} }}</center>| }}
 
<center>{{#ev: {{{ VideoService | }}} | {{{ VideoId | }}} }}</center>| }}
  
{| class="table bnw-book-citation"
+
{| class="table bnw-book-citation mt-4 mb-0"
 
|-
 
|-
 
! class="nowrap" | Citation
 
! class="nowrap" | Citation
| {{#external_value:citation}} {{#if: {{{ SubPages | }}} | <br>
+
| {{GetBookValue|citation}}
{{!}}-
+
|-
! class="nowrap" {{!}} Book Excerpts
+
!
{{!}} {{{ SubPages | }}} | }}
+
|
 
|}
 
|}
</div>
+
<div class="d-flex justify-content-center flex-wrap">{{#if: {{{ SubPages | }}} |
 
+
{{{ SubPages | }}} |
 
+
{{#ask: [[Category:Book Excerpts]][[Category:{{SUBPAGENAME}}||{{PAGENAME}}]]
<div class="bnw-tabs mr-lg-4">
+
|?ExcerptImage
<div class="bnw-tabs-header">{{#if: {{{ BookEssay | }}} |
+
|format=template
<div class="bnw-tabs-label" id="book-about">About the book</div> | }}{{#if: {{{ BookToc | }}} |
+
|template=BookExcerptsList
<div class="bnw-tabs-label" id="book-toc">Table of Contents</div> | }}{{#if: {{#external_value:citationofsourcetexts}} |  
+
|link=none
<div class="bnw-tabs-label" id="book-sources">Texts Translated</div> | }}{{#ifeq: {{{ AddRelatedTab | }}} | Yes |
+
}}
<div class="bnw-tabs-label" id="book-related">Related Content</div> | }}{{#if: {{{ QuotesTabContent | }}} |
+
}}
<div class="bnw-tabs-label" id="book-quotes">Quotes</div> | }}
 
 
</div>
 
</div>
<div class="bnw-tabs-content">{{#if: {{{ BookEssay | }}} |
+
{{#widget:BookNavTabs
<div class="bnw-tabs-content-layer">
+
|essayTab={{#if: {{{ BookEssay | }}} | d-block | d-none }}
<div class="drop-cap">
+
|sourcesTab={{#if: {{GetBookValue|citationofsourcetexts}} | d-block | d-none }}
{{{ BookEssay | }}}</div>
+
|quoteTab={{#if: {{{ QuotesTabContent | }}} | d-block | d-none }}
</div> | }}{{#if: {{{ BookToc | }}} |
+
}}
<div class="bnw-tabs-content-layer book-toc depth-1"><noglossary>
+
<div class="tab-content" id="nav-tabContent">
{{{ BookToc | }}}</noglossary></div> | }}{{#if: {{#external_value:citationofsourcetexts}} |
+
  <div class="tab-pane fade book-toc show active first-ul-no-left-margin" id="nav-toc" role="tabpanel" aria-labelledby="nav-toc-tab"><noglossary>
<div class="bnw-tabs-content-layer book-sources">
+
{{{ BookToc | }}}</noglossary></div>
{{#external_value:citationofsourcetexts}}
+
  <div class="tab-pane fade drop-cap" id="nav-about" role="tabpanel" aria-labelledby="nav-about-tab">
</div> | }}{{#ifeq: {{{ AddRelatedTab | }}} | Yes |
+
  {{{ BookEssay | }}}</div>
<div class="bnw-tabs-content-layer book-related">
+
  <div class="tab-pane fade disabled-red-links" id="nav-translated" role="tabpanel" aria-labelledby="nav-translated-tab">{{GetBookValue|citationofsourcetexts}}</div><!--{{#ifeq: {{{ AddRelatedTab | }}} | Yes |  
</div> | }}{{#if: {{{ QuotesTabContent | }}} |
+
  <div class="tab-pane fade" id="nav-related" role="tabpanel" aria-labelledby="nav-related-tab"></div> | }}-->{{#if: {{{ QuotesTabContent | }}} |
<div class="bnw-tabs-content-layer book-quotes">
+
  <div class="tab-pane fade" id="nav-quotes" role="tabpanel" aria-labelledby="nav-quotes-tab">{{{ QuotesTabContent | }}}</div> | }}
{{{ QuotesTabContent | }}}
 
</div> | }}
 
 
</div>
 
</div>
 
</div>
 
</div>
 +
 
</div>
 
</div>
 
{{StickySideBar
 
{{StickySideBar
 
|columns=3
 
|columns=3
|BuNayGrade={{#external_value:BuNayGrade}}
+
|BuNayPageType={{GetBookValue|BuNayPageType}}
|BuNayPageType={{#external_value:BuNayPageType}}
 
 
|BookPerson={{{ BookPerson | }}}
 
|BookPerson={{{ BookPerson | }}}
|TsadraItem={{#external_value:tsadraitem}}
+
|authorlibwiki={{GetBookValue|authorlibwiki}}
 +
|translatorlibwiki={{GetBookValue|translatorlibwiki}}
 +
|DrlContributors={{GetBookValue|contributorslibwiki}}
 +
|topics={{GetBookValue|BuNayTopicTags}}
 +
|TsadraItem={{GetBookValue|tsadraitem}}
 
|TsadraLogoLink=Category:Tsadra Foundation Series
 
|TsadraLogoLink=Category:Tsadra Foundation Series
|DrlPublisher={{#external_value:DrlPublisher}}
+
|DrlPublisher={{GetBookValue|DrlPublisher}}
|PublisherLink={{#external_value:publisherlink}}
+
|PublisherLink={{GetBookValue|publisherlink}}
 
|PublisherLogo={{{ PublisherLogo | }}}
 
|PublisherLogo={{{ PublisherLogo | }}}
 
|RelatedContent=
 
|RelatedContent=
{{RelatedVideo
+
{{SidebarTopicsList
|label=Related Video
+
|topics={{GetBookValue|BuNayTopicTags}}
|service=youtube
 
|id=biUu5zODklY
 
}}
 
{{RelatedTilesQuery
 
|label=Introductory Content
 
|query=[[BuNayGrade::I]]
 
}}
 
{{RelatedTilesQuery
 
|label=Read the scripture
 
|pages=Ratnagotravibhāga_Mahāyānottaratantraśāstra; Ratnagotravibhāgavyākhyā; Mahāyānottaratantraśāstraṭippanī; Mahāyānottaratantraśāstropadeśa; When the Clouds Part
 
 
}}
 
}}
 
}}
 
}}
 
</div>
 
</div>
</div>{{CreateRedirects
+
</div>{{#ifeq: {{{ StopPersonRedirects | }}}
|{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{#external_value:BuNayTitle}}}};{{#titleparts:{{#external_value:fulltitle}}}}
+
| Yes
}}{{#arraymap:Library Items;Books;{{#external_value:DrlPublisher}};{{{ ExtraCategories | }}}
+
|
 +
|{{CreateRedirects
 +
|{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{GetBookValue|BuNayTitle}}}};{{#titleparts:{{GetBookValue|fulltitle}}}}
 +
}}
 +
}}{{#arraymap:Library Items;Books;{{GetBookValue|authorlibwiki}};{{GetBookValue|translatorlibwiki}};{{GetBookValue|DrlPublisher}};{{{ PostStatus | }}};{{#ifeq: {{GetBookValue|tsadraitem}} | true | Tsadra Foundation Series; | }}{{{ ExtraCategories | }}}
 
|;
 
|;
 
|@@@
 
|@@@
 
|[[Category:@@@]]
 
|[[Category:@@@]]
 
|
 
|
 +
}}{{#set:
 +
istranslation={{GetBookValue|istranslation}}
 +
|subclass={{GetBookValue|subclass}}
 +
|frontcoverimg={{GetBookValue|frontcoverimg}}
 +
|citation={{GetBookValue|citation}}
 +
|fulltitle={{GetBookValue|fulltitle}}
 +
|BuNayAuthor={{GetBookValue|authorlibwiki}}|+sep=;
 +
|AuthorRaw={{GetBookValue|authorlibwiki}}
 +
|translator={{GetBookValue|translatorlibwiki}}|+sep=;
 +
|publisherlink={{GetBookValue|publisherlink}}
 +
|description={{#urldecode:{{GetBookValue|EncodedDescription}}}}
 +
|tsadraitem={{GetBookValue|tsadraitem}}
 +
|citationofsourcetexts={{GetBookValue|citationofsourcetexts}}
 +
|BuNayFeatured={{GetBookValue|BuNayFeatured}}
 +
|BuNayTitle={{GetBookValue|BuNayTitle}}
 +
|BuNayPageType={{GetBookValue|BuNayPageType}}
 +
|BuNayRelevance={{GetBookValue|BuNayRelevance}}
 +
|BuNayLevel={{GetBookValue|BuNayLevel}}|+sep=,
 +
|BuNayGrade={{GetBookValue|BuNayGrade}}
 +
|BuNayApproach={{GetBookValue|BuNayApproach}}|+sep=,
 +
|BuNayKarlDescription={{GetBookValue|BuNayKarlDescription}}
 +
|BuNaySourceInfo={{GetBookValue|BuNaySourceInfo}}
 +
|BuNayRating={{GetBookValue|BuNayRating}}
 +
|BuNayMediaQual={{GetBookValue|BuNayMediaQual}}
 +
|BuNayInteractive={{GetBookValue|BuNayInteractive}}
 +
|BuNayCopyright={{GetBookValue|BuNayCopyright}}
 +
|BuNayNotes={{GetBookValue|BuNayNotes}}
 +
|BuNayKanoAvailable={{GetBookValue|BuNayKanoAvailable}}
 +
|BuNayKanoCitation={{GetBookValue|BuNayKanoCitation}}
 +
|PosBuNayDefProv={{GetBookValue|PosBuNayDefProv}}
 +
|PosBuNayDefProvNotes={{GetBookValue|PosBuNayDefProvNotes}}
 +
|PosDefProv={{GetBookValue|PosDefProv}}
 +
|PosDefProvNotes={{GetBookValue|PosDefProvNotes}}
 +
|PosAllBuddha={{GetBookValue|PosAllBuddha}}
 +
|PosAllBuddhaNote={{GetBookValue|PosAllBuddhaNote}}
 +
|PosAllBuddhaMoreNotes={{GetBookValue|PosAllBuddhaMoreNotes}}
 +
|PosWheelTurn={{GetBookValue|PosWheelTurn}}
 +
|PosWheelTurnNotes={{GetBookValue|PosWheelTurnNotes}}
 +
|PosYogaMadhya={{GetBookValue|PosYogaMadhya}}
 +
|PosYogaMadhyaNotes={{GetBookValue|PosYogaMadhyaNotes}}
 +
|PosZhenRang={{GetBookValue|PosZhenRang}}
 +
|PosZhenRangNotes={{GetBookValue|PosZhenRangNotes}}
 +
|PosVehicles={{GetBookValue|PosVehicles}}
 +
|PosVehiclesNotes={{GetBookValue|PosVehiclesNotes}}
 +
|PosAnalyticMedit={{GetBookValue|PosAnalyticMedit}}
 +
|PosAnalyticMeditNotes={{GetBookValue|PosAnalyticMeditNotes}}
 +
|PosEmptyLumin={{GetBookValue|PosEmptyLumin}}
 +
|PosEmptyLuminNotes={{GetBookValue|PosEmptyLuminNotes}}
 +
|PosSvataPrasa={{GetBookValue|PosSvataPrasa}}
 +
|PosSvataPrasaNotes={{GetBookValue|PosSvataPrasaNotes}}
 +
|PosVajrapada={{GetBookValue|PosVajrapada}}
 +
|Pubdate={{GetBookValue|pubdate}}
 +
|BuNayPublisher={{GetBookValue|DrlPublisher}}
 +
|FullTextRead={{{ FullTextRead | }}}
 +
|FullTextLink={{{ FullTextLink | }}}
 +
|FullTextLinkLabel={{{ FullTextLinkLabel | }}}
 +
|VideoService={{{ VideoService | }}}
 +
|VideoId={{{ VideoId | }}}
 +
|BookEssay={{{ BookEssay | }}}
 +
|BookToc={{{ BookToc | }}}
 +
|BookPerson={{{ BookPerson | }}}
 +
|PublisherLogo={{{ PublisherLogo | }}}
 +
|PostStatus={{{ PostStatus | }}}
 +
|BookParentPage={{{ BookParentPage | }}}
 +
|Has parent page={{#switch: {{GetBookValue|BuNayPageType}}
 +
|Book=Books
 +
|Dissertation=Dissertations
 +
}}
 +
|QuotesTabContent={{{ QuotesTabContent | }}}
 +
|AddRelatedTab={{{ AddRelatedTab | }}}
 +
|ExtraCategories={{{ ExtraCategories | }}}
 +
|ValuesToRedirect={{#ifeq: {{{ StopPersonRedirects | }}}
 +
|Yes
 +
|
 +
|{{SUBPAGENAME}};{{GetBookValue|BuNayTitle}};{{GetBookValue|fulltitle}}
 +
}}
 +
|People={{#arraymap:{{GetBookValue|authorlibwiki}}; {{GetBookValue|translatorlibwiki}}; {{GetBookValue|Editorlibwiki}}; {{GetBookValue|contributorslibwiki}}; {{GetBookValue|Sourceauthorlibwiki}}
 +
|;
 +
|@@@
 +
|@@@
 +
|;
 +
}};{{#arraymap:{{GetBookValue|authorlibwiki}}
 +
|;
 +
|@@@
 +
|{{#show: @@@|?Namefirst }} {{#show: @@@|?Namelast }}
 +
|;
 +
}}|+sep=;
 +
|Titles={{SUBPAGENAME}};{{GetBookValue|BuNayTitle}};{{GetBookValue|fulltitle}}
 +
|BuNayTopicTags={{GetBookValue|BuNayTopicTags}}|+sep=;
 +
|TextTranslated={{{ TextTranslated | }}}|+sep=;
 +
|OnlineEditionLink={{GetBookValue|onlineeditionlink}}
 +
|TileDescription={{#if: {{{ TileDescription | }}}
 +
| {{{ TileDescription | }}}
 +
| {{#if: {{#urldecode:{{GetBookValue|EncodedDescription}}}}
 +
| {{#urldecode:{{GetBookValue|EncodedDescription}}}}
 +
| ''{{GetBookValue|citation}}''
 +
}}
 +
}}
 +
|PageTilePhoto={{#if: {{GetBookValue|frontcoverimg}}
 +
| {{#titleparts:{{PAGENAME:{{GetBookValue|frontcoverimg}}}}}}
 +
| {{#if: {{GetBookValue|authorlibwiki}}
 +
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{GetBookValue|authorlibwiki}}|;}}|?FirstImage#}}}}}}
 +
| {{#if: {{GetBookValue|translatorlibwiki}}
 +
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{GetBookValue|translatorlibwiki}}|;}}|?FirstImage#}}}}}}
 +
| {{#if: {{GetBookValue|Editorlibwiki}}
 +
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{GetBookValue|Editorlibwiki}}|;}}|?FirstImage#}}}}}}
 +
| {{#if: {{GetBookValue|Sourceauthorlibwiki}}
 +
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{GetBookValue|Sourceauthorlibwiki}}|;}}|?FirstImage#}}}}}}
 +
|
 +
}}
 +
}}
 +
}}
 +
}}
 +
}}
 +
|Editors={{GetBookValue|Editorlibwiki}}
 +
|InvisibleFilterContent={{#arraymap:{{GetBookValue|citation}}; {{GetBookValue|BuNayTitle}}; {{GetBookValue|BuNayTopicTags}}; {{PeopleNames|{{GetBookValue|authorlibwiki}}; {{{ AuthorPage | }}}; {{GetBookValue|translatorlibwiki}}}}; {{PeopleTopicsOtherNames|{{GetBookValue|BuNayTopicTags}}}}; {{GetBookValue|fulltitle}}; {{GetBookValue|Sourceauthorlibwiki}}
 +
|;
 +
|@@@
 +
|@@@
 +
|;
 +
}}
 +
|TibetanTitle={{GetBookValue|TibetanTitle}}
 +
|TibetanDescription={{GetBookValue|TibetanDescription}}
 +
|DrlContributors={{GetBookValue|contributorslibwiki}}
 
}}</includeonly><noinclude>{{TemplateTag}}</noinclude>
 
}}</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 12:43, 5 September 2023