Difference between revisions of "Template:Article"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 122: Line 122:
 
<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 id="sticky-sidemenu">
+
<div class="sticky-sidemenu-inner" id="sticky-sidemenu-inner">
<div id="sticky-sidemenu-inner">
+
<div class="bnw-author-description grey-hoverlay">{{#widget:PersonPageRoundImage
<div class="bnw-author-description grey-hoverlay">{{#widget:PersonPageRoundImage
+
|filepath={{#ifeq: {{{ ArticleLayout | }}}  
|filepath={{#ifeq: {{{ ArticleLayout | }}}  
+
| Original Content  
| Original Content  
+
| http://buddhanature.tsadra.org/images-budnat/4/48/1_Tsadra_Logo_master_Jeremi_padded.png
| http://buddhanature.tsadra.org/images-budnat/4/48/1_Tsadra_Logo_master_Jeremi_padded.png
+
| {{#if: {{{ AuthorImage | }}}  
| {{#if: {{{ AuthorImage | }}}  
+
| {{{ AuthorImage | }}}  
| {{{ AuthorImage | }}}  
+
| {{#show:{{{ AuthorPage | }}}|?FirstImageURL#}}  
| {{#show:{{{ AuthorPage | }}}|?FirstImageURL#}}  
 
}}
 
}}
 
|link={{#ifeq: {{{ ArticleLayout | }}}
 
| Original Content
 
| Category:Editorial Content
 
| {{{ AuthorPage | {{{ AuthorName | }}} }}}
 
}}
 
|size={{#ifeq: {{{ ArticleLayout | }}}
 
| Original Content
 
| 250px
 
| 200px
 
}}
 
|{{#ifeq: {{{ ArticleLayout | }}}
 
| Original Content
 
|
 
| depth=2
 
 
}}
 
}}
 
}}
 
}}
+
|link={{#ifeq: {{{ ArticleLayout | }}}
<span style="font-size: 1.3em;">{{#ifeq: {{{ ArticleLayout | }}}  
+
| Original Content
| Original Content  
+
| Category:Editorial Content
| © Tsadra Foundation
+
| {{{ AuthorPage | {{{ AuthorName | }}} }}}
| {{{ AuthorPage | {{{ AuthorName | }}} }}}
+
}}
}}</span><br><em>{{{ AuthorAffiliation | }}}</em>
+
|size={{#ifeq: {{{ ArticleLayout | }}}
</div>
+
| Original Content
+
| 250px
<div class="item-description">{{#if: {{{ ArticleSource | }}} |
+
| 200px
<div class="font-italic">Source</div>
+
}}
 +
|{{#ifeq: {{{ ArticleLayout | }}}
 +
| Original Content
 +
|
 +
| depth=2
 +
}}
 +
}}
 +
 +
<span style="font-size: 1.3em;">{{#ifeq: {{{ ArticleLayout | }}}  
 +
| Original Content  
 +
| © Tsadra Foundation
 +
| {{{ AuthorPage | {{{ AuthorName | }}} }}}
 +
}}</span><br><em>{{{ AuthorAffiliation | }}}</em>
 +
</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">
+
<div class="d-flex justify-content-around mt-2">
{{#widget:FancyboxImage
+
{{#widget:FancyboxImage
|filepath={{filepath:{{PAGENAME:{{{ Frontcoverimg | }}} }} }}
+
|filepath={{filepath:{{PAGENAME:{{{ Frontcoverimg | }}} }} }}
|size=100%
+
|size=100%
|description={{{ ImageDescription | }}}
+
|description={{{ ImageDescription | }}}
}}
+
}}
</div> | }}
+
</div> | }}
</div>
+
</div>
  
__TOC__
+
__TOC__
  
<div class="d-none d-lg-block">
+
<div class="d-none d-lg-block">
+
{{LevelModule}}
+
{{LevelModule}}
{{RelatedVideo
+
{{RelatedVideo
|label=Related Video
+
|label=Related Video
|service=youtube
+
|service=youtube
|id=biUu5zODklY
+
|id=biUu5zODklY
}}
+
}}
{{RelatedTilesQuery
+
{{RelatedTilesQuery
|label=Introductory Content
+
|label=Introductory Content
|query=[[BuNayGrade::I]]
+
|query=[[BuNayGrade::I]]
}}
+
}}
{{RelatedTilesQuery
+
{{RelatedTilesQuery
|label=Read the scripture
+
|label=Read the scripture
|pages=Ratnagotravibhāga_Mahāyānottaratantraśāstra; Ratnagotravibhāgavyākhyā; Mahāyānottaratantraśāstraṭippanī; Mahāyānottaratantraśāstropadeśa; When the Clouds Part
+
|pages=Ratnagotravibhāga_Mahāyānottaratantraśāstra; Ratnagotravibhāgavyākhyā; Mahāyānottaratantraśāstraṭippanī; Mahāyānottaratantraśāstropadeśa; When the Clouds Part
}}
+
}}
{{RelatedTilesQuery
+
{{RelatedTilesQuery
|label=Journal Articles
+
|label=Journal Articles
|query=[[Subclass::~*Journal Articles*]]
+
|query=[[Subclass::~*Journal Articles*]]
}}
+
}}
{{RelatedTilesQuery
+
{{RelatedTilesQuery
|label=Translations
+
|label=Translations
|query=[[istranslation::true]]
+
|query=[[istranslation::true]]
}}
+
}}
+
{{#widget:ScrollToTop}}
+
{{#widget:ScrollToTop}}
  
  
</div>
 
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 16:05, 10 September 2018