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:{{{ | |src={{filepath:{{{ 18 | }}}|400}} | ||
|imageposition=center | |imageposition=center | ||
|classes=tile-image | |classes=tile-image | ||
}} | }} | ||
<div class="type-icon mt-auto">{{#switch: {{{ | <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: {{{ | |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: {{{ | | {{#if: {{{ 9 | }}} | ||
| {{{ | | {{{ 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: {{{ | |{{#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 }} | ||
|, | |, | ||
}}: ''{{#if: {{{ | }}: ''{{#if: {{{ 13 | }}} | ||
| {{{ | | {{{ 13 | }}} | ||
| {{#if: {{{ | | {{#if: {{{ 12 | }}} | ||
| {{{ | | {{{ 12 | }}} | ||
| {{{ | | {{{ 14 | }}} | ||
}} | }} | ||
}}''</div> | }}''</div> | ||
|<div class="tile-content-header clipped-2-lines">{{#if: {{{ | |<div class="tile-content-header clipped-2-lines">{{#if: {{{ 23 | }}} | ||
| {{{ | | {{{ 24 | }}} {{{ 23 | }}} | ||
| {{#if: {{{ | | {{#if: {{{ 17 | }}} | ||
| {{{ | | {{{ 17 | }}} | ||
| {{#if: {{{ | | {{#if: {{{ 6 | }}} | ||
| {{{ | | {{{ 6 | }}} | ||
| {{#if: {{{ | | {{#if: {{{ 8 | }}} | ||
| {{{ | | {{{ 8 | }}} | ||
| {{SUBPAGENAME: {{{ 1 | }}} }} | | {{SUBPAGENAME: {{{ 1 | }}} }} | ||
}} | }} | ||
Line 53: | Line 53: | ||
}} | }} | ||
}}</div> | }}</div> | ||
}}{{#ifeq: {{{ | }}{{#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">{{{ | <div class="tile-description clipped-4-lines">{{{ 15 | }}}</div> | ||
}} | }} | ||
</div> | </div> | ||
<div class="invisible">{{#arraymap:{{{ invisible | }}};{{BookPeopleSubobjectData|{{{ 1 | }}}}};{{PeopleNames|{{{ 2 | }}};{{{ | <div class="invisible">{{#arraymap:{{{ invisible | }}};{{BookPeopleSubobjectData|{{{ 1 | }}}}};{{PeopleNames|{{{ 2 | }}};{{{ 4 | }}};{{{ 7 | }}}}};{{PeopleTopicsOtherNames|{{{ 16 | }}}}} | ||
|; | |; | ||
|@@@ | |@@@ |