Template:Book: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
| 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: | ||
}} | }} | ||
| | | | ||
}} | }} | }} | }} | ||
{{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}} | ||
}} | }} | ||
|{{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> | |{{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> | }} | |||
<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> | |||
</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="table bnw-book-citation mt-4 mb-0" | ||
| Line 102: | Line 103: | ||
| | | | ||
|} | |} | ||
<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> | {{{ 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> | |||
</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>{{#ifeq: {{{ StopPersonRedirects | }}} | </div>{{#ifeq: {{{ StopPersonRedirects | }}} | ||
| Yes | | Yes | ||