Difference between revisions of "Template:Article"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 121: Line 121:
 
</div>
 
</div>
 
</div>
 
</div>
<div class="right-side-bar noprint col-lg-3 pl-0 mb-2 order-first order-lg-last sticky-sidemenu" id="sticky-sidemenu">
+
{{MobileSideNav
{{MobileSideNav
+
|content=
|content=
+
<div class="bnw-author-description grey-hoverlay">{{#widget:PersonPageRoundImage
<div class="bnw-author-description grey-hoverlay">{{#widget:PersonPageRoundImage
+
|filepath={{#if: {{{ AuthorImage | }}}  
|filepath={{#if: {{{ AuthorImage | }}}  
+
| {{{ AuthorImage | }}}  
| {{{ AuthorImage | }}}  
+
| {{#show:{{{ AuthorPage | }}}|?FirstImageURL#}}  
| {{#show:{{{ AuthorPage | }}}|?FirstImageURL#}}  
 
}}
 
|link={{{ AuthorPage | {{{ AuthorName | }}} }}}
 
|size=200px
 
|depth=2
 
 
}}
 
}}
+
|link={{{ AuthorPage | {{{ AuthorName | }}} }}}
<span style="font-size: 1.3em;">{{{ AuthorPage | {{{ AuthorName | }}} }}}</span><br>
+
|size=200px
<em>{{{ AuthorAffiliation | }}}</em>
+
|depth=2
</div>{{#ifeq: {{{ ArticleLayout | }}} | Original Content |  
+
}}
<div class="bnw-author-description grey-hoverlay">{{#widget:PersonPageRoundImage
+
|filepath=http://buddhanature.tsadra.org/images-budnat/4/48/1_Tsadra_Logo_master_Jeremi_padded.png
+
<span style="font-size: 1.3em;">{{{ AuthorPage | {{{ AuthorName | }}} }}}</span><br>
|link=Category:Editorial Content
+
<em>{{{ AuthorAffiliation | }}}</em>
|size=250px
+
</div>{{#ifeq: {{{ ArticleLayout | }}} | Original Content |  
|depth=x shrink-y-margins
+
<div class="bnw-author-description grey-hoverlay">{{#widget:PersonPageRoundImage
}}
+
|filepath=http://buddhanature.tsadra.org/images-budnat/4/48/1_Tsadra_Logo_master_Jeremi_padded.png
+
|link=Category:Editorial Content
<span style="font-size: 1.3em;">© Tsadra Foundation</span>
+
|size=250px
</div> | }}
+
|depth=x shrink-y-margins
+
}}
<div class="item-description">{{#if: {{{ ArticleSource | }}} |
+
<div class="font-italic">Source</div>
+
<span style="font-size: 1.3em;">© Tsadra Foundation</span>
 +
</div> | }}
 +
 +
<div class="item-description">{{#if: {{{ ArticleSource | }}} |
 +
<div class="font-italic">Source</div>
 +
 
 +
{{{ ArticleSource | }}} | }}{{#if: {{{ ArticleSummary | }}} |
  
{{{ ArticleSource | }}} | }}{{#if: {{{ ArticleSummary | }}} |
+
<div class="font-italic">Summary</div>
  
<div class="font-italic">Summary</div>
+
{{{ ArticleSummary | }}} | }}{{#if: {{{ Frontcoverimg | }}} |
  
{{{ ArticleSummary | }}} | }}{{#if: {{{ Frontcoverimg | }}} |
+
<div class="d-flex justify-content-around mt-2">
 +
{{#widget:FancyboxImage
 +
|filepath={{filepath:{{PAGENAME:{{{ Frontcoverimg | }}} }} }}
 +
|size=100%
 +
|description={{{ ImageDescription | }}}
 +
}}
 +
</div> | }}
 +
</div>
 +
__TOC__
 +
}}
 +
<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="d-flex justify-content-around mt-2">
 
{{#widget:FancyboxImage
 
|filepath={{filepath:{{PAGENAME:{{{ Frontcoverimg | }}} }} }}
 
|size=100%
 
|description={{{ ImageDescription | }}}
 
}}
 
</div> | }}
 
</div>
 
__TOC__
 
}}
 
 
<div class="d-none d-lg-block sticky-sidemenu-inner p-0" id="sticky-sidemenu-inner">
 
<div class="d-none d-lg-block sticky-sidemenu-inner p-0" id="sticky-sidemenu-inner">
 
<div class="bnw-author-description grey-hoverlay">{{#widget:PersonPageRoundImage
 
<div class="bnw-author-description grey-hoverlay">{{#widget:PersonPageRoundImage

Revision as of 13:27, 30 April 2019