Template:PageTile: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="filterable {{{#userparam|col-lg-12}}} noglossary"><noglossary>
<includeonly><div class="filterable {{{#userparam|col-lg-12}}}">
<div class="bnw-page-tile pop-hover mt-1 mb-3 position-relative link-no-border">
<div class="bnw-page-tile tsdwiki-pop-off m-2 m-md-3 m-lg-4 position-relative link-no-border">
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
|src={{filepath:{{{ 18 | }}}|{{#switch: {{{ 9 | }}}
|src={{filepath:{{{ 18 | }}}|{{#switch: {{{ 9 | }}}
Line 6: Line 6:
|Sanskrit Text
|Sanskrit Text
|Chinese Text
|Chinese Text
|Korean Text=1000
|Korean Text=800
|400
|300
}} }}
}} }}
|imageposition=center
|imageposition=center
|classes=tile-image
|classes=tile-image
|styles=none
}}
}}
<div class="type-icon mt-auto">{{#switch: {{{ 9 | }}}
<div class="type-icon mt-auto">{{#switch: {{{ 9 | }}}
Line 19: Line 20:
|Dissertation={{#switch: {{{ 22 | }}}
|Dissertation={{#switch: {{{ 22 | }}}
|PhD diss.=PhD Diss
|PhD diss.=PhD Diss
|MA These=MA Thesis
|MA These
}}
|MA Theses=MA Thesis
|#default={{#if: {{{ 9 | }}}
| {{{ 9 | }}}
| <span style="color: #000; text-align: center;"><i class="fad fa-book-dead"></i></span>
}}
}}
|#default={{{ 9 | }}}
}}
}}
</div>
</div>
</div>
</div>
<div class="tile-content">{{#ifeq: {{{ 11 | }}} | Commentary |
<div class="tile-content">{{#ifeq: {{{ 11 | }}} | Commentary |
<div class="tile-content-header d-inline clipped-2-lines">{{#arraymap: {{{ 2 | }}}
<div class="tile-content-header d-inline clipped-2-lines">{{#if: {{{ 2 | }}}
|;
|{{#arraymap: {{{ 2 | }}}
|@@@
|;
|{{#show: @@@ |?MainNamePhon }}
|@@@
|,&nbsp;
|{{#if: {{#show: People/@@@ |?MainNamePhon }}
}}: ''{{#if: {{{ 13 | }}}  
| {{#show: People/@@@ |?MainNamePhon }}
| {{#show: @@@ |?MainNamePhon }}
}}
|,&nbsp;
}}:&nbsp;
|
}}''{{#if: {{{ 13 | }}}  
| {{{ 13 | }}}  
| {{{ 13 | }}}  
| {{#if: {{{ 12 | }}}
| {{#if: {{{ 12 | }}}
Line 42: Line 47:
}}''
}}''
</div> |  
</div> |  
<div class="tile-content-header clipped-2-lines">{{#if: {{{ 23 | }}}  
<div class="tile-content-header clipped-2-lines">{{#ifeq: {{{ 9 | }}}
| Dissertation
| ''{{{ 2 | }}}'':&nbsp;
|
}}{{#if: {{{ 23 | }}}  
| {{{ 24 | }}} {{{ 23 | }}}  
| {{{ 24 | }}} {{{ 23 | }}}  
| {{#if: {{{ 17 | }}}
| {{#if: {{{ 17 | }}}
Line 57: Line 66:
</div>
</div>
}}{{#ifeq: {{{ 10 | }}} | true |  
}}{{#ifeq: {{{ 10 | }}} | true |  
<div class="tile-fulltext"><i class="fal fa-book-open" title="Full text available"></i></div> | }}
<div class="tile-fulltext"><i class="fa-sharp-duotone fa-book-open" title="Full text available"></i></div> | }}
<hr class="tile-divider">
<hr class="tile-divider">
<div class="tile-description clipped-4-lines">{{{ 15 | }}}</div>
<div class="tile-description clipped-4-lines">{{{ 15 | }}}</div>
<div class="tile-citation clipped-4-lines font-italic">{{{ 3 | }}}</div>
</div>
</div>
<div class="invisible">{{#arraymap:{{{ 3 | }}}; {{{ 5 | }}}; {{{ 8 | }}}; {{{ 12 | }}}; {{{ 13 | }}}; {{{ 14 | }}}; {{{ 16 | }}}; {{{ 19 | }}}; {{{ 20 | }}}; {{{ 21 | }}}; {{BookPeopleSubobjectData|{{{ 1 | }}}}}; {{PeopleNames|{{{ 2 | }}}; {{{ 4 | }}}; {{{ 7 | }}}}}; {{PeopleTopicsOtherNames|{{{ 16 | }}}}}
<div class="invisible">{{#if: {{{ 25 | }}}
|;
|{{{ 25 | }}}
|@@@
|{{#arraymap:{{{ 3 | }}}; {{{ 5 | }}}; {{{ 8 | }}}; {{{ 12 | }}}; {{{ 13 | }}}; {{{ 14 | }}}; {{{ 16 | }}}; {{{ 19 | }}}; {{{ 20 | }}}; {{{ 21 | }}}; {{BookPeopleSubobjectData|{{{ 1 | }}}}}; {{PeopleNames|{{{ 2 | }}}; {{{ 4 | }}}; {{{ 7 | }}}}}; {{PeopleTopicsOtherNames|{{{ 16 | }}}}}
|@@@
|;
|;
|@@@
|@@@
|;
}}
}}
}}
</div>{{#ifeq: {{{ 1 | }}} | none | | {{#widget:OverlayLink
</div>{{#ifeq: {{{ 1 | }}} | none | | {{#widget:OverlayLink
Line 74: Line 87:
}}  
}}  
}}
}}
</div></noglossary>
</div>
</div>
</div>
</includeonly><noinclude>{{TemplateTag}}</noinclude>
</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 04:52, 16 August 2024