Template:Book: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
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: {{DrlValue|BuNayNotes}} | ||
| {{#widget:BootstrapAlert | | {{#widget:BootstrapAlert | ||
|color=warning | |color=warning | ||
|title=Buddha-nature Notes | |title=Buddha-nature Notes | ||
|text={{ | |text={{DrlValue|BuNayNotes}} | ||
}} | }} | ||
| | | | ||
}} | }}{{DISPLAYTITLE:{{ | }} | }}{{DISPLAYTITLE:{{DrlValue|BuNayTitle}}}} | ||
<div class="bnw-book-page"> | <div class="bnw-book-page"> | ||
{{TopSysopLinks|research|Book}}<!--{{TopLevelModule|{{ | {{TopSysopLinks|research|Book}}<!--{{TopLevelModule|{{DrlValue|BuNayGrade}}}}--><noglossary> | ||
<div class="h1 d-flex justify-content-between align-items-end mb-1 mx-0"> | <div class="h1 d-flex justify-content-between align-items-end mb-1 mx-0"> | ||
<div>{{ | <div>{{DrlValue|BuNayTitle}} {{#if: {{{ TextTranslated | }}} | ||
|<div class="font-italic my-1" style="font-size: .4em;">Translation of {{#arraymap: {{{ TextTranslated | }}} | |<div class="font-italic my-1" style="font-size: .4em;">Translation of {{#arraymap: {{{ TextTranslated | }}} | ||
|; | |; | ||
Line 29: | Line 25: | ||
</div> | </div> | ||
<div class="d-none d-md-block"> | <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:{{DrlValue|BuNayPageType}} | ||
|Dissertation={{#switch:{{ | |Dissertation={{#switch:{{DrlValue|subclass}} | ||
|PhD diss.=Dissertation | |PhD diss.=Dissertation | ||
|MA Theses=Thesis | |MA Theses=Thesis | ||
}} | }} | ||
|Book={{#switch:{{ | |Book={{#switch:{{DrlValue|subclass}} | ||
|Journal Issues=Journal Issue | |Journal Issues=Journal Issue | ||
|{{ | |{{DrlValue|BuNayPageType}} | ||
}} | }} | ||
|{{ | |{{DrlValue|BuNayPageType}} | ||
}} | }} | ||
</div> | </div> | ||
</div> | </div> | ||
</div></noglossary> | </div></noglossary> | ||
<div class="d-md-none bnw-text-watermark float-left" style="white-space: nowrap;">{{#switch:{{ | <div class="d-md-none bnw-text-watermark float-left" style="white-space: nowrap;">{{#switch:{{DrlValue|BuNayPageType}} | ||
|Dissertation={{#switch:{{ | |Dissertation={{#switch:{{DrlValue|subclass}} | ||
|PhD diss.=Dissertation | |PhD diss.=Dissertation | ||
|MA Theses=Thesis | |MA Theses=Thesis | ||
|Thesis | |Thesis | ||
}} | }} | ||
|Book={{#switch:{{ | |Book={{#switch:{{DrlValue|subclass}} | ||
|Journal Issues=Journal Issue | |Journal Issues=Journal Issue | ||
|{{ | |{{DrlValue|BuNayPageType}} | ||
}} | }} | ||
|{{ | |{{DrlValue|BuNayPageType}} | ||
}} | }} | ||
</div> | </div> | ||
{{GooglePdfSearch | {{GooglePdfSearch | ||
|{{#switch:{{ | |{{#switch:{{DrlValue|BuNayPageType}} | ||
|Book={{FirstValueOfArray|{{ | |Book={{FirstValueOfArray|{{DrlValue|authorlibwiki}}|;}} | ||
|Article={{{AuthorName|}}} | |Article={{{AuthorName|}}} | ||
}} | }} | ||
Line 66: | Line 62: | ||
<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-4 p-lg-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: {{DrlValue|frontcoverimg}} | | ||
<div class="col-md-3 book-cover-img mb-4">{{#widget:FancyboxImg | <div class="col-md-3 book-cover-img mb-4">{{#widget:FancyboxImg | ||
|src={{filepath:{{#titleparts:{{PAGENAME:{{ | |src={{filepath:{{#titleparts:{{PAGENAME:{{DrlValue|frontcoverimg}}}}}}}} | ||
|src_reduced={{filepath:{{#titleparts:{{PAGENAME:{{ | |src_reduced={{filepath:{{#titleparts:{{PAGENAME:{{DrlValue|frontcoverimg}}}}}}|400}} | ||
|class=depth-1 mt-2 mb-3 | |class=depth-1 mt-2 mb-3 | ||
|caption={{ | |caption={{DrlValue|citation}} | ||
}}{{#if: {{ | }}{{#if: {{DrlValue|onlineeditionlink}}{{DrlValue|Onlineeditionlinkraw}}{{DrlValue|TsadraEpubLink}} | | ||
<div class="plainlinks read-now-link text-center nowrap"> | <div class="plainlinks read-now-link text-center nowrap"> | ||
[{{#if: {{ | [{{#if: {{DrlValue|TsadraEpubLink}} | ||
| {{ | | {{DrlValue|TsadraEpubLink}} | ||
| {{#if: {{ | | {{#if: {{DrlValue|Onlineeditionlinkraw}} | ||
| {{ | | {{DrlValue|Onlineeditionlinkraw}} | ||
| {{ | | {{DrlValue|onlineeditionlink}} | ||
}} | }} | ||
}} <i class="fad fa-book-open"></i> Read Online <i class="fad fa-external-link-alt fa-xs"></i>] | }} <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: {{DrlValue|frontcoverimg}} | col-md-9 | col-12 }}"> | ||
{{# | {{#urldecode:{{DrlValue|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>]] | ||
Line 98: | Line 94: | ||
|- | |- | ||
! class="nowrap" | Citation | ! class="nowrap" | Citation | ||
| {{ | | {{DrlValue|citation}} | ||
|- | |- | ||
! | ! | ||
Line 115: | Line 111: | ||
{{#widget:BookNavTabs | {{#widget:BookNavTabs | ||
|essayTab={{#if: {{{ BookEssay | }}} | d-block | d-none }} | |essayTab={{#if: {{{ BookEssay | }}} | d-block | d-none }} | ||
|sourcesTab={{#if: {{ | |sourcesTab={{#if: {{DrlValue|citationofsourcetexts}} | d-block | d-none }} | ||
|quoteTab={{#if: {{{ QuotesTabContent | }}} | d-block | d-none }} | |quoteTab={{#if: {{{ QuotesTabContent | }}} | d-block | d-none }} | ||
}} | }} | ||
Line 123: | Line 119: | ||
<div class="tab-pane fade drop-cap" id="nav-about" role="tabpanel" aria-labelledby="nav-about-tab"> | <div class="tab-pane fade drop-cap" id="nav-about" role="tabpanel" aria-labelledby="nav-about-tab"> | ||
{{{ BookEssay | }}}</div> | {{{ BookEssay | }}}</div> | ||
<div class="tab-pane fade disabled-red-links" id="nav-translated" role="tabpanel" aria-labelledby="nav-translated-tab">{{ | <div class="tab-pane fade disabled-red-links" id="nav-translated" role="tabpanel" aria-labelledby="nav-translated-tab">{{DrlValue|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-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> | }} | ||
Line 132: | Line 128: | ||
{{StickySideBar | {{StickySideBar | ||
|columns=3 | |columns=3 | ||
|BuNayPageType={{ | |BuNayPageType={{DrlValue|BuNayPageType}} | ||
|BookPerson={{{ BookPerson | }}} | |BookPerson={{{ BookPerson | }}} | ||
|authorlibwiki={{ | |authorlibwiki={{DrlValue|authorlibwiki}} | ||
|translatorlibwiki={{ | |translatorlibwiki={{DrlValue|translatorlibwiki}} | ||
|DrlContributors={{ | |DrlContributors={{DrlValue|contributorslibwiki}} | ||
|topics={{ | |topics={{DrlValue|BuNayTopicTags}} | ||
|TsadraItem={{ | |TsadraItem={{DrlValue|tsadraitem}} | ||
|TsadraLogoLink=Category:Tsadra Foundation Series | |TsadraLogoLink=Category:Tsadra Foundation Series | ||
|DrlPublisher={{ | |DrlPublisher={{DrlValue|DrlPublisher}} | ||
|PublisherLink={{ | |PublisherLink={{DrlValue|publisherlink}} | ||
|PublisherLogo={{{ PublisherLogo | }}} | |PublisherLogo={{{ PublisherLogo | }}} | ||
|RelatedContent= | |RelatedContent= | ||
{{SidebarTopicsList | {{SidebarTopicsList | ||
|topics={{ | |topics={{DrlValue|BuNayTopicTags}} | ||
}} | }} | ||
}} | }} | ||
Line 153: | Line 149: | ||
| | | | ||
|{{CreateRedirects | |{{CreateRedirects | ||
|{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{ | |{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{DrlValue|BuNayTitle}}}};{{#titleparts:{{DrlValue|fulltitle}}}} | ||
}} | }} | ||
}}{{#arraymap:Library Items;Books;{{ | }}{{#arraymap:Library Items;Books;{{DrlValue|authorlibwiki}};{{DrlValue|translatorlibwiki}};{{DrlValue|DrlPublisher}};{{{ PostStatus | }}};{{#ifeq: {{DrlValue|tsadraitem}} | true | Tsadra Foundation Series; | }}{{{ ExtraCategories | }}} | ||
|; | |; | ||
|@@@ | |@@@ | ||
Line 161: | Line 157: | ||
| | | | ||
}}{{#set: | }}{{#set: | ||
istranslation={{ | istranslation={{DrlValue|istranslation}} | ||
|subclass={{ | |subclass={{DrlValue|subclass}} | ||
|frontcoverimg={{ | |frontcoverimg={{DrlValue|frontcoverimg}} | ||
|citation={{ | |citation={{DrlValue|citation}} | ||
|fulltitle={{ | |fulltitle={{DrlValue|fulltitle}} | ||
|BuNayAuthor={{ | |BuNayAuthor={{DrlValue|authorlibwiki}}|+sep=; | ||
|AuthorRaw={{ | |AuthorRaw={{DrlValue|authorlibwiki}} | ||
|translator={{ | |translator={{DrlValue|translatorlibwiki}}|+sep=; | ||
|publisherlink={{ | |publisherlink={{DrlValue|publisherlink}} | ||
|description={{ | |description={{DrlValue|description}} | ||
|tsadraitem={{ | |tsadraitem={{DrlValue|tsadraitem}} | ||
|citationofsourcetexts={{ | |citationofsourcetexts={{DrlValue|citationofsourcetexts}} | ||
|BuNayFeatured={{ | |BuNayFeatured={{DrlValue|BuNayFeatured}} | ||
|BuNayTitle={{ | |BuNayTitle={{DrlValue|BuNayTitle}} | ||
|BuNayPageType={{ | |BuNayPageType={{DrlValue|BuNayPageType}} | ||
|BuNayRelevance={{ | |BuNayRelevance={{DrlValue|BuNayRelevance}} | ||
|BuNayLevel={{ | |BuNayLevel={{DrlValue|BuNayLevel}}|+sep=, | ||
|BuNayGrade={{ | |BuNayGrade={{DrlValue|BuNayGrade}} | ||
|BuNayApproach={{ | |BuNayApproach={{DrlValue|BuNayApproach}}|+sep=, | ||
|BuNayKarlDescription={{ | |BuNayKarlDescription={{DrlValue|BuNayKarlDescription}} | ||
|BuNaySourceInfo={{ | |BuNaySourceInfo={{DrlValue|BuNaySourceInfo}} | ||
|BuNayRating={{ | |BuNayRating={{DrlValue|BuNayRating}} | ||
|BuNayMediaQual={{ | |BuNayMediaQual={{DrlValue|BuNayMediaQual}} | ||
|BuNayInteractive={{ | |BuNayInteractive={{DrlValue|BuNayInteractive}} | ||
|BuNayCopyright={{ | |BuNayCopyright={{DrlValue|BuNayCopyright}} | ||
|BuNayNotes={{ | |BuNayNotes={{DrlValue|BuNayNotes}} | ||
|BuNayKanoAvailable={{ | |BuNayKanoAvailable={{DrlValue|BuNayKanoAvailable}} | ||
|BuNayKanoCitation={{ | |BuNayKanoCitation={{DrlValue|BuNayKanoCitation}} | ||
|PosBuNayDefProv={{ | |PosBuNayDefProv={{DrlValue|PosBuNayDefProv}} | ||
|PosBuNayDefProvNotes={{ | |PosBuNayDefProvNotes={{DrlValue|PosBuNayDefProvNotes}} | ||
|PosDefProv={{ | |PosDefProv={{DrlValue|PosDefProv}} | ||
|PosDefProvNotes={{ | |PosDefProvNotes={{DrlValue|PosDefProvNotes}} | ||
|PosAllBuddha={{ | |PosAllBuddha={{DrlValue|PosAllBuddha}} | ||
|PosAllBuddhaNote={{ | |PosAllBuddhaNote={{DrlValue|PosAllBuddhaNote}} | ||
|PosAllBuddhaMoreNotes={{ | |PosAllBuddhaMoreNotes={{DrlValue|PosAllBuddhaMoreNotes}} | ||
|PosWheelTurn={{ | |PosWheelTurn={{DrlValue|PosWheelTurn}} | ||
|PosWheelTurnNotes={{ | |PosWheelTurnNotes={{DrlValue|PosWheelTurnNotes}} | ||
|PosYogaMadhya={{ | |PosYogaMadhya={{DrlValue|PosYogaMadhya}} | ||
|PosYogaMadhyaNotes={{ | |PosYogaMadhyaNotes={{DrlValue|PosYogaMadhyaNotes}} | ||
|PosZhenRang={{ | |PosZhenRang={{DrlValue|PosZhenRang}} | ||
|PosZhenRangNotes={{ | |PosZhenRangNotes={{DrlValue|PosZhenRangNotes}} | ||
|PosVehicles={{ | |PosVehicles={{DrlValue|PosVehicles}} | ||
|PosVehiclesNotes={{ | |PosVehiclesNotes={{DrlValue|PosVehiclesNotes}} | ||
|PosAnalyticMedit={{ | |PosAnalyticMedit={{DrlValue|PosAnalyticMedit}} | ||
|PosAnalyticMeditNotes={{ | |PosAnalyticMeditNotes={{DrlValue|PosAnalyticMeditNotes}} | ||
|PosEmptyLumin={{ | |PosEmptyLumin={{DrlValue|PosEmptyLumin}} | ||
|PosEmptyLuminNotes={{ | |PosEmptyLuminNotes={{DrlValue|PosEmptyLuminNotes}} | ||
|PosSvataPrasa={{ | |PosSvataPrasa={{DrlValue|PosSvataPrasa}} | ||
|PosSvataPrasaNotes={{ | |PosSvataPrasaNotes={{DrlValue|PosSvataPrasaNotes}} | ||
|PosVajrapada={{ | |PosVajrapada={{DrlValue|PosVajrapada}} | ||
|Pubdate={{ | |Pubdate={{DrlValue|pubdate}} | ||
|BuNayPublisher={{ | |BuNayPublisher={{DrlValue|DrlPublisher}} | ||
|FullTextRead={{{ FullTextRead | }}} | |FullTextRead={{{ FullTextRead | }}} | ||
|FullTextLink={{{ FullTextLink | }}} | |FullTextLink={{{ FullTextLink | }}} | ||
Line 224: | Line 220: | ||
|PostStatus={{{ PostStatus | }}} | |PostStatus={{{ PostStatus | }}} | ||
|BookParentPage={{{ BookParentPage | }}} | |BookParentPage={{{ BookParentPage | }}} | ||
|Has parent page={{#switch: {{ | |Has parent page={{#switch: {{DrlValue|BuNayPageType}} | ||
|Book=Books | |Book=Books | ||
|Dissertation=Dissertations | |Dissertation=Dissertations | ||
Line 234: | Line 230: | ||
|Yes | |Yes | ||
| | | | ||
|{{SUBPAGENAME}};{{ | |{{SUBPAGENAME}};{{DrlValue|BuNayTitle}};{{DrlValue|fulltitle}} | ||
}} | }} | ||
|People={{#arraymap:{{ | |People={{#arraymap:{{DrlValue|authorlibwiki}}; {{DrlValue|translatorlibwiki}}; {{DrlValue|Editorlibwiki}}; {{DrlValue|contributorslibwiki}}; {{DrlValue|Sourceauthorlibwiki}} | ||
|; | |; | ||
|@@@ | |@@@ | ||
|@@@ | |@@@ | ||
|; | |; | ||
}};{{#arraymap:{{ | }};{{#arraymap:{{DrlValue|authorlibwiki}} | ||
|; | |; | ||
|@@@ | |@@@ | ||
Line 247: | Line 243: | ||
|; | |; | ||
}}|+sep=; | }}|+sep=; | ||
|Titles={{SUBPAGENAME}};{{ | |Titles={{SUBPAGENAME}};{{DrlValue|BuNayTitle}};{{DrlValue|fulltitle}} | ||
|BuNayTopicTags={{ | |BuNayTopicTags={{DrlValue|BuNayTopicTags}}|+sep=; | ||
|TextTranslated={{{ TextTranslated | }}}|+sep=; | |TextTranslated={{{ TextTranslated | }}}|+sep=; | ||
|OnlineEditionLink={{ | |OnlineEditionLink={{DrlValue|onlineeditionlink}} | ||
|TileDescription={{#if: {{{ TileDescription | }}} | |TileDescription={{#if: {{{ TileDescription | }}} | ||
| {{{ TileDescription | }}} | | {{{ TileDescription | }}} | ||
| {{#if: {{ | | {{#if: {{DrlValue|description}} | ||
| {{ | | {{DrlValue|description}} | ||
| ''{{ | | ''{{DrlValue|citation}}'' | ||
}} | }} | ||
}} | }} | ||
|PageTilePhoto={{#if: {{ | |PageTilePhoto={{#if: {{DrlValue|frontcoverimg}} | ||
| {{#titleparts:{{PAGENAME:{{ | | {{#titleparts:{{PAGENAME:{{DrlValue|frontcoverimg}}}}}} | ||
| {{#if: {{ | | {{#if: {{DrlValue|authorlibwiki}} | ||
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{ | | {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{DrlValue|authorlibwiki}}|;}}|?FirstImage#}}}}}} | ||
| {{#if: {{ | | {{#if: {{DrlValue|translatorlibwiki}} | ||
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{ | | {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{DrlValue|translatorlibwiki}}|;}}|?FirstImage#}}}}}} | ||
| {{#if: {{ | | {{#if: {{DrlValue|Editorlibwiki}} | ||
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{ | | {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{DrlValue|Editorlibwiki}}|;}}|?FirstImage#}}}}}} | ||
| {{#if: {{ | | {{#if: {{DrlValue|Sourceauthorlibwiki}} | ||
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{ | | {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{DrlValue|Sourceauthorlibwiki}}|;}}|?FirstImage#}}}}}} | ||
| | | | ||
}} | }} | ||
Line 274: | Line 270: | ||
}} | }} | ||
}} | }} | ||
|Editors={{ | |Editors={{DrlValue|Editorlibwiki}} | ||
|InvisibleFilterContent={{#arraymap:{{ | |InvisibleFilterContent={{#arraymap:{{DrlValue|citation}}; {{DrlValue|BuNayTitle}}; {{DrlValue|BuNayTopicTags}}; {{PeopleNames|{{DrlValue|authorlibwiki}}; {{{ AuthorPage | }}}; {{DrlValue|translatorlibwiki}}}}; {{PeopleTopicsOtherNames|{{DrlValue|BuNayTopicTags}}}}; {{DrlValue|fulltitle}}; {{DrlValue|Sourceauthorlibwiki}} | ||
|; | |; | ||
|@@@ | |@@@ | ||
Line 281: | Line 277: | ||
|; | |; | ||
}} | }} | ||
|TibetanTitle={{ | |TibetanTitle={{DrlValue|TibetanTitle}} | ||
|TibetanDescription={{ | |TibetanDescription={{DrlValue|TibetanDescription}} | ||
|DrlContributors={{ | |DrlContributors={{DrlValue|contributorslibwiki}} | ||
}}</includeonly><noinclude>{{TemplateTag}}</noinclude> | }}</includeonly><noinclude>{{TemplateTag}}</noinclude> |