Difference between revisions of "Template:StickySideBar"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 40: Line 40:
 
<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="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" }}>{{ArticleAuthors
 
<div class="d-none d-lg-block p-0 {{#ifeq: {{{ manualsticky | }}} | yes | manual-sticky" | sticky-sidemenu-inner" id="sticky-sidemenu-inner" }}>{{ArticleAuthors
| {{#if: {{{ BookPerson | }}}  
+
| {{#arraymap: {{#if: {{{ BookPerson | }}}  
| {{#ask: [[-Has subobject::{{PAGENAME}}]]
+
| {{#ask: [[-Has subobject::{{PAGENAME}}]]
|?PersonPage
+
|?PersonPage
|link=none
+
|link=none
|format=template
+
|format=template
|template=ShowPlainProp
+
|template=ShowPlainProp
|sep=;
+
|sep=;
|import-annotation=true
+
|import-annotation=true
 +
}}
 +
|
 +
}};{{{ AuthorPage | }}};{{{ authorlibwiki | }}};{{{ Performer | }}};{{{ TextPerson | }}};{{{ topics | }}}
 +
|;
 +
|@@@
 +
|{{#if: {{#ask: [[@@@]][[Category:People]] OR [[@@@]][[Category:Organization Category Page]]}}
 +
| {{#ask: [[@@@]][[Category:People]] OR [[@@@]][[Category:Organization Category Page]]
 +
|link=none
 +
|limit=1
 +
|searchlabel=
 +
}}
 +
|
 
}}
 
}}
|
+
|;
}};{{{ AuthorPage | }}};{{{ authorlibwiki | }}};{{{ Performer | }}};{{{ TextPerson | }}};{{#if: {{{ topics | }}}
 
| {{#arraymap:{{{ topics | }}}
 
|;
 
|@@@
 
|{{#if: {{#ask: [[@@@]][[Category:People]]}} | @@@ | }}
 
|;
 
}}
 
|
 
 
}}
 
}}
 
}}{{#ifeq: {{{ ArticleLayout | }}}  
 
}}{{#ifeq: {{{ ArticleLayout | }}}  

Revision as of 16:16, 18 June 2020