Template:StickySideBar: 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><div class="right-side-bar noprint col-lg-{{{ columns }}} | <includeonly><div class="right-side-bar noprint col-lg-{{{ columns }}} pr-0 mb-2 order-first order-lg-last {{#ifeq: {{{ manualsticky | }}} | yes | " | sticky-sidemenu" id="sticky-sidemenu" }}> | ||
<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> | <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> | ||
<div class="sidebar d-none d-lg-block p-0 {{# | <div class="sidebar d-none d-lg-block p-0 sticky>{{#if: {{{ BookPerson | }}}{{{ AuthorPage | }}}{{{ authorlibwiki | }}}{{{ translatorlibwiki | }}}{{{ DrlContributors | }}}{{{ Performer | }}}{{{ TextPerson | }}}{{{ topics | }}}| | ||
<div class="d-flex d-lg-block justify-content-center flex-wrap mb-3">{{#if: {{{ BookPerson | }}} | <div class="d-flex d-lg-block justify-content-center flex-wrap mb-3">{{#if: {{{ BookPerson | }}} | ||
| {{{ BookPerson | }}} | | {{{ BookPerson | }}} | ||
| Line 32: | Line 32: | ||
|searchlabel= | |searchlabel= | ||
}} | }} | ||
| | |@@@ | ||
}} | }} | ||
}} | }} | ||
| Line 38: | Line 38: | ||
}} | }} | ||
}} | }} | ||
}}</div>{{#ifeq: {{{ ArticleLayout | }}} | }}</div>|}}{{#ifeq: {{{ ArticleLayout | }}} | ||
| Original Content | | Original Content | ||
| {{TsadraLogoInSideNav | | <div class="mb-3">{{TsadraLogoInSideNav | ||
|link={{{ TsadraLogoLink | }}} | |link={{{ TsadraLogoLink | }}} | ||
}} | }}</div> | ||
| {{#ifeq: {{{ TsadraItem | }}} | | {{#ifeq: {{{ TsadraItem | }}} | ||
| true | | true | ||
| {{TsadraLogoInSideNav | | <div class="mb-3">{{TsadraLogoInSideNav | ||
|link={{{ TsadraLogoLink | }}} | |link={{{ TsadraLogoLink | }}} | ||
}} | }}</div> | ||
| | | | ||
}} | }} | ||
| Line 59: | Line 59: | ||
|{{{ ImageDescription | }}} | |{{{ ImageDescription | }}} | ||
}}{{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 mb-3" 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: {{{ | }}</div><!--{{#if: {{{ BuNayGrade | }}} | | ||
{{LevelModule|{{{ BuNayGrade | }}}}} | }}--> | |||
<div class="mb-3">{{#if: {{{ customTOC | }}} | |||
|{{#ifeq: {{{ customTOC | }}} | |||
|none | |||
| | |||
|{{{ customTOC | }}} | |||
}} | |||
<div class="link-no-border"> | |<div class="mb-3">__TOC__</div> | ||
}}{{#if: {{{ RelatedContent | }}} | | |||
<div class="mb-4">{{{ RelatedContent | }}}</div> | }} | |||
<div class="link-no-color plainlinks my-2">[mailto:research@tsadra.org <i class="fa-sharp-duotone fa-pen-fancy fa-fw"></i> Email us to contribute]</div> | |||
<div class="link-no-color plainlinks my-2">[[Site Guide|<i class="fa-sharp-duotone fa-compass fa-fw"></i> Site Guide]]</div> | |||
</div>{{#if: {{{SidebarGallery | }}} | | |||
<div class="link-no-border mb-3"> | |||
{{#arraymap: {{{SidebarGallery | }}} | {{#arraymap: {{{SidebarGallery | }}} | ||
|; | |; | ||
| Line 84: | Line 90: | ||
}} | }} | ||
</div> | }} | </div> | }} | ||
{{ScrollToTop}} | |||
</div> | </div> | ||
</div></includeonly><noinclude>{{TemplateTag}}</noinclude> | </div></includeonly><noinclude>{{TemplateTag}}</noinclude> | ||