Difference between revisions of "Template:Article"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 25: Line 25:
 
<div>
 
<div>
 
<div class="d-inline-block font-italic mr-5 mr-sm-0">{{#if: {{{ AuthorName | }}}  
 
<div class="d-inline-block font-italic mr-5 mr-sm-0">{{#if: {{{ AuthorName | }}}  
| {{{ AuthorName | }}}  
+
| {{{ AuthorName | }}}  
| {{#if: {{{ AuthorPage | }}}
+
| {{#if: {{{ AuthorPage | }}}
| {{#show: {{{ AuthorPage | }}}|?MainNamePhon }}  
+
| {{#show: {{{ AuthorPage | }}}|?MainNamePhon }}  
| {{#if: {{#external_value:authorlibwiki}}
+
| {{#if: {{#external_value:authorlibwiki}}
| {{#show: {{#external_value:authorlibwiki}} |?MainNamePhon }}
+
| {{#show: {{#external_value:authorlibwiki}} |?MainNamePhon }}
| {{#if: {{#external_value:Performer}}
+
| {{#if: {{#external_value:Performer}}
| {{#show: {{#external_value:Performer}} |?MainNamePhon }}
+
| {{#show: {{#external_value:Performer}} |?MainNamePhon }}
|
+
|
 +
}}
 
}}
 
}}
}}
+
}}  
}}
+
}}</div>
}}</div>
+
<div class="d-inline-block ml-md-3 border-left border-dark pl-3">{{#time: j F Y | {{{ PubDate | }}}}}</div>
<div class="d-inline-block ml-md-3 border-left border-dark pl-3">{{#time: j F Y | {{{ PubDate | }}}}}</div>
+
{{#ifeq: {{{ ArticleLayout | }}}  
{{#ifeq: {{{ ArticleLayout | }}}  
+
| Alternate Source  
| Alternate Source  
+
|<div class="d-inline-block ml-md-3 border-left border-dark pl-3" style="color: {{{ AlternateSourceColor | }}};">[[{{{ AlternateSourceLogo | }}}|x28px|link={{{ AlternateSourceLink | }}}]] {{#if: {{{ AlternateSourceName | }}}  
|<div class="d-inline-block ml-md-3 border-left border-dark pl-3" style="color: {{{ AlternateSourceColor | }}};">[[{{{ AlternateSourceLogo | }}}|x28px|link={{{ AlternateSourceLink | }}}]] {{#if: {{{ AlternateSourceName | }}}  
+
| [{{{ AlternateSourceLink | }}} {{{ AlternateSourceName | }}}]  
| [{{{ AlternateSourceLink | }}} {{{ AlternateSourceName | }}}]  
+
|
 +
}}</div>
 +
|
 +
}}{{#ifeq: {{{ ArticleLayout | }}}
 +
| Original Content
 +
| <div class="d-inline-block ml-md-3 border-left border-dark pl-3 grey text-80 font-italic">''Original content written for the Buddha-Nature Project.''</div>
 
|  
 
|  
}}</div>
+
}}
|
 
}}{{#ifeq: {{{ ArticleLayout | }}}
 
| Original Content
 
| <div class="d-inline-block ml-md-3 border-left border-dark pl-3 grey text-80 font-italic">''Original content written for the Buddha-Nature Project.''</div>
 
|
 
}}
 
 
</div>
 
</div>
 
}}
 
}}

Revision as of 14:32, 17 July 2020