Template:PageTile: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
<includeonly><noglossary><div class="bnw-page-tile rounded pop-hover mt-1 mb-4 position-relative link-no-border">{{#ifeq: {{{1}}} | none | | {{#widget:OverlayLink|link=/index.php/{{urlencode:{{{1}}}|WIKI}}|classes=no-classes}} }}
<includeonly><noglossary><div class="bnw-page-tile rounded pop-hover mt-1 mb-4 position-relative link-no-border">{{#ifeq: {{{1}}} | none | | {{#widget:OverlayLink|link=/index.php/{{urlencode:{{{1}}}|WIKI}}|classes=no-classes}} }}
<div class="tile-image-wrapper">{{#if: {{{10|}}}  
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
| {{#widget:DivWithBackImg
|src={{#if: {{{10|}}}  
|src={{filepath:{{#titleparts:{{PAGENAME:{{{10}}}}}}}}}
| {{filepath:{{#titleparts:{{PAGENAME:{{{10}}}}}}}}}  
|imageposition=center
| {{#if: {{{19|}}}  
|classes=tile-image
| {{filepath:{{#titleparts:{{PAGENAME:{{{19}}}}}}}|1000}}  
}}
| {{#switch: {{{18}}}  
| {{#if: {{{19|}}}  
| {{#widget:DivWithBackImg
|src={{filepath:{{#titleparts:{{PAGENAME:{{{19}}}}}}}|1000}}
|imageposition=center
|classes=tile-image
}}
| {{#widget:DivWithBackImg
|src={{#switch: {{{18}}}  
| Tibetan Text={{filepath:Text-tile.png}}
| Tibetan Text={{filepath:Text-tile.png}}
| Sanskrit Text={{filepath:Sutra.jpg}}
| Sanskrit Text={{filepath:Sutra.jpg}}
Line 42: Line 34:
}}
}}
}}
}}
|imageposition=center
|classes=tile-image
}}
}}
}}
}}
|imageposition=center
|classes=tile-image
}}
}}
<div class="type-icon mt-auto">{{#switch: {{{18}}}
<div class="type-icon mt-auto">{{#switch: {{{18}}}

Revision as of 23:05, 29 April 2019