Difference between revisions of "Template:StickySideBar"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <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="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> | |
− | + | <div class="sidebar d-none d-lg-block p-0 {{#ifeq: {{{ manualsticky | }}} | yes | manual-sticky" | sticky-sidemenu-inner" id="sticky-sidemenu-inner" }}> | |
− | + | <div class="d-flex d-lg-block justify-content-center flex-wrap">{{#if: {{{ BookPerson | }}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <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-lg-none fixed-bottom px-4 py-3 off-white depth- | ||
− | <div class="d-none d-lg-block p-0 {{#ifeq: {{{ manualsticky | }}} | yes | manual-sticky" | sticky-sidemenu-inner" id="sticky-sidemenu-inner" }}>{{#if: {{{ BookPerson | }}} | ||
| {{{ BookPerson | }}} | | {{{ BookPerson | }}} | ||
| {{ArticleAuthors | | {{ArticleAuthors | ||
− | | {{#arraymap: {{{ AuthorPage | }}};{{{ authorlibwiki | }}};{{{ translatorlibwiki | }}};{{{ Performer | }}};{{{ TextPerson | }}};{{#arraymap:{{{ topics | }}} | + | | {{#arraymap: {{{ AuthorPage | }}};{{{ authorlibwiki | }}};{{{ translatorlibwiki | }}};{{{ DrlContributors | }}};{{{ Performer | }}};{{{ TextPerson | }}};{{#arraymap:{{{ topics | }}} |
|; | |; | ||
|@@@ | |@@@ | ||
Line 58: | Line 20: | ||
|; | |; | ||
|@@@ | |@@@ | ||
− | |{{#if: {{#ask: [[@@@]]}} | + | |{{#if: {{#ask: [[People/@@@]]}} |
− | | {{#ask: [[@@@]] | + | | {{#ask: [[People/@@@]] |
|link=none | |link=none | ||
|limit=1 | |limit=1 | ||
|searchlabel= | |searchlabel= | ||
}} | }} | ||
− | | | + | |{{#if: {{#ask: [[@@@]]}} |
+ | | {{#ask: [[@@@]] | ||
+ | |link=none | ||
+ | |limit=1 | ||
+ | |searchlabel= | ||
+ | }} | ||
+ | | | ||
+ | }} | ||
}} | }} | ||
|; | |; | ||
}} | }} | ||
}} | }} | ||
− | }}{{#ifeq: {{{ ArticleLayout | }}} | + | }}</div>{{#ifeq: {{{ ArticleLayout | }}} |
| Original Content | | Original Content | ||
| {{TsadraLogoInSideNav | | {{TsadraLogoInSideNav | ||
Line 99: | Line 68: | ||
|__TOC__ | |__TOC__ | ||
}}<!--{{#if: {{{ BuNayGrade | }}} | | }}<!--{{#if: {{{ BuNayGrade | }}} | | ||
− | {{LevelModule|{{{ BuNayGrade | }}}}} | }}--> | + | {{LevelModule|{{{ BuNayGrade | }}}}} | }}-->{{#if: {{{ RelatedContent | }}} | |
− | <div | + | <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"> | <div class="link-no-border"> | ||
{{#arraymap: {{{SidebarGallery | }}} | {{#arraymap: {{{SidebarGallery | }}} |