Template:Book: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
| (29 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#ifsysop: {{#switch: {{{ PostStatus | }}} | <includeonly>{{HideFirstHeading}}{{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}} }} | ||
| Line 9: | Line 9: | ||
}} | }} | ||
| | | | ||
}} | }} | }} | }} | ||
<div class=" | |||
{{TopSysopLinks|research|Book}}<!--{{TopLevelModule|{{GetBookValue|BuNayGrade}}}}--><noglossary> | |||
<div class="h2 mb-1 pb-1"> | |||
<div class="d-flex justify-content-between align-items-end"> | |||
<div>{{GetBookValue|BuNayTitle}} {{#if: {{{ TextTranslated | }}} | <div>{{GetBookValue|BuNayTitle}} {{#if: {{{ TextTranslated | }}} | ||
|<div class="font-italic my-1 | |<div class="font-italic my-1 text-60">Translation of {{#arraymap: {{{ TextTranslated | }}} | ||
|; | |; | ||
|@@@ | |@@@ | ||
| Line 25: | Line 29: | ||
</div> | </div> | ||
<div class="d-none d-md-block"> | <div class="d-none d-md-block"> | ||
<div class=" | <div class="header-watermark" style="white-space: nowrap;">{{#switch:{{GetBookValue|BuNayPageType}} | ||
|Dissertation={{#switch:{{GetBookValue|subclass}} | |Dissertation={{#switch:{{GetBookValue|subclass}} | ||
|PhD diss.=Dissertation | |PhD diss.=Dissertation | ||
| Line 38: | Line 42: | ||
</div> | </div> | ||
</div> | </div> | ||
</div></noglossary> | </div> | ||
</div></noglossary> | |||
<div class="d-md-none header-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> | |{{GetBookValue|BuNayPageType}} | ||
}} | |||
</div> | |||
{{GooglePdfSearch | |||
|{{#switch:{{GetBookValue|BuNayPageType}} | |||
|Book={{FirstValueOfArray|{{GetBookValue|authorlibwiki}}|;}} | |||
|Article={{{AuthorName|}}} | |||
}} | }} | ||
}} | |||
<div class="row"> | |||
<div class="col-lg-9 mb-3 mb-sm-0 text-article"> | |||
<div class="offwhite-bg rounded tsdwiki-depth-2 p-4 p-lg-5"> | |||
<div class="row">{{#if: {{GetBookValue|frontcoverimg}} | | |||
<div class="col-md-3 mb-4">{{#widget:FancyboxImg | |||
|src={{filepath:{{#titleparts:{{PAGENAME:{{GetBookValue|frontcoverimg}}}}}}}} | |||
|src_reduced={{filepath:{{#titleparts:{{PAGENAME:{{GetBookValue|frontcoverimg}}}}}}|400}} | |||
|class=tsdwiki-depth-1 mt-2 mb-3 w-100 h-auto | |||
|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="fa-sharp-duotone fa-book-open"></i> Read Online <i class="fad fa-external-link-alt fa-xs"></i>] | |||
</div> | }} | </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 | {| class="table text-80 mt-4 mb-0" | ||
|- | |- | ||
! class="nowrap" | Citation | ! class="nowrap" | Citation | ||
| Line 102: | Line 107: | ||
| | | | ||
|} | |} | ||
<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> | </div> | ||
{{#tag:tabber | |||
| Contents = <noglossary><div class="bnw-book-toc first-ul-no-left-margin"> | |||
{{{ BookToc | }}} | |||
</div></noglossary> {{#if: {{{ BookEssay | }}} | | |||
{{!}}-{{!}} About the Book = | |||
{{{ BookEssay | }}} | }}{{#if: {{GetBookValue|citationofsourcetexts}} | | |||
{{!}}-{{!}} Sources = | |||
{{GetBookValue|citationofsourcetexts}} | }}{{#if: {{{ QuotesTabContent | }}} | | |||
{{!}}-{{!}} Quotes = | |||
{{{ 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}}}} | |||
|customTOC=none | |||
}} | |||
</div>{{#ifeq: {{{ StopPersonRedirects | }}} | </div>{{#ifeq: {{{ StopPersonRedirects | }}} | ||
| Yes | | Yes | ||
| Line 154: | Line 156: | ||
|{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{GetBookValue|BuNayTitle}}}};{{#titleparts:{{GetBookValue|fulltitle}}}} | |{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{GetBookValue|BuNayTitle}}}};{{#titleparts:{{GetBookValue|fulltitle}}}} | ||
}} | }} | ||
}}{{#arraymap:Library Items;Books;{{GetBookValue|authorlibwiki}};{{GetBookValue| | }}{{#arraymap:Library Items;Books;{{GetBookValue|authorlibwiki}};{{GetBookValue|Translatorlibwiki}};{{GetBookValue|DrlPublisher}};{{{ PostStatus | }}};{{#ifeq: {{GetBookValue|tsadraitem}} | true | Tsadra Foundation Series; | }}{{{ ExtraCategories | }}} | ||
|; | |; | ||
|@@@ | |@@@ | ||
| Line 167: | Line 169: | ||
|BuNayAuthor={{GetBookValue|authorlibwiki}}|+sep=; | |BuNayAuthor={{GetBookValue|authorlibwiki}}|+sep=; | ||
|AuthorRaw={{GetBookValue|authorlibwiki}} | |AuthorRaw={{GetBookValue|authorlibwiki}} | ||
|translator={{GetBookValue| | |translator={{GetBookValue|Translatorlibwiki}}|+sep=; | ||
|publisherlink={{GetBookValue|publisherlink}} | |publisherlink={{GetBookValue|publisherlink}} | ||
|description={{#urldecode:{{GetBookValue|EncodedDescription}}}} | |description={{#urldecode:{{GetBookValue|EncodedDescription}}}} | ||
| Line 235: | Line 237: | ||
|{{SUBPAGENAME}};{{GetBookValue|BuNayTitle}};{{GetBookValue|fulltitle}} | |{{SUBPAGENAME}};{{GetBookValue|BuNayTitle}};{{GetBookValue|fulltitle}} | ||
}} | }} | ||
|People={{#arraymap:{{GetBookValue|authorlibwiki}}; {{GetBookValue| | |People={{#arraymap:{{GetBookValue|authorlibwiki}}; {{GetBookValue|Translatorlibwiki}}; {{GetBookValue|Editorlibwiki}}; {{GetBookValue|contributorslibwiki}}; {{GetBookValue|Sourceauthorlibwiki}} | ||
|; | |; | ||
|@@@ | |@@@ | ||
| Line 261: | Line 263: | ||
| {{#if: {{GetBookValue|authorlibwiki}} | | {{#if: {{GetBookValue|authorlibwiki}} | ||
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{GetBookValue|authorlibwiki}}|;}}|?FirstImage#}}}}}} | | {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{GetBookValue|authorlibwiki}}|;}}|?FirstImage#}}}}}} | ||
| {{#if: {{GetBookValue| | | {{#if: {{GetBookValue|Translatorlibwiki}} | ||
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{GetBookValue| | | {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{GetBookValue|Translatorlibwiki}}|;}}|?FirstImage#}}}}}} | ||
| {{#if: {{GetBookValue|Editorlibwiki}} | | {{#if: {{GetBookValue|Editorlibwiki}} | ||
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{GetBookValue|Editorlibwiki}}|;}}|?FirstImage#}}}}}} | | {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{GetBookValue|Editorlibwiki}}|;}}|?FirstImage#}}}}}} | ||
| Line 274: | Line 276: | ||
}} | }} | ||
|Editors={{GetBookValue|Editorlibwiki}} | |Editors={{GetBookValue|Editorlibwiki}} | ||
|InvisibleFilterContent={{#arraymap:{{GetBookValue|citation}}; {{GetBookValue|BuNayTitle}}; {{GetBookValue|BuNayTopicTags}}; {{PeopleNames|{{GetBookValue|authorlibwiki}}; {{{ AuthorPage | }}}; {{GetBookValue| | |InvisibleFilterContent={{#arraymap:{{GetBookValue|citation}}; {{GetBookValue|BuNayTitle}}; {{GetBookValue|BuNayTopicTags}}; {{PeopleNames|{{GetBookValue|authorlibwiki}}; {{{ AuthorPage | }}}; {{GetBookValue|Translatorlibwiki}}}}; {{PeopleTopicsOtherNames|{{GetBookValue|BuNayTopicTags}}}}; {{GetBookValue|fulltitle}}; {{GetBookValue|Sourceauthorlibwiki}} | ||
|; | |; | ||
|@@@ | |@@@ | ||