Template:PageTile: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 2: Line 2:
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
|src={{#if: {{{ 10 | }}}  
|src={{#if: {{{ 10 | }}}  
| {{filepath:{{#titleparts:{{PAGENAME:{{{ 10 | }}}}}}}|400}}  
| {{filepath:{{#titleparts:{{PAGENAME:{{{ 10 | }}}}}}}|250}}  
| {{#if: {{{ 19 | }}}  
| {{#if: {{{ 19 | }}}  
| {{filepath:{{#titleparts:{{PAGENAME:{{{ 19 | }}}}}}}|400}}  
| {{filepath:{{#titleparts:{{PAGENAME:{{{ 19 | }}}}}}}|250}}  
| {{#if: {{{ 24 | }}}
| {{#if: {{{ 24 | }}}
| {{filepath:{{#titleparts:{{PAGENAME:{{{ 24 | }}}}}}}|400}}  
| {{filepath:{{#titleparts:{{PAGENAME:{{{ 24 | }}}}}}}|250}}  
| {{#switch: {{{ 18 | }}}  
| {{#switch: {{{ 18 | }}}  
| Tibetan Text={{filepath:Text-tile.png|400}}
| Tibetan Text={{filepath:Text-tile.png|250}}
| Sanskrit Text={{filepath:Sutra.jpg|400}}
| Sanskrit Text={{filepath:Sutra.jpg|250}}
| Chinese Text=https://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
| Chinese Text=https://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 | }}}{{{ 2 | }}}{{{ 4 | }}}{{{ 5 | }}}{{{ 8 | }}}{{{ 12 | }}}{{{ 17 | }}}{{#show:{{{ 1 | }}}|?FirstImage#}}  
| {{#if: {{{ 11 | }}}  
| {{#if: {{{ 11 | }}}  
| {{{ 11 | }}}  
| {{{ 11 | }}}  
| {{#if: {{{ 2 | }}}  
| {{#if: {{{ 2 | }}}  
| {{#show:{{FirstValueOfArray|{{{ 2 | }}}|;}}|?FirstImageURL#}}
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 2 | }}}|;}}|?FirstImage#}}}}}}|250}}
| {{#if: {{{ 4 | }}}  
| {{#if: {{{ 4 | }}}  
| {{#show:{{FirstValueOfArray|{{{ 4 | }}}|;}}|?FirstImageURL#}}
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 4 | }}}|;}}|?FirstImage#}}}}}}|250}}
| {{#if: {{{ 5 | }}}  
| {{#if: {{{ 5 | }}}  
| {{#show:{{FirstValueOfArray|{{{ 5 | }}}|;}}|?FirstImageURL#}}
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 5 | }}}|;}}|?FirstImage#}}}}}}|250}}
| {{#if: {{{ 8 | }}}  
| {{#if: {{{ 8 | }}}  
| {{#show:{{FirstValueOfArray|{{{ 8 | }}}|;}}|?FirstImageURL#}}
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 8 | }}}|;}}|?FirstImage#}}}}}}|250}}
| {{#if: {{{ 12 | }}}  
| {{#if: {{{ 12 | }}}  
| {{#show:{{FirstValueOfArray|{{{ 12 | }}}|;}}|?FirstImageURL#}}
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 12 | }}}|;}}|?FirstImage#}}}}}}|250}}
| {{#if: {{{ 17 | }}}  
| {{#if: {{{ 17 | }}}  
| {{{ 17 | }}}  
| {{{ 17 | }}}  
| {{filepath:Teaching_Mudra_2_reduced_opacity.png|400}}  
| {{filepath:Teaching_Mudra_2_reduced_opacity.png|250}}  
}}
}}
}}
}}

Revision as of 11:33, 4 June 2020