Template:PageTile: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
<includeonly><noglossary><div class="bnw-page-tile pop-hover mt-1 mb-3 position-relative link-no-border">
<includeonly><noglossary><div class="bnw-page-tile pop-hover mt-1 mb-3 position-relative link-no-border">
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
|src={{filepath:{{{ 32 | }}}|400}}
|src={{filepath:{{{ 18 | }}}|400}}
|imageposition=center
|imageposition=center
|classes=tile-image
|classes=tile-image
}}
}}
<div class="type-icon mt-auto">{{#switch: {{{ 18 | }}}
<div class="type-icon mt-auto">{{#switch: {{{ 9 | }}}
|Tibetan Text
|Tibetan Text
|Sanskrit Text
|Sanskrit Text
|Chinese Text
|Chinese Text
|Korean Text=Text
|Korean Text=Text
|Dissertation={{#switch: {{{ 36 | }}}
|Dissertation={{#switch: {{{ 22 | }}}
|PhD diss.=PhD Diss
|PhD diss.=PhD Diss
|MA These=MA Thesis
|MA These=MA Thesis
Line 16: Line 16:
|#default={{#if: {{{ watermark | }}}  
|#default={{#if: {{{ watermark | }}}  
| {{{ watermark | }}}  
| {{{ watermark | }}}  
| {{#if: {{{ 18 | }}}  
| {{#if: {{{ 9 | }}}  
| {{{ 18 | }}}  
| {{{ 9 | }}}  
| <span style="color: #000; text-align: center;"><i class="fad fa-book-dead"></i></span>
| <span style="color: #000; text-align: center;"><i class="fad fa-book-dead"></i></span>
}}
}}
Line 26: Line 26:
<div class="tile-content">{{#if: {{{ content | }}}
<div class="tile-content">{{#if: {{{ content | }}}
|{{{ content | }}}
|{{{ content | }}}
|{{#ifeq: {{{ 21 | }}}
|{{#ifeq: {{{ 11 | }}}
|Commentary
|Commentary
|<div class="tile-content-header d-inline clipped-2-lines">{{#arraymap: {{{ 2 | }}}
|<div class="tile-content-header d-inline clipped-2-lines">{{#arraymap: {{{ 2 | }}}
Line 33: Line 33:
|{{#show: @@@ |?MainNamePhon }}
|{{#show: @@@ |?MainNamePhon }}
|,&nbsp;
|,&nbsp;
}}: ''{{#if: {{{ 25 | }}}  
}}: ''{{#if: {{{ 13 | }}}  
| {{{ 25 | }}}  
| {{{ 13 | }}}  
| {{#if: {{{ 22 | }}}
| {{#if: {{{ 12 | }}}
| {{{ 22 | }}}
| {{{ 12 | }}}
| {{{ 26 | }}}
| {{{ 14 | }}}
}}
}}
}}''</div>
}}''</div>
|<div class="tile-content-header clipped-2-lines">{{#if: {{{ 37 | }}}  
|<div class="tile-content-header clipped-2-lines">{{#if: {{{ 23 | }}}  
| {{{ 38 | }}} {{{ 37 | }}}  
| {{{ 24 | }}} {{{ 23 | }}}  
| {{#if: {{{ 30 | }}}
| {{#if: {{{ 17 | }}}
| {{{ 30 | }}}
| {{{ 17 | }}}
| {{#if: {{{ 9 | }}}  
| {{#if: {{{ 6 | }}}  
| {{{ 9 | }}}  
| {{{ 6 | }}}  
| {{#if: {{{ 13 | }}}  
| {{#if: {{{ 8 | }}}  
| {{{ 13 | }}}  
| {{{ 8 | }}}  
| {{SUBPAGENAME: {{{ 1 | }}} }}  
| {{SUBPAGENAME: {{{ 1 | }}} }}  
}}
}}
Line 53: Line 53:
}}  
}}  
}}</div>
}}</div>
}}{{#ifeq: {{{ 20 | }}}  
}}{{#ifeq: {{{ 10 | }}}  
| true  
| true  
|<div class="tile-fulltext"><i class="fal fa-book-open" title="Full text available"></i></div>
|<div class="tile-fulltext"><i class="fal fa-book-open" title="Full text available"></i></div>
Line 59: Line 59:
}}
}}
<hr class="tile-divider">
<hr class="tile-divider">
<div class="tile-description clipped-4-lines">{{{ 27 | }}}</div>
<div class="tile-description clipped-4-lines">{{{ 15 | }}}</div>
}}
}}
</div>
</div>
<div class="invisible">{{#arraymap:{{{ invisible | }}};{{BookPeopleSubobjectData|{{{ 1 | }}}}};{{PeopleNames|{{{ 2 | }}};{{{ 5 | }}};{{{ 12 | }}}}};{{PeopleTopicsOtherNames|{{{ 29 | }}}}}
<div class="invisible">{{#arraymap:{{{ invisible | }}};{{BookPeopleSubobjectData|{{{ 1 | }}}}};{{PeopleNames|{{{ 2 | }}};{{{ 4 | }}};{{{ 7 | }}}}};{{PeopleTopicsOtherNames|{{{ 16 | }}}}}
|;
|;
|@@@
|@@@

Revision as of 12:25, 10 July 2020