Difference between revisions of "Template:Book"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 64: | Line 64: | ||
<div class="row">{{#if: {{#external_value:frontcoverimg}} | | <div class="row">{{#if: {{#external_value:frontcoverimg}} | | ||
<div class="col-md-3 book-cover-img mb-4">{{#widget:FancyboxImg | <div class="col-md-3 book-cover-img mb-4">{{#widget:FancyboxImg | ||
− | |src={{filepath:{{PAGENAME:{{#external_value:frontcoverimg}}}}}} | + | |src={{filepath:{{#titleparts:{{PAGENAME:{{#external_value:frontcoverimg}}}}}}}} |
− | |src_reduced={{filepath:{{PAGENAME:{{#external_value:frontcoverimg}}}}|400}} | + | |src_reduced={{filepath:{{#titleparts:{{PAGENAME:{{#external_value:frontcoverimg}}}}}}|400}} |
|class=depth-1 mt-2 mb-3 | |class=depth-1 mt-2 mb-3 | ||
|caption={{#external_value:citation}} | |caption={{#external_value:citation}} |