Template:StickySideBar: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(53 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--{{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
|{{{ TextPerson | }}}
| {{#arraymap: {{{ AuthorPage | }}};{{{ authorlibwiki | }}};{{{ translatorlibwiki | }}};{{{ DrlContributors | }}};{{{ Performer | }}};{{{ TextPerson | }}};{{#arraymap:{{{ topics | }}}
|topics={{{ topics | }}}
|;
}}{{#ifeq: {{{ ArticleLayout | }}}  
|@@@
| Original Content
|{{#if: {{#ask: [[@@@]][[Category:People]]}}  
| {{TsadraLogoInSideNav
| {{#ask: [[@@@]][[Category:People]]
|link={{{ TsadraLogoLink | }}}
|link=none
}}
|limit=1
|
|searchlabel=
}}{{#ifeq: {{{ TsadraItem | }}}
}}
| true
|
| {{TsadraLogoInSideNav
|link={{{ TsadraLogoLink | }}}
}}
|
}}{{ArticleSummary
|{{{ ArticleLayout | }}}
|{{{ ArticleSource | }}}
|{{{ ArticleSummary | }}}
|{{{ abstract | }}}
|{{{ BuNayPageType | }}}
|{{{ Frontcoverimg | }}}
|{{{ ImageDescription | }}}
}}{{BookPublisherInSideNav|{{{ DrlPublisher | }}}|{{{ PublisherLink | }}}|{{{ PublisherLogo | }}}}}{{#if: {{{ customTOC | }}}
|{{{ customTOC | }}}
|<div id="addToc"></div>
}}{{#if: {{{ BuNayGrade | }}} |
{{LevelModule|{{{ BuNayGrade | }}}}} | }}
<div style="border-top: 1px solid;">{{{ RelatedContent | }}}</div>{{#ifeq: {{{ ContributeTile | }}}
| yes
| <div class="relatedTiggerStyle link-no-color plainlinks border-top">[mailto:research@tsadra.org <i class="fal fa-pen-fancy fa-fw fa-sm"></i> Email us to contribute]</div>
|
}}
}}-->
<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" }}>
<div class="d-none d-lg-block p-0 {{#ifeq: {{{ manualsticky | }}} | yes | manual-sticky" | sticky-sidemenu-inner" id="sticky-sidemenu-inner" }}>{{{ BookPerson | }}}{{ArticleAuthors
| {{#if: {{{ AuthorPage | }}}  
| {{{ AuthorPage | }}}
| {{#if: {{{ authorlibwiki | }}}  
| {{{ authorlibwiki | }}}
| {{#if: {{{ Performer | }}}  
| {{{ Performer | }}}
| {{#if: {{{ TextPerson | }}}  
| {{{ TextPerson | }}}
|  
}}
}}
|;
}}
}}
}}
}};{{#if: {{{ topics | }}}
| {{#arraymap:{{{ topics | }}}
|;
|;
|@@@
|@@@
|{{#if: {{#ask: [[@@@]][[Category:People]]}} | @@@ | }}
|{{#if: {{#ask: [[People/@@@]]}}
| {{#ask: [[People/@@@]]
|link=none
|limit=1
|searchlabel=
}}
|{{#if: {{#ask: [[@@@]]}}  
| {{#ask: [[@@@]]
|link=none
|limit=1
|searchlabel=
}}
|
}}
}}
|;
|;
}}
}}
|
}}
}}
}}{{#ifeq: {{{ ArticleLayout | }}}  
}}</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 83: Line 60:
}}{{BookPublisherInSideNav|{{{ DrlPublisher | }}}|{{{ PublisherLink | }}}|{{{ PublisherLogo | }}}}}{{TextSidebarCovers|{{{ CoverFile | }}}|{{{ PdfFile | }}}}}
}}{{BookPublisherInSideNav|{{{ DrlPublisher | }}}|{{{ PublisherLink | }}}|{{{ PublisherLogo | }}}}}{{TextSidebarCovers|{{{ CoverFile | }}}|{{{ PdfFile | }}}}}
<div class="add-a-verse-button" style="display:none;">{{#formlink:
<div class="add-a-verse-button" style="display:none;">{{#formlink:
form=Verse
form=Verse
|link text=Add a verse
|link text=Add a verse
|tooltip=Add a verse subpage.
|tooltip=Add a verse subpage.
|returnto={{FULLPAGENAME}}
|returnto={{FULLPAGENAME}}
}}</div>{{#if: {{{ customTOC | }}}
}}</div>{{#if: {{{ customTOC | }}}
|{{{ customTOC | }}}
|{{{ customTOC | }}}
|__TOC__
|__TOC__
}}<!--{{#if: {{{ BuNayGrade | }}} |
}}<!--{{#if: {{{ BuNayGrade | }}} |
{{LevelModule|{{{ BuNayGrade | }}}}} | }}-->
{{LevelModule|{{{ BuNayGrade | }}}}} | }}-->
<div style="border-top: 1px solid;">{{{ RelatedContent | }}}</div>{{#ifeq: {{{ ContributeTile | }}}  
<div>{{#if: {{{ RelatedContent | }}} |
| yes
{{{ RelatedContent | }}} | }}
| <div class="relatedTiggerStyle link-no-color plainlinks border-top">[mailto:research@tsadra.org <i class="fal fa-pen-fancy fa-fw fa-sm"></i> Email us to contribute]</div>
<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>
|  
<div class="link-no-color plainlinks mb-2">[[Site Guide|<i class="fad fa-compass fa-fw"></i> Site Guide]]</div>
}}{{#widget:SidebarBackToTop}}{{#if: {{{SidebarGallery | }}} |
</div>{{#if: {{{SidebarGallery | }}} |
<div class="link-no-border">
<div class="link-no-border">
{{#arraymap: {{{SidebarGallery | }}}
{{#arraymap: {{{SidebarGallery | }}}
Line 109: Line 86:
}}
}}
</div> | }}
</div> | }}
{{ScrollToTop}}
</div>
</div>
</div></includeonly><noinclude>{{TemplateTag}}</noinclude>
</div></includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 13:41, 13 December 2024