Template:PageTile: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(283 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="bnw-page-tile rounded depth-1 pop-hover mt-2 mb-2 position-relative link-no-border">{{#widget:OverlayLink|link=/index.php/{{{1}}} }}{{#if: {{{10}}}{{{2}}}{{{4}}}{{{5}}}{{{8}}} |
<includeonly><div class="filterable {{{#userparam|col-lg-12}}}">
<div class="float-left mr-3" style="overflow: auto;">{{#if: {{{10}}} |
<div class="bnw-page-tile tsdwiki-pop-off m-2 m-md-3 m-lg-4 position-relative link-no-border">
[[{{{10}}}|100px|link=]]
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
|{{#widget:PersonPageRoundImage|filepath={{#show:{{#if: {{{2}}}  
|src={{filepath:{{{ 18 | }}}|{{#switch: {{{ 9 | }}}
| {{FirstValueOfArray|{{{2}}}|;}}
|Tibetan Text
| {{#if: {{{4}}}  
|Sanskrit Text
| {{FirstValueOfArray|{{{4}}}|;}}
|Chinese Text
| {{#if: {{{5}}}  
|Korean Text=800
| {{FirstValueOfArray|{{{5}}}|;}}
|300
| {{#if: {{{8}}}  
}} }}
| {{FirstValueOfArray|{{{8}}}|;}}
|imageposition=center
|
|classes=tile-image
|styles=none
}}
<div class="type-icon mt-auto">{{#switch: {{{ 9 | }}}
|Tibetan Text
|Sanskrit Text
|Chinese Text
|Korean Text=Text
|Dissertation={{#switch: {{{ 22 | }}}
|PhD diss.=PhD Diss
|MA These
|MA Theses=MA Thesis
}}
|#default={{{ 9 | }}}
}}
</div>
</div>
<div class="tile-content">{{#ifeq: {{{ 11 | }}} | Commentary |
<div class="tile-content-header d-inline clipped-2-lines">{{#if: {{{ 2 | }}}
|{{#arraymap: {{{ 2 | }}}
|;
|@@@
|{{#if: {{#show: People/@@@ |?MainNamePhon }}
| {{#show: People/@@@ |?MainNamePhon }}
| {{#show: @@@ |?MainNamePhon }}
}}
|,&nbsp;
}}:&nbsp;
|
}}''{{#if: {{{ 13 | }}}  
| {{{ 13 | }}}  
| {{#if: {{{ 12 | }}}
| {{{ 12 | }}}
| {{{ 14 | }}}
}}
}}
}}  
}}''
}}  
</div> |
}}|?FirstImageURL#}}
<div class="tile-content-header clipped-2-lines">{{#ifeq: {{{ 9 | }}}  
|size=100px
| Dissertation
|depth=1
| ''{{{ 2 | }}}'':&nbsp;
|link={{{1}}}
|
}}{{#if: {{{ 23 | }}}
| {{{ 24 | }}} {{{ 23 | }}}
| {{#if: {{{ 17 | }}}
| {{{ 17 | }}}
| {{#if: {{{ 6 | }}}
| {{{ 6 | }}}
| {{#if: {{{ 8 | }}}
| {{{ 8 | }}}
| {{SUBPAGENAME: {{{ 1 | }}} }}
}}
}}
}}
}}
</div>
}}{{#ifeq: {{{ 10 | }}} | true |
<div class="tile-fulltext"><i class="fa-sharp-duotone fa-book-open" title="Full text available"></i></div> | }}
<hr class="tile-divider">
<div class="tile-description clipped-4-lines">{{{ 15 | }}}</div>
<div class="tile-citation clipped-4-lines font-italic">{{{ 3 | }}}</div>
</div>
<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> | }}
|link=/index.php/{{urlencode:{{{ 1 | }}}|WIKI}}
<div style="padding-left: 115px;"><b>{{#if: {{{9|}}} | {{{9|}}} | {{SUBPAGENAME: {{{1}}} }} }}</b>{{#if: {{{3}}}
|classes=no-classes
| <br>''{{{3}}}''
|target=_self
| {{#if: {{{6}}}
|title={{{ 1 | }}}
| <br>{{{6}}}
}}  
| {{#if: {{{7}}}
| <br>{{{7}}}
|
}}
}}
}}
}}
</div>
</div>
</div>
</div>
</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 20:56, 12 December 2024