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: {{{ 32| }}} | |src={{#if: {{{ 32| }}} | ||
| {{filepath:{{{ 32 | }}}| | | {{filepath:{{{ 32 | }}}|150}} | ||
| {{#if: {{{ 10 | }}} | | {{#if: {{{ 10 | }}} | ||
| {{filepath:{{#titleparts:{{PAGENAME:{{{ 10 | }}}}}}}| | | {{filepath:{{#titleparts:{{PAGENAME:{{{ 10 | }}}}}}}|150}} | ||
| {{#if: {{{ 19 | }}} | | {{#if: {{{ 19 | }}} | ||
| {{filepath:{{#titleparts:{{PAGENAME:{{{ 19 | }}}}}}}| | | {{filepath:{{#titleparts:{{PAGENAME:{{{ 19 | }}}}}}}|150}} | ||
| {{#if: {{{ 24 | }}} | | {{#if: {{{ 24 | }}} | ||
| {{filepath:{{#titleparts:{{PAGENAME:{{{ 24 | }}}}}}}| | | {{filepath:{{#titleparts:{{PAGENAME:{{{ 24 | }}}}}}}|150}} | ||
| {{#switch: {{{ 18 | }}} | | {{#switch: {{{ 18 | }}} | ||
| Tibetan Text={{filepath:Text-tile.png| | | Tibetan Text={{filepath:Text-tile.png|150}} | ||
| Sanskrit Text={{filepath:Sutra.jpg| | | Sanskrit Text={{filepath:Sutra.jpg|150}} | ||
| 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 | | 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 | }}}{{{ 2 | }}}{{{ 4 | }}}{{{ 5 | }}}{{{ 8 | }}}{{{ 12 | }}}{{{ 17 | }}}{{#show:{{{ 1 | }}}|?FirstImage#}} | ||
Line 17: | Line 17: | ||
| {{{ 11 | }}} | | {{{ 11 | }}} | ||
| {{#if: {{{ 2 | }}} | | {{#if: {{{ 2 | }}} | ||
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 2 | }}}|;}}|?FirstImage#}}}}}}| | | {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 2 | }}}|;}}|?FirstImage#}}}}}}|150}} | ||
| {{#if: {{{ 4 | }}} | | {{#if: {{{ 4 | }}} | ||
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 4 | }}}|;}}|?FirstImage#}}}}}}| | | {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 4 | }}}|;}}|?FirstImage#}}}}}}|150}} | ||
| {{#if: {{{ 5 | }}} | | {{#if: {{{ 5 | }}} | ||
| {{#ifexist: {{FirstValueOfArray|{{{ 5 | }}}|;}} | | {{#ifexist: {{FirstValueOfArray|{{{ 5 | }}}|;}} | ||
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 5 | }}}|;}}|?FirstImage#}}}}}}| | | {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 5 | }}}|;}}|?FirstImage#}}}}}}|150}} | ||
| {{filepath:Teaching_Mudra_2_reduced_opacity.png| | | {{filepath:Teaching_Mudra_2_reduced_opacity.png|150}} | ||
}} | }} | ||
| {{#if: {{{ 8 | }}} | | {{#if: {{{ 8 | }}} | ||
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 8 | }}}|;}}|?FirstImage#}}}}}}| | | {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 8 | }}}|;}}|?FirstImage#}}}}}}|150}} | ||
| {{#if: {{{ 12 | }}} | | {{#if: {{{ 12 | }}} | ||
| {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 12 | }}}|;}}|?FirstImage#}}}}}}| | | {{filepath: {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{{ 12 | }}}|;}}|?FirstImage#}}}}}}|150}} | ||
| {{#if: {{{ 17 | }}} | | {{#if: {{{ 17 | }}} | ||
| {{{ 17 | }}} | | {{{ 17 | }}} | ||
| {{filepath:Teaching_Mudra_2_reduced_opacity.png| | | {{filepath:Teaching_Mudra_2_reduced_opacity.png|150}} | ||
}} | }} | ||
}} | }} |