Difference between revisions of "Template:Article"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 42: Line 42:
 
}}</div>
 
}}</div>
 
<div class="d-md-inline-block ml-md-3 border-left border-dark pl-3">{{#time: j F Y | {{{ PubDate | }}}}}</div>
 
<div class="d-md-inline-block ml-md-3 border-left border-dark pl-3">{{#time: j F Y | {{{ PubDate | }}}}}</div>
{{#ifeq: {{{ ArticleLayout | }}}  
+
{{#switch: {{{ 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>
 
}}</div>
|
+
|Original Content=<div class="d-md-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>
}}{{#ifeq: {{{ ArticleLayout | }}}
+
|#default=
| Original Content  
 
| <div class="d-md-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 11:09, 31 July 2020