Template:StickySideBar: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(115 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{MobileSideNav
<includeonly><div class="right-side-bar noprint col-lg-{{{ columns }}} p-0 mb-2 order-first order-lg-last {{#ifeq: {{{ manualsticky | }}} | yes | " | sticky-sidemenu" id="sticky-sidemenu" }}>
|content=
<div id="sidebarToggle" class="d-lg-none fixed-bottom px-4 py-3 off-white depth-4 text-center pointer"><span>More on this item <i class="fa-duotone fa-angle-up ml-2 fa-lg align-middle"></i></span><span class="d-none">Close <i class="fad fa-times ml-2 fa-lg align-middle"></i></span></div>
{{{ BookPerson | }}}{{ArticleAuthors
<div class="sidebar d-none d-lg-block p-0 sticky>{{#if: {{{ BookPerson | }}}{{{ AuthorPage | }}}{{{ authorlibwiki | }}}{{{ translatorlibwiki | }}}{{{ DrlContributors | }}}{{{ Performer | }}}{{{ TextPerson | }}}{{{ topics | }}}|
|{{{ AuthorPage | }}}
<div class="d-flex d-lg-block justify-content-center flex-wrap mb-3">{{#if: {{{ BookPerson | }}}
|{{{ authorlibwiki | }}}
| {{{ BookPerson | }}}  
|{{{ Performer | }}}
| {{ArticleAuthors
}}{{#ifeq: {{{ ArticleLayout | }}}  
| {{#arraymap: {{{ AuthorPage | }}};{{{ authorlibwiki | }}};{{{ translatorlibwiki | }}};{{{ DrlContributors | }}};{{{ Performer | }}};{{{ TextPerson | }}};{{#arraymap:{{{ topics | }}}
|;
|@@@
|{{#if: {{#ask: [[@@@]][[Category:People]]}}
| {{#ask: [[@@@]][[Category:People]]
|link=none
|limit=1
|searchlabel=
}}
|
}}
|;
}}
|;
|@@@
|{{#if: {{#ask: [[People/@@@]]}}  
| {{#ask: [[People/@@@]]
|link=none
|limit=1
|searchlabel=
}}
|{{#if: {{#ask: [[@@@]]}}
| {{#ask: [[@@@]]
|link=none
|limit=1
|searchlabel=
}}
|
}}
}}
|;
}}
}}
}}</div>|}}{{#ifeq: {{{ ArticleLayout | }}}  
| Original Content  
| Original Content  
| {{TsadraLogoInSideNav
| {{TsadraLogoInSideNav
|link={{{ TsadraLogoLink | }}}
|link={{{ TsadraLogoLink | }}}
}}
}}
|  
| {{#ifeq: {{{ TsadraItem | }}}  
}}{{#ifeq: {{{ TsadraItem | }}}  
| true  
| true  
| {{TsadraLogoInSideNav
| {{TsadraLogoInSideNav
|link={{{ TsadraLogoLink | }}}
|link={{{ TsadraLogoLink | }}}
}}
|
}}
}}
|
}}{{ArticleSummary
}}{{ArticleSummary
|{{{ ArticleLayout | }}}  
|{{{ ArticleLayout | }}}  
Line 25: Line 58:
|{{{ Frontcoverimg | }}}
|{{{ Frontcoverimg | }}}
|{{{ ImageDescription | }}}
|{{{ ImageDescription | }}}
}}{{BookPublisherInSideNav|{{{ DrlPublisher | }}}|{{{ PublisherLink | }}}|{{{ PublisherLogo | }}}}}
}}{{BookPublisherInSideNav|{{{ DrlPublisher | }}}|{{{ PublisherLink | }}}|{{{ PublisherLogo | }}}}}{{TextSidebarCovers|{{{ CoverFile | }}}|{{{ PdfFile | }}}}}
<div id="addToc"></div>{{#if: {{{ BuNayGrade | }}} |
<div class="add-a-verse-button" style="display:none;">{{#formlink:
{{LevelModule|{{{ BuNayGrade | }}}}} | }}
form=Verse
<div style="border-top: 1px solid;">{{{ RelatedContent | }}}</div>
|link text=Add a verse
<div class="relatedTiggerStyle link-no-color link-no-border">{{#formlink:form=Feedback|link text=<i class="fal fa-comment-alt  fa-fw fa-sm"></i> Feedback|query string=Feedback[fbPageCommented]={{SUBPAGENAME}}&Feedback[fbDate]={{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}|tooltip=Provide feedback on this page.|new window}}</div>{{#ifeq: {{{ ContributeTile | }}}  
|tooltip=Add a verse subpage.
| yes
|returnto={{FULLPAGENAME}}
| <div class="relatedTiggerStyle link-no-color plainlinks">[mailto:research@tsadra.org <i class="fal fa-pen-fancy fa-fw fa-sm"></i> Email us to contribute]</div>
}}</div>{{#if: {{{ customTOC | }}}
|
|{{{ customTOC | }}}
}}
|__TOC__
}}
}}<!--{{#if: {{{ BuNayGrade | }}} |
<div class="right-side-bar noprint col-lg-{{{ columns }}} p-0 mb-2 order-first order-lg-last sticky-sidemenu" id="sticky-sidemenu">
{{LevelModule|{{{ BuNayGrade | }}}}} | }}-->
<div class="d-none d-lg-block sticky-sidemenu-inner p-0" id="sticky-sidemenu-inner">{{{ BookPerson | }}}{{ArticleAuthors
<div>{{#if: {{{ RelatedContent | }}} |
|{{{ AuthorPage | }}}
{{{ RelatedContent | }}} | }}
|{{{ authorlibwiki | }}}
<div class="link-no-color plainlinks mb-2">[mailto:research@tsadra.org <i class="fad fa-pen-fancy fa-fw"></i> Email us to contribute]</div>
|{{{ Performer | }}}
<div class="link-no-color plainlinks mb-2">[[Site Guide|<i class="fad fa-compass fa-fw"></i> Site Guide]]</div>
|{{{ TextPerson | }}}
</div>{{#if: {{{SidebarGallery | }}} |
}}{{#ifeq: {{{ ArticleLayout | }}}  
<div class="link-no-border">
| Original Content
{{#arraymap: {{{SidebarGallery | }}}
| {{TsadraLogoInSideNav
|;
|link={{{ TsadraLogoLink | }}}
|@@@
}}
|{{#widget:PersonGallery
|  
|src={{filepath:{{PAGENAME:@@@}}}}
}}{{#ifeq: {{{ TsadraItem | }}}  
|height=50px!important
| true
|imgclasses=m-1
| {{TsadraLogoInSideNav
}}
|link={{{ TsadraLogoLink | }}}
|
}}
}}
|
</div> | }}
}}{{ArticleSummary
{{ScrollToTop}}
|{{{ ArticleLayout | }}}
|{{{ ArticleSource | }}}
|{{{ ArticleSummary | }}}
|{{{ abstract | }}}
|{{{ BuNayPageType | }}}
|{{{ Frontcoverimg | }}}
|{{{ ImageDescription | }}}
}}{{BookPublisherInSideNav
|{{{ DrlPublisher | }}}
|{{{ PublisherLink | }}}
|{{{ PublisherLogo | }}}
}}{{TextSidebarCovers
|{{{ CoverFile | }}}
|{{{ PdfFile | }}}
}}
__TOC__{{#if: {{{ BuNayGrade | }}} |
{{LevelModule|{{{ BuNayGrade | }}}}} | }}
<div style="border-top: 1px solid;">{{{ RelatedContent | }}}</div>
<div class="relatedTiggerStyle link-no-color">{{#formlink:form=Feedback|link text=<i class="fal fa-comment-alt fa-fw fa-sm"></i>  Feedback|query string=Feedback[fbPageCommented]={{SUBPAGENAME}}&Feedback[fbDate]={{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}|tooltip=Provide feedback on this page.|new window}}</div>{{#ifeq: {{{ ContributeTile | }}}
| yes
| <div class="relatedTiggerStyle link-no-color plainlinks">[mailto:research@tsadra.org <i class="fal fa-pen-fancy fa-fw fa-sm"></i> Email us to contribute]</div>
|
}}{{#widget:SidebarBackToTop}}
</div>
</div>
</div>
</div></includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 13:41, 13 December 2024