Template:StickySideBar: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<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" }}> | <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" }}> | ||
<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 71: | Line 71: | ||
<div>{{#if: {{{ RelatedContent | }}} | | <div>{{#if: {{{ RelatedContent | }}} | | ||
{{{ RelatedContent | }}} | }} | {{{ RelatedContent | }}} | }} | ||
<div class="link-no-color plainlinks | <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 | <div class="link-no-color plainlinks mb-2">[[Site Guide|<i class="fad fa-compass fa-fw"></i> Site Guide]]</div> | ||
</div>{{#if: {{{SidebarGallery | }}} | | |||
<div class="link-no-border"> | |||
{{#arraymap: {{{SidebarGallery | }}} | |||
|; | |||
|@@@ | |||
|{{#widget:PersonGallery | |||
|src={{filepath:{{PAGENAME:@@@}}}} | |||
|height=50px!important | |||
|imgclasses=m-1 | |||
}} | }} | ||
</div> | }} | | | ||
}} | |||
</div> | }} | |||
{{ScrollToTop}} | |||
</div> | </div> | ||
</div></includeonly><noinclude>{{TemplateTag}}</noinclude> | </div></includeonly><noinclude>{{TemplateTag}}</noinclude> |