Difference between revisions of "Template:Article"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 140: Line 140:
 
{{MobileSideNav
 
{{MobileSideNav
 
|content=
 
|content=
<div class="bnw-author-description grey-hoverlay">{{#if: {{{ AuthorPage | }}}
+
<div class="bnw-author-description">
|{{#arraymap: {{{ AuthorPage | }}} | ; | @@@
+
{{#arraymap: {{#if: {{{ AuthorPage | }}}  
| <div class="position-relative p-2 grey-hoverlay">{{#widget:PersonPageRoundImage
+
| {{{ AuthorPage | }}}
|filepath= {{#show:@@@|?FirstImageURL#}}
+
| {{#external_value:authorlibwiki}}
|link=@@@
 
|linkclasses=none
 
|size=200px
 
|depth=2
 
|classes=m-auto
 
}}
 
 
<span style="font-size: 1.3em;">{{#if: {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }} }}</span>
 
</div>
 
|
 
 
}}
 
}}
|{{#arraymap: {{#external_value:authorlibwiki}} | ; | @@@
+
| ;  
| <div class="position-relative p-2 grey-hoverlay">{{#widget:PersonPageRoundImage
+
| @@@
|filepath= {{#show:@@@|?FirstImageURL#}}  
+
| <div class="position-relative p-2 grey-hoverlay">{{#widget:PersonPageRoundImage
|link=@@@
+
|filepath= {{#show:@@@|?FirstImageURL#}}  
|size=200px
+
|link=@@@
|depth=2
+
|size=200px
|linkclasses=none
+
|depth=2
|classes=m-auto
+
|linkclasses=none
}}
+
|classes=m-auto
+
}}
<span style="font-size: 1.3em;">{{#if: {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }} }}</span>
+
</div>
+
<span style="font-size: 1.3em;">{{#if: {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }} }}</span>
|
+
</div>
}}
+
|
}}
 
</div>{{#ifeq: {{{ ArticleLayout | }}} | Original Content |
 
<div class="bnw-author-description grey-hoverlay">{{#widget:PersonPageRoundImage
 
|filepath=http://buddhanature.tsadra.org/images-budnat/thumb/4/48/1_Tsadra_Logo_master_Jeremi_padded.png/1020px-1_Tsadra_Logo_master_Jeremi_padded.png
 
|link=Category:Editorial Content
 
|size=250px
 
|depth=x
 
|linkclasses=none
 
|classes=m-auto
 
 
}}
 
}}
+
</div>{{#ifeq: {{{ ArticleLayout | }}}
<span style="font-size: 1.3em;">© Tsadra Foundation</span>
+
| Original Content
</div> | }}
+
| {{TsadraLogoInSideNav}}
+
|
 +
}}
 
<div class="item-description">{{#if: {{{ ArticleSource | }}} |
 
<div class="item-description">{{#if: {{{ ArticleSource | }}} |
 
<div class="font-italic">Source</div>
 
<div class="font-italic">Source</div>

Revision as of 03:50, 9 July 2019