Difference between revisions of "Template:Article"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 80: Line 80:
 
|Academic Layout=
 
|Academic Layout=
 
<div class="bnw-panel rounded p-4 mb-5 mr-lg-4 depth-1 text-90">
 
<div class="bnw-panel rounded p-4 mb-5 mr-lg-4 depth-1 text-90">
 +
<div class="row">{{#if: {{{ Frontcoverimg | }}} |
 +
<div class="col-md-3 book-cover-img mb-4">{{#widget:FancyboxImg
 +
|src={{filepath:{{#titleparts:{{PAGENAME:{{{ Frontcoverimg | }}}}}}}}}
 +
|src_reduced={{filepath:{{#titleparts:{{PAGENAME:{{{ Frontcoverimg | }}}}}}}|400}}
 +
|class=depth-1 mt-2 mb-3
 +
}}
 +
</div> | }}
 +
<div class="{{#if: {{{ Frontcoverimg | }}} | col-md-9 | col-12 }}">
 
{{{!}} class="table th-nowrap text-muted text-90 no-top-border-first-row th-right-align">
 
{{{!}} class="table th-nowrap text-muted text-90 no-top-border-first-row th-right-align">
 
{{!}}-
 
{{!}}-
Line 88: Line 96:
 
{{!}} class="disabled-red-links" {{!}} {{#external_value:citationofsourcetexts}} | }}
 
{{!}} class="disabled-red-links" {{!}} {{#external_value:citationofsourcetexts}} | }}
 
{{!}}}{{#if: {{#external_value:abstract}}  
 
{{!}}}{{#if: {{#external_value:abstract}}  
| <div><h3> Abstract </h3>
+
| <div><h3> Abstract </h3>
<div>{{#external_value:abstract}}</div></div>
+
<div>{{#external_value:abstract}}</div></div>
| {{#if: {{{ ArticleSummary | }}}  
+
| {{#if: {{{ ArticleSummary | }}}  
| <h3>Article Summary</h3>
+
| <h3>Article Summary</h3>
<div class="{{#ifeq: {{{ DisableDropcap | }}} | Yes | no-drop-cap | drop-cap }}">{{{ ArticleSummary | }}}</div>
+
<div class="{{#ifeq: {{{ DisableDropcap | }}} | Yes | no-drop-cap | drop-cap }}">{{{ ArticleSummary | }}}</div>
|
+
|
}}
+
}}
}}
+
}}
 +
</div>
 +
</div>
 
</div>
 
</div>
 
| Original Content={{#if: {{#external_value:abstract}} |
 
| Original Content={{#if: {{#external_value:abstract}} |
<div class="bnw-panel rounded p-4 mb-5 mr-lg-4 depth-1" style="font-size: .9em;">{{#if: {{#external_value:citation}} |
+
<div class="bnw-panel rounded p-4 mb-5 mr-lg-4 depth-1 text-90">{{#if: {{#external_value:citation}} |
 
<div class="bnw-book-citation mb-3 text-muted clearfix">
 
<div class="bnw-book-citation mb-3 text-muted clearfix">
 
<div class="font-italic float-left pr-1">Citation:</div>
 
<div class="font-italic float-left pr-1">Citation:</div>

Revision as of 11:32, 29 September 2020