Template:Book: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(431 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{# | <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: {{GetBookValue|BuNayNotes}} | |||
| {{#widget:BootstrapAlert | |||
|color=warning | |||
|title=Buddha-nature Notes | |||
|text={{GetBookValue|BuNayNotes}} | |||
}} | |||
| | |||
}} | }}{{DISPLAYTITLE:{{GetBookValue|BuNayTitle}}}} | |||
<div class="bnw-book-page"> | |||
{{TopSysopLinks|research|Book}}<!--{{TopLevelModule|{{GetBookValue|BuNayGrade}}}}--><noglossary> | |||
<div class="h1 d-flex justify-content-between align-items-end mb-1 mx-0"> | |||
<div>{{GetBookValue|BuNayTitle}} {{#if: {{{ TextTranslated | }}} | |||
|<div class="font-italic my-1" style="font-size: .4em;">Translation of {{#arraymap: {{{ TextTranslated | }}} | |||
|; | |||
|@@@ | |||
|[[@@@|{{#if:{{#show:@@@|?fulltitletrans}}|{{#show:@@@|?fulltitletrans}}|{{SUBPAGENAME:@@@}}}}]] | |||
|, | |||
}} | |||
</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}} | |||
}} | |||
</div> | |||
</div> | |||
</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 | |||
|{{#switch:{{GetBookValue|BuNayPageType}} | |||
|Book={{FirstValueOfArray|{{GetBookValue|authorlibwiki}}|;}} | |||
|Article={{{AuthorName|}}} | |||
}} | |||
}} | |||
<div class="row sticky-container"> | |||
<div class="col-lg-9 mb-3 mb-sm-0 p-0"> | |||
<div class="bnw-panel rounded depth-2 p-4 p-lg-5 mr-lg-4"> | |||
<div class="row">{{#if: {{GetBookValue|frontcoverimg}} | | |||
<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"> | |||
[{{#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 class="{{#if: {{GetBookValue|frontcoverimg}} | col-md-9 | col-12 }}"> | |||
{{#urldecode:{{GetBookValue|EncodedDescription}}}}{{#ifeq: {{{ FullTextRead | }}} | Yes | | |||
<div class="read-now-link"> | |||
[[{{{ 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>{{#if: {{{ VideoId | {{{ VideoService | }}} }}} | | |||
<hr class="my-4 my-lg-5"> | |||
<center>{{#ev: {{{ VideoService | }}} | {{{ VideoId | }}} }}</center>| }} | |||
{| class="table bnw-book-citation mt-4 mb-0" | |||
|- | |||
! class="nowrap" | Citation | |||
| {{GetBookValue|citation}} | |||
|- | |||
! | |||
| | |||
|} | |||
<div class="d-flex justify-content-center flex-wrap">{{#if: {{{ SubPages | }}} | | |||
{{{ SubPages | }}} | | |||
{{#ask: [[Category:Book Excerpts]][[Category:{{SUBPAGENAME}}||{{PAGENAME}}]] | |||
|?ExcerptImage | |||
|format=template | |||
|template=BookExcerptsList | |||
|link=none | |||
}} | |||
}} | |||
</div> | |||
{{#widget:BookNavTabs | |||
|essayTab={{#if: {{{ BookEssay | }}} | d-block | d-none }} | |||
|sourcesTab={{#if: {{GetBookValue|citationofsourcetexts}} | d-block | d-none }} | |||
|quoteTab={{#if: {{{ QuotesTabContent | }}} | d-block | d-none }} | |||
}} | |||
<div class="tab-content" id="nav-tabContent"> | |||
<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> | |||
{{{ BookToc | }}}</noglossary></div> | |||
<div class="tab-pane fade drop-cap" id="nav-about" role="tabpanel" aria-labelledby="nav-about-tab"> | |||
{{{ BookEssay | }}}</div> | |||
<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 class="tab-pane fade" id="nav-related" role="tabpanel" aria-labelledby="nav-related-tab"></div> | }}-->{{#if: {{{ QuotesTabContent | }}} | | |||
<div class="tab-pane fade" id="nav-quotes" role="tabpanel" aria-labelledby="nav-quotes-tab">{{{ QuotesTabContent | }}}</div> | }} | |||
</div> | |||
</div> | |||
</div> | |||
{{StickySideBar | |||
|columns=3 | |||
|BuNayPageType={{GetBookValue|BuNayPageType}} | |||
|BookPerson={{{ BookPerson | }}} | |||
|authorlibwiki={{GetBookValue|authorlibwiki}} | |||
|translatorlibwiki={{GetBookValue|translatorlibwiki}} | |||
|DrlContributors={{GetBookValue|contributorslibwiki}} | |||
|topics={{GetBookValue|BuNayTopicTags}} | |||
|TsadraItem={{GetBookValue|tsadraitem}} | |||
|TsadraLogoLink=Category:Tsadra Foundation Series | |||
|DrlPublisher={{GetBookValue|DrlPublisher}} | |||
|PublisherLink={{GetBookValue|publisherlink}} | |||
|PublisherLogo={{{ PublisherLogo | }}} | |||
|RelatedContent= | |||
{{SidebarTopicsList | |||
|topics={{GetBookValue|BuNayTopicTags}} | |||
}} | |||
}} | |||
</div> | |||
</div>{{#ifeq: {{{ StopPersonRedirects | }}} | |||
| Yes | |||
| | |||
|{{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:@@@]] | |||
| | |||
}}{{#set: | }}{{#set: | ||
frontcoverimg={{ | istranslation={{GetBookValue|istranslation}} | ||
|citation={{ | |subclass={{GetBookValue|subclass}} | ||
|fulltitle={{ | |frontcoverimg={{GetBookValue|frontcoverimg}} | ||
| | |citation={{GetBookValue|citation}} | ||
|AuthorRaw={{ | |fulltitle={{GetBookValue|fulltitle}} | ||
|translator={{ | |BuNayAuthor={{GetBookValue|authorlibwiki}}|+sep=; | ||
|publisherlink={{ | |AuthorRaw={{GetBookValue|authorlibwiki}} | ||
|description={{# | |translator={{GetBookValue|translatorlibwiki}}|+sep=; | ||
|tsadraitem={{ | |publisherlink={{GetBookValue|publisherlink}} | ||
|citationofsourcetexts={{ | |description={{#urldecode:{{GetBookValue|EncodedDescription}}}} | ||
|BuNayFeatured={{ | |tsadraitem={{GetBookValue|tsadraitem}} | ||
|BuNayTitle={{ | |citationofsourcetexts={{GetBookValue|citationofsourcetexts}} | ||
|BuNayPageType={{ | |BuNayFeatured={{GetBookValue|BuNayFeatured}} | ||
|BuNayRelevance={{ | |BuNayTitle={{GetBookValue|BuNayTitle}} | ||
|BuNayLevel={{ | |BuNayPageType={{GetBookValue|BuNayPageType}} | ||
|BuNayGrade={{ | |BuNayRelevance={{GetBookValue|BuNayRelevance}} | ||
|BuNayApproach={{ | |BuNayLevel={{GetBookValue|BuNayLevel}}|+sep=, | ||
|BuNayKarlDescription={{ | |BuNayGrade={{GetBookValue|BuNayGrade}} | ||
|BuNaySourceInfo={{ | |BuNayApproach={{GetBookValue|BuNayApproach}}|+sep=, | ||
|BuNayRating={{ | |BuNayKarlDescription={{GetBookValue|BuNayKarlDescription}} | ||
|BuNayMediaQual={{ | |BuNaySourceInfo={{GetBookValue|BuNaySourceInfo}} | ||
|BuNayInteractive={{ | |BuNayRating={{GetBookValue|BuNayRating}} | ||
|BuNayCopyright={{ | |BuNayMediaQual={{GetBookValue|BuNayMediaQual}} | ||
|BuNayNotes={{ | |BuNayInteractive={{GetBookValue|BuNayInteractive}} | ||
|BuNayKanoAvailable={{ | |BuNayCopyright={{GetBookValue|BuNayCopyright}} | ||
|BuNayKanoCitation={{ | |BuNayNotes={{GetBookValue|BuNayNotes}} | ||
|PosBuNayDefProv={{ | |BuNayKanoAvailable={{GetBookValue|BuNayKanoAvailable}} | ||
|PosBuNayDefProvNotes={{ | |BuNayKanoCitation={{GetBookValue|BuNayKanoCitation}} | ||
|PosDefProv={{ | |PosBuNayDefProv={{GetBookValue|PosBuNayDefProv}} | ||
|PosDefProvNotes={{ | |PosBuNayDefProvNotes={{GetBookValue|PosBuNayDefProvNotes}} | ||
|PosAllBuddha={{ | |PosDefProv={{GetBookValue|PosDefProv}} | ||
|PosAllBuddhaNote={{ | |PosDefProvNotes={{GetBookValue|PosDefProvNotes}} | ||
|PosAllBuddhaMoreNotes={{ | |PosAllBuddha={{GetBookValue|PosAllBuddha}} | ||
|PosWheelTurn={{ | |PosAllBuddhaNote={{GetBookValue|PosAllBuddhaNote}} | ||
|PosWheelTurnNotes={{ | |PosAllBuddhaMoreNotes={{GetBookValue|PosAllBuddhaMoreNotes}} | ||
|PosYogaMadhya={{ | |PosWheelTurn={{GetBookValue|PosWheelTurn}} | ||
|PosYogaMadhyaNotes={{ | |PosWheelTurnNotes={{GetBookValue|PosWheelTurnNotes}} | ||
|PosZhenRang={{ | |PosYogaMadhya={{GetBookValue|PosYogaMadhya}} | ||
|PosZhenRangNotes={{ | |PosYogaMadhyaNotes={{GetBookValue|PosYogaMadhyaNotes}} | ||
|PosVehicles={{ | |PosZhenRang={{GetBookValue|PosZhenRang}} | ||
|PosVehiclesNotes={{ | |PosZhenRangNotes={{GetBookValue|PosZhenRangNotes}} | ||
|PosAnalyticMedit={{ | |PosVehicles={{GetBookValue|PosVehicles}} | ||
|PosAnalyticMeditNotes={{ | |PosVehiclesNotes={{GetBookValue|PosVehiclesNotes}} | ||
|PosEmptyLumin={{ | |PosAnalyticMedit={{GetBookValue|PosAnalyticMedit}} | ||
|PosEmptyLuminNotes={{ | |PosAnalyticMeditNotes={{GetBookValue|PosAnalyticMeditNotes}} | ||
|PosSvataPrasa={{ | |PosEmptyLumin={{GetBookValue|PosEmptyLumin}} | ||
|PosSvataPrasaNotes={{ | |PosEmptyLuminNotes={{GetBookValue|PosEmptyLuminNotes}} | ||
|PosVajrapada={{ | |PosSvataPrasa={{GetBookValue|PosSvataPrasa}} | ||
| | |PosSvataPrasaNotes={{GetBookValue|PosSvataPrasaNotes}} | ||
|PosVajrapada={{GetBookValue|PosVajrapada}} | |||
|Pubdate={{GetBookValue|pubdate}} | |||
|BuNayPublisher={{GetBookValue|DrlPublisher}} | |||
|FullTextRead={{{ FullTextRead | }}} | |FullTextRead={{{ FullTextRead | }}} | ||
|FullTextLink={{{ FullTextLink | }}} | |FullTextLink={{{ FullTextLink | }}} | ||
Line 64: | Line 223: | ||
|PostStatus={{{ PostStatus | }}} | |PostStatus={{{ PostStatus | }}} | ||
|BookParentPage={{{ BookParentPage | }}} | |BookParentPage={{{ BookParentPage | }}} | ||
|Has parent page={{{ | |Has parent page={{#switch: {{GetBookValue|BuNayPageType}} | ||
|Book=Books | |||
|Dissertation=Dissertations | |||
}} | |||
|QuotesTabContent={{{ QuotesTabContent | }}} | |QuotesTabContent={{{ QuotesTabContent | }}} | ||
|AddRelatedTab={{{ AddRelatedTab | }}} | |AddRelatedTab={{{ AddRelatedTab | }}} | ||
|ExtraCategories={{{ ExtraCategories | }}} | |ExtraCategories={{{ ExtraCategories | }}} | ||
|ValuesToRedirect= | |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> |