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 | ||
|src={{#if: {{{10|}}} | |||
| | | {{filepath:{{#titleparts:{{PAGENAME:{{{10}}}}}}}}} | ||
| {{#if: {{{19|}}} | |||
| {{filepath:{{#titleparts:{{PAGENAME:{{{19}}}}}}}|1000}} | |||
| {{#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 | |||
}} | }} | ||
<div class="type-icon mt-auto">{{#switch: {{{18}}} | <div class="type-icon mt-auto">{{#switch: {{{18}}} |