Template:PageTile: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(75 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><noglossary><div class="bnw-page-tile pop-hover mt-1 mb-3 position-relative link-no-border">{{#ifeq: {{{1}}} | none | | {{#widget:OverlayLink
<includeonly><div class="filterable {{{#userparam|col-lg-12}}}">
|link=/index.php/{{urlencode:{{{1}}}|WIKI}}
<div class="bnw-page-tile tsdwiki-pop-off m-2 m-md-3 m-lg-4 position-relative link-no-border">
|classes=no-classes
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
|target=_self
|src={{filepath:{{{ 18 | }}}|{{#switch: {{{ 9 | }}}
|title={{{1}}}
|Tibetan Text
}} }}
|Sanskrit Text
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
|Chinese Text
|src={{#if: {{{10|}}}  
|Korean Text=800
| {{filepath:{{#titleparts:{{PAGENAME:{{{10}}}}}}}}}
|300
| {{#if: {{{19|}}}  
}} }}
| {{filepath:{{#titleparts:{{PAGENAME:{{{19}}}}}}}|1000}}
|imageposition=center
| {{#if: {{{24|}}}
|classes=tile-image
| {{filepath:{{#titleparts:{{PAGENAME:{{{24}}}}}}}}}
|styles=none
| {{#switch: {{{18}}}
| Tibetan Text={{filepath:Text-tile.png}}
| Sanskrit Text={{filepath:Sutra.jpg}}
| Chinese Text=http://commons.tsadra.org/images-commons/thumb/8/81/Handwritten_diamond_sutra_zhang_jizhi_song_dynasty_1253.jpg/800px-Handwritten_diamond_sutra_zhang_jizhi_song_dynasty_1253.jpg
| {{#if: {{{11|}}}{{{2|}}}{{{4|}}}{{{5|}}}{{{8|}}}{{{12|}}}{{{17|}}}{{#show:{{{1}}}|?FirstImageURL#}}
| {{#if: {{{11|}}}
| {{{11}}}
| {{#if: {{{2|}}}  
| {{#show:{{FirstValueOfArray|{{{2}}}|;}}|?FirstImageURL#}}
| {{#if: {{{4|}}}
| {{#show:{{FirstValueOfArray|{{{4}}}|;}}|?FirstImageURL#}}
| {{#if: {{{5|}}}
| {{#show:{{FirstValueOfArray|{{{5}}}|;}}|?FirstImageURL#}}
| {{#if: {{{8|}}}
| {{#show:{{FirstValueOfArray|{{{8}}}|;}}|?FirstImageURL#}}
| {{#if: {{{12|}}}
| {{#show:{{FirstValueOfArray|{{{12}}}|;}}|?FirstImageURL#}}
| {{#if: {{{17|}}}
| {{{17}}}
| {{filepath:Teaching_Mudra_2_reduced_opacity.png|200}}
}}
}}
}}
}}
}}
}}
}}
|
}}
}}
}}
}}
}}
}}
|imageposition=center
<div class="type-icon mt-auto">{{#switch: {{{ 9 | }}}
|classes=tile-image
|Tibetan Text
}}
|Sanskrit Text
<div class="type-icon mt-auto">{{#switch: {{{18}}}
|Chinese Text
|Tibetan Text
|Korean Text=Text
|Sanskrit Text
|Dissertation={{#switch: {{{ 22 | }}}
|Chinese Text
|PhD diss.=PhD Diss
|Korean Text=Text
|MA These
|Dissertation={{#switch:{{#show:{{{1}}}|?subclass}}
|MA Theses=MA Thesis
|PhD diss.=PhD Diss
|MA These=MA Thesis
}}
|#default={{#if: {{{ watermark | }}}
| {{{ watermark | }}}
| {{#if: {{{18}}}
| {{{18}}}
| <i class="fad fa-book-dead fa-lg"></i>
}}
}}
|#default={{{ 9 | }}}
}}
}}
}}
</div>
</div>
</div>
</div>
<div class="tile-content">{{#ifeq: {{{ 11 | }}} | Commentary |
<div class="tile-content">{{#if: {{{ content | }}}
<div class="tile-content-header d-inline clipped-2-lines">{{#if: {{{ 2 | }}}
|{{{ content | }}}
|{{#arraymap: {{{ 2 | }}}
|{{#ifeq: {{{21|}}}
|;
|Commentary
|@@@
|<div class="tile-content-header d-inline clipped-2-lines">{{#arraymap: {{{2}}}
|{{#if: {{#show: People/@@@ |?MainNamePhon }}
|;
| {{#show: People/@@@ |?MainNamePhon }}
|@@@
| {{#show: @@@ |?MainNamePhon }}
|{{#show: @@@ |?MainNamePhon }}
|,&nbsp;
}}: ''{{#if: {{{25|}}}  
| {{{25|}}}
| {{#if: {{{22|}}}
| {{{22|}}}
| {{{26|}}}
}}
}}''</div>
|<div class="tile-content-header clipped-2-lines">{{#if: {{#show:{{{1}}}|?namelast}}  
| {{#show:{{{1}}}|?namefirst}} {{#show:{{{1}}}|?namelast}}
| {{#if: {{{9|}}}
| {{{9}}}
| {{#if: {{{13|}}}
| {{{13}}}
| {{SUBPAGENAME: {{{1}}} }}
}}
}}
}}</div>
}}{{#ifeq: {{{20|}}}
| true
|<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">{{#if: {{{27|}}}
| {{{27|}}}
| {{#if: {{{6|}}}
|{{{6}}}
|{{#if: {{{7|}}}
|{{{7}}}
|{{#if: {{{14|}}}
|{{{14}}}
|{{#if: {{{15|}}}
|{{{15}}}
|{{#if: {{{16|}}}
|{{{16}}}
|{{#if: {{{23|}}}
|{{{23}}}
|{{#if: {{{3|}}}
|<div class="font-italic">{{{3}}}</div>
|
}}
}}
}}
}}
}}
|,&nbsp;
}}:&nbsp;
|
}}''{{#if: {{{ 13 | }}}
| {{{ 13 | }}}
| {{#if: {{{ 12 | }}}
| {{{ 12 | }}}
| {{{ 14 | }}}
}}
}}
}}''
</div> |
<div class="tile-content-header clipped-2-lines">{{#ifeq: {{{ 9 | }}}
| Dissertation
| ''{{{ 2 | }}}'':&nbsp;
|
}}{{#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>
}}
</div>{{#ifeq: {{{ 1 | }}} | none | | {{#widget:OverlayLink
|link=/index.php/{{urlencode:{{{ 1 | }}}|WIKI}}
|classes=no-classes
|target=_self
|title={{{ 1 | }}}
}}
}}
}}
</div>
</div>
<div class="invisible">{{{3|}}} {{{13|}}} {{#ask: [[{{{1}}}]]
</div>
|?Fulltitlechn
|?Fulltitledev
|?Fulltitleskt
|?Fulltitletib
|?Fulltitletrans
|?Fulltitle
}}</div>
</div></noglossary>
</includeonly><noinclude>{{TemplateTag}}</noinclude>
</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 04:52, 16 August 2024