Difference between revisions of "Template:Book"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 63: Line 63:
 
<div class="bnw-panel rounded depth-2 p-4 p-lg-5 mr-lg-4">
 
<div class="bnw-panel rounded depth-2 p-4 p-lg-5 mr-lg-4">
 
<div class="row">{{#if: {{#external_value:frontcoverimg}} |
 
<div class="row">{{#if: {{#external_value:frontcoverimg}} |
<div class="col-md-3 book-cover-img mb-4">[[{{#external_value:frontcoverimg}}|class=depth-1 mt-2 mb-3|link=|]]{{#if: {{#external_value:onlineeditionlink}}{{#external_value:Onlineeditionlinkraw}}{{#external_value:TsadraEpubLink}} |
+
<div class="col-md-3 book-cover-img mb-4">{{#widget:FancyboxImg
 +
|src={{filepath:{{PAGENAME:{{#external_value:frontcoverimg}}}}}}
 +
|src_reduced={{filepath:{{PAGENAME:{{#external_value:frontcoverimg}}}}|400}}
 +
|class=depth-1 mt-2 mb-3
 +
}}{{#if: {{#external_value:onlineeditionlink}}{{#external_value:Onlineeditionlinkraw}}{{#external_value:TsadraEpubLink}} |
 
<div class="plainlinks read-now-link text-center nowrap">
 
<div class="plainlinks read-now-link text-center nowrap">
 
[{{#if: {{#external_value:TsadraEpubLink}}
 
[{{#if: {{#external_value:TsadraEpubLink}}

Revision as of 10:05, 2 September 2020