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><div class="filterable {{#if: {{{ wrapperClasses | }}}
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
| {{{ wrapperClasses | }}}
|src={{filepath:{{{ 18 | }}}|{{#switch: {{{ 9 | }}}
| {{{#userparam|col-lg-12}}}
}}"><noglossary><div class="bnw-page-tile pop-hover mt-1 mb-3 position-relative link-no-border">
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
|src={{filepath:{{{ 18 | }}}|{{#switch: {{{ 9 | }}}
|Tibetan Text
|Sanskrit Text
|Chinese Text
|Korean Text=1000
|400
}} }}
|imageposition=center
|classes=tile-image
}}
<div class="type-icon mt-auto">{{#switch: {{{ 9 | }}}
|Tibetan Text
|Tibetan Text
|Sanskrit Text
|Sanskrit Text
|Chinese Text
|Chinese Text
|Korean Text=1000
|Korean Text=Text
|400
|Dissertation={{#switch: {{{ 22 | }}}
}} }}
|PhD diss.=PhD Diss
|imageposition=center
|MA These=MA Thesis
|classes=tile-image
}}
}}
|#default={{#if: {{{ watermark | }}}  
<div class="type-icon mt-auto">{{#switch: {{{ 9 | }}}
| {{{ watermark | }}}  
|Tibetan Text
| {{#if: {{{ 9 | }}}  
|Sanskrit Text
| {{{ 9 | }}}  
|Chinese Text
| <span style="color: #000; text-align: center;"><i class="fad fa-book-dead"></i></span>
|Korean Text=Text
}}
|Dissertation={{#switch: {{{ 22 | }}}
|PhD diss.=PhD Diss
|MA These=MA Thesis
}}
|#default={{#if: {{{ watermark | }}}  
| {{{ watermark | }}}  
| {{#if: {{{ 9 | }}}  
| {{{ 9 | }}}  
| <span style="color: #000; text-align: center;"><i class="fad fa-book-dead"></i></span>
}}
}}
}}
}}
}}
</div>
</div>
</div>
</div>
<div class="tile-content">{{#if: {{{ content | }}}
<div class="tile-content">{{#if: {{{ content | }}}
|{{{ content | }}}
|{{{ content | }}}
|{{#ifeq: {{{ 11 | }}}
|{{#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 | }}}
|;
|;
|@@@
|@@@
|{{#show: @@@ |?MainNamePhon }}
|{{#show: @@@ |?MainNamePhon }}
|,&nbsp;
|,&nbsp;
}}: ''{{#if: {{{ 13 | }}}  
}}: ''{{#if: {{{ 13 | }}}  
| {{{ 13 | }}}  
| {{{ 13 | }}}  
| {{#if: {{{ 12 | }}}
| {{#if: {{{ 12 | }}}
| {{{ 12 | }}}
| {{{ 12 | }}}
| {{{ 14 | }}}
| {{{ 14 | }}}
}}
}}
}}''</div>
}}''</div>
|<div class="tile-content-header clipped-2-lines">{{#if: {{{ 23 | }}}  
|<div class="tile-content-header clipped-2-lines">{{#if: {{{ 23 | }}}  
| {{{ 24 | }}} {{{ 23 | }}}  
| {{{ 24 | }}} {{{ 23 | }}}  
| {{#if: {{{ 17 | }}}
| {{#if: {{{ 17 | }}}
| {{{ 17 | }}}
| {{{ 17 | }}}
| {{#if: {{{ 6 | }}}  
| {{#if: {{{ 6 | }}}  
| {{{ 6 | }}}  
| {{{ 6 | }}}  
| {{#if: {{{ 8 | }}}  
| {{#if: {{{ 8 | }}}  
| {{{ 8 | }}}  
| {{{ 8 | }}}  
| {{SUBPAGENAME: {{{ 1 | }}} }}
| {{SUBPAGENAME: {{{ 1 | }}} }}  
}}
}}
}}  
}}  
}}  
}}
}}</div>
}}</div>
}}{{#ifeq: {{{ 10 | }}}  
}}{{#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>
|
|
}}
<hr class="tile-divider">
<div class="tile-description clipped-4-lines">{{{ 15 | }}}</div>
}}
}}
<hr class="tile-divider">
</div>
<div class="tile-description clipped-4-lines">{{{ 15 | }}}</div>
<div class="invisible">{{#arraymap:{{{ invisible | }}};{{BookPeopleSubobjectData|{{{ 1 | }}}}};{{PeopleNames|{{{ 2 | }}};{{{ 4 | }}};{{{ 7 | }}}}};{{PeopleTopicsOtherNames|{{{ 16 | }}}}}
|;
|@@@
|@@@
|;
}}
</div>{{#ifeq: {{{ 1 | }}} | none | | {{#widget:OverlayLink
|link=/index.php/{{urlencode:{{{ 1 | }}}|WIKI}}
|classes=no-classes
|target=_self
|title={{{ 1 | }}}
}}
}}
}}
</div>
</div></noglossary>
<div class="invisible">{{#arraymap:{{{ invisible | }}};{{BookPeopleSubobjectData|{{{ 1 | }}}}};{{PeopleNames|{{{ 2 | }}};{{{ 4 | }}};{{{ 7 | }}}}};{{PeopleTopicsOtherNames|{{{ 16 | }}}}}
</div>
|;
|@@@
|@@@
|;
}}
</div>{{#ifeq: {{{ 1 | }}} | none | | {{#widget:OverlayLink
|link=/index.php/{{urlencode:{{{ 1 | }}}|WIKI}}
|classes=no-classes
|target=_self
|title={{{ 1 | }}}
}}
}}
</div></noglossary>
</includeonly><noinclude>{{TemplateTag}}</noinclude>
</includeonly><noinclude>{{TemplateTag}}</noinclude>

Revision as of 14:14, 10 July 2020