Template:Book: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(143 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 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: {{ | }}{{#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|{{ | {{TopSysopLinks|research|Book}}<!--{{TopLevelModule|{{GetBookValue|BuNayGrade}}}}--><noglossary> | ||
<div class="h1 | <div class="h1 d-flex justify-content-between align-items-end mb-1 mx-0"> | ||
<div | <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> | ||
<div class=" | <div class="d-none d-md-block"> | ||
<div class="bnw-text-watermark" style="white-space: nowrap;">{{#switch:{{ | <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> | </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:{{ | |{{#switch:{{GetBookValue|BuNayPageType}} | ||
|Book={{FirstValueOfArray|{{ | |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: {{ | <div class="row">{{#if: {{GetBookValue|frontcoverimg}} | | ||
<div class="col-md-3 book-cover-img"> | <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"> | ||
[{{# | [{{#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: {{ | <div class="{{#if: {{GetBookValue|frontcoverimg}} | col-md-9 | col-12 }}"> | ||
{{# | {{#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=" | <hr class="my-4 my-lg-5"> | ||
<center>{{#ev: {{{ VideoService | }}} | {{{ VideoId | }}} }}</center>| }} | <center>{{#ev: {{{ VideoService | }}} | {{{ VideoId | }}} }}</center>| }} | ||
{| class="table bnw-book-citation mt- | {| class="table bnw-book-citation mt-4 mb-0" | ||
|- | |- | ||
! class="nowrap" | Citation | ! class="nowrap" | Citation | ||
| {{ | | {{GetBookValue|citation}} | ||
|- | |- | ||
! | ! | ||
Line 76: | Line 114: | ||
{{#widget:BookNavTabs | {{#widget:BookNavTabs | ||
|essayTab={{#if: {{{ BookEssay | }}} | d-block | d-none }} | |essayTab={{#if: {{{ BookEssay | }}} | d-block | d-none }} | ||
|sourcesTab={{#if: {{ | |sourcesTab={{#if: {{GetBookValue|citationofsourcetexts}} | d-block | d-none }} | ||
|quoteTab={{#if: {{{ QuotesTabContent | }}} | d-block | d-none }} | |quoteTab={{#if: {{{ QuotesTabContent | }}} | d-block | d-none }} | ||
}} | }} | ||
<div class="tab-content" id="nav-tabContent"> | <div class="tab-content" id="nav-tabContent"> | ||
<div class="tab-pane fade book-toc show active" id="nav-toc" role="tabpanel" aria-labelledby="nav-toc-tab"><noglossary> | <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> | {{{ BookToc | }}}</noglossary></div> | ||
<div class="tab-pane fade" id="nav-about" role="tabpanel" aria-labelledby="nav-about-tab">{{{ BookEssay | }}}</div> | <div class="tab-pane fade drop-cap" id="nav-about" role="tabpanel" aria-labelledby="nav-about-tab"> | ||
<div class="tab-pane fade disabled-red-links" id="nav-translated" role="tabpanel" aria-labelledby="nav-translated-tab">{{ | {{{ BookEssay | }}}</div> | ||
<div class="tab-pane fade" id="nav-related" role="tabpanel" aria-labelledby="nav-related-tab"></div> | }}{{#if: {{{ QuotesTabContent | }}} | | <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 class="tab-pane fade" id="nav-quotes" role="tabpanel" aria-labelledby="nav-quotes-tab">{{{ QuotesTabContent | }}}</div> | }} | ||
</div> | </div> | ||
Line 93: | Line 131: | ||
{{StickySideBar | {{StickySideBar | ||
|columns=3 | |columns=3 | ||
|BuNayPageType={{ | |BuNayPageType={{GetBookValue|BuNayPageType}} | ||
|BookPerson={{{ BookPerson | }}} | |BookPerson={{{ BookPerson | }}} | ||
|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={{ | |DrlPublisher={{GetBookValue|DrlPublisher}} | ||
|PublisherLink={{ | |PublisherLink={{GetBookValue|publisherlink}} | ||
|PublisherLogo={{{ PublisherLogo | }}} | |PublisherLogo={{{ PublisherLogo | }}} | ||
|RelatedContent= | |RelatedContent= | ||
{{SidebarTopicsList | {{SidebarTopicsList | ||
|topics={{ | |topics={{GetBookValue|BuNayTopicTags}} | ||
}} | }} | ||
}} | }} | ||
</div> | </div> | ||
</div>{{CreateRedirects | </div>{{#ifeq: {{{ StopPersonRedirects | }}} | ||
| Yes | |||
}}{{#arraymap:Library Items;Books;{{# | | | ||
|{{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 | }}} | |||
|; | |; | ||
|@@@ | |@@@ | ||
Line 114: | Line 160: | ||
| | | | ||
}}{{#set: | }}{{#set: | ||
istranslation={{ | istranslation={{GetBookValue|istranslation}} | ||
|subclass={{ | |subclass={{GetBookValue|subclass}} | ||
|frontcoverimg={{ | |frontcoverimg={{GetBookValue|frontcoverimg}} | ||
|citation={{ | |citation={{GetBookValue|citation}} | ||
|fulltitle={{ | |fulltitle={{GetBookValue|fulltitle}} | ||
|BuNayAuthor={{ | |BuNayAuthor={{GetBookValue|authorlibwiki}}|+sep=; | ||
|AuthorRaw={{ | |AuthorRaw={{GetBookValue|authorlibwiki}} | ||
|translator={{ | |translator={{GetBookValue|translatorlibwiki}}|+sep=; | ||
|publisherlink={{ | |publisherlink={{GetBookValue|publisherlink}} | ||
|description={{# | |description={{#urldecode:{{GetBookValue|EncodedDescription}}}} | ||
|tsadraitem={{ | |tsadraitem={{GetBookValue|tsadraitem}} | ||
|citationofsourcetexts={{ | |citationofsourcetexts={{GetBookValue|citationofsourcetexts}} | ||
|BuNayFeatured={{ | |BuNayFeatured={{GetBookValue|BuNayFeatured}} | ||
|BuNayTitle={{ | |BuNayTitle={{GetBookValue|BuNayTitle}} | ||
|BuNayPageType={{ | |BuNayPageType={{GetBookValue|BuNayPageType}} | ||
|BuNayRelevance={{ | |BuNayRelevance={{GetBookValue|BuNayRelevance}} | ||
|BuNayLevel={{ | |BuNayLevel={{GetBookValue|BuNayLevel}}|+sep=, | ||
|BuNayGrade={{ | |BuNayGrade={{GetBookValue|BuNayGrade}} | ||
|BuNayApproach={{ | |BuNayApproach={{GetBookValue|BuNayApproach}}|+sep=, | ||
|BuNayKarlDescription={{ | |BuNayKarlDescription={{GetBookValue|BuNayKarlDescription}} | ||
|BuNaySourceInfo={{ | |BuNaySourceInfo={{GetBookValue|BuNaySourceInfo}} | ||
|BuNayRating={{ | |BuNayRating={{GetBookValue|BuNayRating}} | ||
|BuNayMediaQual={{ | |BuNayMediaQual={{GetBookValue|BuNayMediaQual}} | ||
|BuNayInteractive={{ | |BuNayInteractive={{GetBookValue|BuNayInteractive}} | ||
|BuNayCopyright={{ | |BuNayCopyright={{GetBookValue|BuNayCopyright}} | ||
|BuNayNotes={{ | |BuNayNotes={{GetBookValue|BuNayNotes}} | ||
|BuNayKanoAvailable={{ | |BuNayKanoAvailable={{GetBookValue|BuNayKanoAvailable}} | ||
|BuNayKanoCitation={{ | |BuNayKanoCitation={{GetBookValue|BuNayKanoCitation}} | ||
|PosBuNayDefProv={{ | |PosBuNayDefProv={{GetBookValue|PosBuNayDefProv}} | ||
|PosBuNayDefProvNotes={{ | |PosBuNayDefProvNotes={{GetBookValue|PosBuNayDefProvNotes}} | ||
|PosDefProv={{ | |PosDefProv={{GetBookValue|PosDefProv}} | ||
|PosDefProvNotes={{ | |PosDefProvNotes={{GetBookValue|PosDefProvNotes}} | ||
|PosAllBuddha={{ | |PosAllBuddha={{GetBookValue|PosAllBuddha}} | ||
|PosAllBuddhaNote={{ | |PosAllBuddhaNote={{GetBookValue|PosAllBuddhaNote}} | ||
|PosAllBuddhaMoreNotes={{ | |PosAllBuddhaMoreNotes={{GetBookValue|PosAllBuddhaMoreNotes}} | ||
|PosWheelTurn={{ | |PosWheelTurn={{GetBookValue|PosWheelTurn}} | ||
|PosWheelTurnNotes={{ | |PosWheelTurnNotes={{GetBookValue|PosWheelTurnNotes}} | ||
|PosYogaMadhya={{ | |PosYogaMadhya={{GetBookValue|PosYogaMadhya}} | ||
|PosYogaMadhyaNotes={{ | |PosYogaMadhyaNotes={{GetBookValue|PosYogaMadhyaNotes}} | ||
|PosZhenRang={{ | |PosZhenRang={{GetBookValue|PosZhenRang}} | ||
|PosZhenRangNotes={{ | |PosZhenRangNotes={{GetBookValue|PosZhenRangNotes}} | ||
|PosVehicles={{ | |PosVehicles={{GetBookValue|PosVehicles}} | ||
|PosVehiclesNotes={{ | |PosVehiclesNotes={{GetBookValue|PosVehiclesNotes}} | ||
|PosAnalyticMedit={{ | |PosAnalyticMedit={{GetBookValue|PosAnalyticMedit}} | ||
|PosAnalyticMeditNotes={{ | |PosAnalyticMeditNotes={{GetBookValue|PosAnalyticMeditNotes}} | ||
|PosEmptyLumin={{ | |PosEmptyLumin={{GetBookValue|PosEmptyLumin}} | ||
|PosEmptyLuminNotes={{ | |PosEmptyLuminNotes={{GetBookValue|PosEmptyLuminNotes}} | ||
|PosSvataPrasa={{ | |PosSvataPrasa={{GetBookValue|PosSvataPrasa}} | ||
|PosSvataPrasaNotes={{ | |PosSvataPrasaNotes={{GetBookValue|PosSvataPrasaNotes}} | ||
|PosVajrapada={{ | |PosVajrapada={{GetBookValue|PosVajrapada}} | ||
|Pubdate={{ | |Pubdate={{GetBookValue|pubdate}} | ||
|BuNayPublisher={{ | |BuNayPublisher={{GetBookValue|DrlPublisher}} | ||
|FullTextRead={{{ FullTextRead | }}} | |FullTextRead={{{ FullTextRead | }}} | ||
|FullTextLink={{{ FullTextLink | }}} | |FullTextLink={{{ FullTextLink | }}} | ||
Line 177: | Line 223: | ||
|PostStatus={{{ PostStatus | }}} | |PostStatus={{{ PostStatus | }}} | ||
|BookParentPage={{{ BookParentPage | }}} | |BookParentPage={{{ BookParentPage | }}} | ||
|Has parent page={{#switch: {{ | |Has parent page={{#switch: {{GetBookValue|BuNayPageType}} | ||
|Book=Books | |Book=Books | ||
|Dissertation=Dissertations | |Dissertation=Dissertations | ||
Line 184: | Line 230: | ||
|AddRelatedTab={{{ AddRelatedTab | }}} | |AddRelatedTab={{{ AddRelatedTab | }}} | ||
|ExtraCategories={{{ ExtraCategories | }}} | |ExtraCategories={{{ ExtraCategories | }}} | ||
|ValuesToRedirect={{SUBPAGENAME}};{{ | |ValuesToRedirect={{#ifeq: {{{ StopPersonRedirects | }}} | ||
|People={{#arraymap:{{ | |Yes | ||
| | |||
|{{SUBPAGENAME}};{{GetBookValue|BuNayTitle}};{{GetBookValue|fulltitle}} | |||
}} | |||
|People={{#arraymap:{{GetBookValue|authorlibwiki}}; {{GetBookValue|translatorlibwiki}}; {{GetBookValue|Editorlibwiki}}; {{GetBookValue|contributorslibwiki}}; {{GetBookValue|Sourceauthorlibwiki}} | |||
|; | |; | ||
|@@@ | |@@@ | ||
|@@@ | |@@@ | ||
|; | |; | ||
}};{{#arraymap:{{ | }};{{#arraymap:{{GetBookValue|authorlibwiki}} | ||
|; | |; | ||
|@@@ | |@@@ | ||
Line 196: | Line 246: | ||
|; | |; | ||
}}|+sep=; | }}|+sep=; | ||
|Titles={{SUBPAGENAME}};{{ | |Titles={{SUBPAGENAME}};{{GetBookValue|BuNayTitle}};{{GetBookValue|fulltitle}} | ||
|BuNayTopicTags={{ | |BuNayTopicTags={{GetBookValue|BuNayTopicTags}}|+sep=; | ||
|TextTranslated={{{ TextTranslated | }}} | |TextTranslated={{{ TextTranslated | }}}|+sep=; | ||
|OnlineEditionLink={{ | |OnlineEditionLink={{GetBookValue|onlineeditionlink}} | ||
|TileDescription={{{ TileDescription | }}} | |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> |