Template:Article: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 139: Line 139:
</div>
</div>
{{MobileSideNav
{{MobileSideNav
|content=
|content=<div class="bnw-author-description">
<div class="bnw-author-description">
{{#arraymap: {{#if: {{{ AuthorPage | }}}  
{{#arraymap: {{#if: {{{ AuthorPage | }}}  
| {{{ AuthorPage | }}}
| {{{ AuthorPage | }}}
| {{#external_value:authorlibwiki}}
| {{#external_value:authorlibwiki}}
}}
| ;
| @@@
| <div class="position-relative p-2 grey-hoverlay">{{#widget:PersonPageRoundImage
|filepath= {{#show:@@@|?FirstImageURL#}}
|link=@@@
|size=200px
|depth=2
|linkclasses=none
|classes=m-auto
}}
}}
| ;
| @@@
<span style="font-size: 1.3em;">{{#if: {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }} }}</span>
| <div class="position-relative p-2 grey-hoverlay">{{#widget:PersonPageRoundImage
</div>
|filepath= {{#show:@@@|?FirstImageURL#}}
|
|link=@@@
}}
|size=200px
</div>{{#ifeq: {{{ ArticleLayout | }}}  
|depth=2
| Original Content  
|linkclasses=none
| {{TsadraLogoInSideNav}}
|classes=m-auto
|  
}}
}}
<div class="item-description">{{ArticleSummary
<span style="font-size: 1.3em;">{{#if: {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }} }}</span>
|{{{ ArticleLayout | }}}  
</div>
|{{{ ArticleSource | }}}
|
|{{{ ArticleSummary | }}}
}}
|{{#external_value:abstract}}
</div>{{#ifeq: {{{ ArticleLayout | }}}  
}}{{ArticleFeaturedImage
| Original Content  
|{{#external_value:BuNayPageType}}
| {{TsadraLogoInSideNav}}
|{{{ Frontcoverimg | }}}
|  
|{{{ ImageDescription | }}}
}}
}}
<div class="item-description">{{#if: {{{ ArticleSource | }}} |
</div>
<div class="font-italic">Source</div>
 
{{{ ArticleSource | }}} | }}{{#if: {{{ ArticleSummary | }}}  
| {{#ifeq: {{{ ArticleLayout | }}} | Academic Layout
| {{#if: {{#external_value:abstract}}  
| <div class="font-italic">Summary</div>
{{{ ArticleSummary | }}}
|
}}
| <div class="font-italic">Summary</div>
{{{ ArticleSummary | }}}
}}
|
}}{{ArticleFeaturedImage
|{{#external_value:authorlibwiki}}
|{{{ Frontcoverimg | }}}
|{{{ ImageDescription | }}}
}}
</div>
}}
}}
<div class="right-side-bar noprint col-lg-3 pl-0 mb-2 order-first order-lg-last sticky-sidemenu" id="sticky-sidemenu">
<div class="right-side-bar noprint col-lg-3 pl-0 mb-2 order-first order-lg-last sticky-sidemenu" id="sticky-sidemenu">
Line 223: Line 213:
|{{{ ImageDescription | }}}
|{{{ ImageDescription | }}}
}}
}}
</div>
</div>
__TOC__
__TOC__

Revision as of 04:33, 9 July 2019