Difference between revisions of "Template:PageTile"

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={{#if: {{{ 32 | }}}
+
|src={{filepath:{{{ 32 | }}}|400}}
| {{filepath:{{{ 32 | }}}|200}}
 
| {{#if: {{{ 10 | }}}
 
| {{filepath:{{#titleparts:{{PAGENAME:{{{ 10 | }}}}}}}|200}}
 
| {{#if: {{{ 19 | }}}
 
| {{filepath:{{#titleparts:{{PAGENAME:{{{ 19 | }}}}}}}|500}}
 
| {{#if: {{{ 24 | }}}
 
| {{filepath:{{#titleparts:{{PAGENAME:{{{ 24 | }}}}}}}|200}}
 
| {{#switch: {{{ 18 | }}}
 
| Tibetan Text={{filepath:Text-tile.png|400}}
 
| Sanskrit Text={{filepath:Sutra.jpg|400}}
 
| Chinese Text=https://commons.tsadra.org/images-commons/thumb/8/81/Handwritten_diamond_sutra_zhang_jizhi_song_dynasty_1253.jpg/320px-Handwritten_diamond_sutra_zhang_jizhi_song_dynasty_1253.jpg
 
| {{#if: {{{ 11 | }}}{{{ 2 | }}}{{{ 4 | }}}{{{ 5 | }}}{{{ 8 | }}}{{{ 12 | }}}{{{ 17 | }}}{{#show:{{{ 1 | }}}|?FirstImage#}}
 
| {{#if: {{{ 11 | }}}
 
| {{{ 11 | }}}
 
| {{#if: {{{ 2 | }}}
 
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 2 | }}}|;}}|?FirstImage#}}}}}}|200}}
 
| {{#if: {{{ 4 | }}}
 
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 4 | }}}|;}}|?FirstImage#}}}}}}|200}}
 
| {{#if: {{{ 5 | }}}
 
| {{#ifexist: {{FirstValueOfArray|{{{ 5 | }}}|;}}
 
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 5 | }}}|;}}|?FirstImage#}}}}}}|200}}
 
| {{filepath:Teaching_Mudra_2_reduced_opacity.png|200}}
 
}}
 
| {{#if: {{{ 8 | }}}
 
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 8 | }}}|;}}|?FirstImage#}}}}}}|200}}
 
| {{#if: {{{ 12 | }}}
 
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 12 | }}}|;}}|?FirstImage#}}}}}}|200}}
 
| {{#if: {{{ 17 | }}}
 
| {{{ 17 | }}}
 
| {{filepath:Teaching_Mudra_2_reduced_opacity.png|200}}
 
}}
 
}}
 
}}
 
}}
 
}}
 
}}
 
}}
 
|
 
}}
 
}}
 
}}
 
}}
 
}}
 
}}
 
 
|imageposition=center
 
|imageposition=center
 
|classes=tile-image
 
|classes=tile-image
Line 54: Line 10:
 
|Chinese Text
 
|Chinese Text
 
|Korean Text=Text
 
|Korean Text=Text
|Dissertation={{#switch:{{#show:{{{ 1 | }}}|?subclass}}
+
|Dissertation={{#switch: {{{ 36 | }}}
 
|PhD diss.=PhD Diss
 
|PhD diss.=PhD Diss
 
|MA These=MA Thesis
 
|MA These=MA Thesis

Revision as of 11:26, 10 July 2020