Difference between revisions of "Template:StickySideBar"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(126 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={{#switch: {{{ BuNayPageType | }}}
+
<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="fad 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>
|Article={{ArticleAuthors
+
<div class="sidebar d-none d-lg-block p-0 {{#ifeq: {{{ manualsticky | }}} | yes | manual-sticky" | sticky-sidemenu-inner" id="sticky-sidemenu-inner" }}>
|{{{ AuthorPage | }}}
+
<div class="d-flex d-lg-block justify-content-center flex-wrap">{{#if: {{{ BookPerson | }}}
|{{{ authorlibwiki | }}}
+
| {{{ BookPerson | }}}  
}}{{#ifeq: {{{ ArticleLayout | }}}  
+
| {{ArticleAuthors
| Original Content
+
| {{#arraymap: {{{ AuthorPage | }}};{{{ authorlibwiki | }}};{{{ translatorlibwiki | }}};{{{ DrlContributors | }}};{{{ Performer | }}};{{{ TextPerson | }}};{{#arraymap:{{{ topics | }}}
| {{TsadraLogoInSideNav
+
|;
|link={{{ TsadraLogoLink | }}}
+
|@@@
 +
|{{#if: {{#ask: [[@@@]][[Category:People]]}}
 +
| {{#ask: [[@@@]][[Category:People]]
 +
|link=none
 +
|limit=1
 +
|searchlabel=
 +
}}
 +
|
 +
}}
 +
|;
 
}}
 
}}
|  
+
|;
}}
+
|@@@
<div class="item-description">{{ArticleSummary
+
|{{#if: {{#ask: [[People/@@@]]}}  
|{{{ ArticleLayout | }}}  
+
| {{#ask: [[People/@@@]]
|{{{ ArticleSource | }}}
+
|link=none
|{{{ ArticleSummary | }}}
+
|limit=1
|{{{ abstract | }}}
+
|searchlabel=
}}{{ArticleFeaturedImage
+
}}
|{{{ BuNayPageType | }}}
+
|{{#if: {{#ask: [[@@@]]}}  
|{{{ Frontcoverimg | }}}
+
| {{#ask: [[@@@]]
|{{{ ImageDescription | }}}
+
|link=none
 +
|limit=1
 +
|searchlabel=
 +
}}
 +
|
 +
}}
 
}}
 
}}
</div>
+
|;
|Book
+
}}
|Dissertation={{{ BookPerson | }}}
+
}}
}}
+
}}</div>{{#ifeq: {{{ ArticleLayout | }}}  
 
 
<div id="addToc"></div>
 
{{{ RelatedContent | }}}
 
<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>
 
}}
 
<div class="right-side-bar noprint col-lg-{{{ columns }}} pl-0 mb-2 order-first order-lg-last sticky-sidemenu" id="sticky-sidemenu">
 
<div class="d-none d-lg-block sticky-sidemenu-inner p-0" id="sticky-sidemenu-inner">
 
{{ArticleAuthors
 
|{{{ AuthorPage | }}}
 
|{{{ authorlibwiki | }}}
 
}}{{#ifeq: {{{ ArticleLayout | }}}  
 
 
| Original Content  
 
| Original Content  
| {{TsadraLogoInSideNav}}
+
| {{TsadraLogoInSideNav
|  
+
|link={{{ TsadraLogoLink | }}}
}}
+
}}
<div class="item-description">{{ArticleSummary
+
| {{#ifeq: {{{ TsadraItem | }}}
|{{{ ArticleLayout | }}}  
+
| true
|{{{ ArticleSource | }}}
+
| {{TsadraLogoInSideNav
|{{{ ArticleSummary | }}}
+
|link={{{ TsadraLogoLink | }}}
|{{{ abstract | }}}
+
}}
}}{{ArticleFeaturedImage
+
|
|{{{ BuNayPageType | }}}
+
}}
|{{{ Frontcoverimg | }}}
+
}}{{ArticleSummary
|{{{ ImageDescription | }}}
+
|{{{ ArticleLayout | }}}
 +
|{{{ ArticleSource | }}}
 +
|{{{ ArticleSummary | }}}
 +
|{{{ abstract | }}}
 +
|{{{ BuNayPageType | }}}
 +
|{{{ Frontcoverimg | }}}
 +
|{{{ ImageDescription | }}}
 +
}}{{BookPublisherInSideNav|{{{ DrlPublisher | }}}|{{{ PublisherLink | }}}|{{{ PublisherLogo | }}}}}{{TextSidebarCovers|{{{ CoverFile | }}}|{{{ PdfFile | }}}}}
 +
<div class="add-a-verse-button" style="display:none;">{{#formlink:
 +
form=Verse
 +
|link text=Add a verse
 +
|tooltip=Add a verse subpage.
 +
|returnto={{FULLPAGENAME}}
 +
}}</div>{{#if: {{{ customTOC | }}}
 +
|{{{ customTOC | }}}
 +
|__TOC__
 +
}}<!--{{#if: {{{ BuNayGrade | }}} |
 +
{{LevelModule|{{{ BuNayGrade | }}}}} | }}-->{{#if: {{{ RelatedContent | }}} |
 +
<div class="border-top border-dark">{{{ RelatedContent | }}}</div> | }}
 +
<div class="relatedTiggerStyle link-no-color plainlinks border-top border-dark">[mailto:research@tsadra.org <i class="fad fa-pen-fancy fa-fw"></i> Email us to contribute]</div>
 +
<div class="relatedTiggerStyle link-no-color plainlinks _blank">[[Site Guide|<i class="fad fa-compass fa-fw"></i> Site Guide]]</div>{{#widget:SidebarBackToTop}}{{#if: {{{SidebarGallery | }}} |
 +
<div class="link-no-border">
 +
{{#arraymap: {{{SidebarGallery | }}}
 +
|;
 +
|@@@
 +
|{{#widget:PersonGallery
 +
|src={{filepath:{{PAGENAME:@@@}}}}
 +
|height=50px!important
 +
|imgclasses=m-1
 +
}}
 +
|
 
}}
 
}}
</div>
+
</div> | }}
__TOC__
 
{{LevelModule}}
 
{{{ RelatedContent | }}}
 
<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>{{
 
#widget:SidebarBackToTop}}
 
 
</div>
 
</div>
</div>
+
</div></includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 13:52, 8 March 2023