Difference between revisions of "Template:Article"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 122: | Line 122: | ||
</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"> | <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 |
− | <div class="sticky-sidemenu-inner p-0" id="sticky-sidemenu-inner"> | + | |content= |
+ | <div class="bnw-author-description grey-hoverlay">{{#widget:PersonPageRoundImage | ||
+ | |filepath={{#if: {{{ AuthorImage | }}} | ||
+ | | {{{ AuthorImage | }}} | ||
+ | | {{#show:{{{ AuthorPage | }}}|?FirstImageURL#}} | ||
+ | }} | ||
+ | |link={{{ AuthorPage | {{{ AuthorName | }}} }}} | ||
+ | |size=200px | ||
+ | |depth=2 | ||
+ | }} | ||
+ | |||
+ | <span style="font-size: 1.3em;">{{{ AuthorPage | {{{ AuthorName | }}} }}}</span><br> | ||
+ | <em>{{{ AuthorAffiliation | }}}</em> | ||
+ | </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 | ||
+ | |link=Category:Editorial Content | ||
+ | |size=250px | ||
+ | |depth=x shrink-y-margins | ||
+ | }} | ||
+ | |||
+ | <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 | }}} | | ||
+ | |||
+ | <div class="font-italic">Summary</div> | ||
+ | |||
+ | {{{ 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="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 | ||
|filepath={{#if: {{{ AuthorImage | }}} | |filepath={{#if: {{{ AuthorImage | }}} |