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">{{#widget:OverlayLink|link=/index.php/{{urlencode:{{{1}}}|WIKI}}|classes=}}
<includeonly><noglossary><div class="bnw-page-tile rounded pop-hover mt-1 mb-4 position-relative link-no-border">{{#widget:OverlayLink|link=/index.php/{{urlencode:{{{1}}}|WIKI}}|classes=}}
<div class="float-left mr-3 position-relative text-center" style="width: 100px; height: 180px;">{{#if: {{{10|}}} | [[{{{10}}}|100px|class=depth-0|link=]]
<div class="float-left mr-3 position-relative text-center" style="width: 100px; height: 180px;">{{#widget:DivWithBackImg
|{{#if: {{{19|}}}  
|src={{#if: {{{10|}}}  
| <div class="text-cover-clip {{#switch: {{#show:{{{1}}}|?CoverFileOrient}}
| {{filepath:{{PAGENAME:{{{10}}}}}|200}}
|portrait (book)=d-inline-block
| {{#if: {{{19|}}}  
|d-flex justify-content-center
| {{filepath:{{PAGENAME:{{{19}}}}}|200}}
}}">[[{{{19|}}}|x200px|class=text-cover-tile|]]</div>
| {{#switch: {{{18}}}  
| {{#switch: {{{18}}}  
| Tibetan Text
| Tibetan Text
| Sanskrit Text={{filepath:Text-tile.png|200}}
| Sanskrit Text=<div class="text-cover-clip">[[File:Text-tile.png|x130px|class=opac-30|]]</div>
| {{#if: {{{11|}}}{{{2|}}}{{{4|}}}{{{5|}}}{{{8|}}}{{{12|}}}{{{17|}}}{{#show:{{{1}}}|?FirstImageURL#}}  
| {{#if: {{{11|}}}{{{2|}}}{{{4|}}}{{{5|}}}{{{8|}}}{{{12|}}}{{{17|}}}{{#show:{{{1}}}|?FirstImageURL#}}  
| {{#if: {{{11|}}}  
| {{#widget:PersonPageRoundImage
|filepath={{#if: {{{11|}}}  
| {{{11}}}  
| {{{11}}}  
| {{#if: {{{2|}}}  
| {{#if: {{{2|}}}  
Line 25: Line 23:
| {{#if: {{{17|}}}  
| {{#if: {{{17|}}}  
| {{{17}}}  
| {{{17}}}  
| {{filepath:Teaching_Mudra_2_reduced_opacity.png|150}}  
| {{filepath:Teaching_Mudra_2_reduced_opacity.png|200}}  
}}
}}
}}
}}
Line 33: Line 31:
}}
}}
}}
}}
|size=100px
|
|depth=1
|link={{{1}}}
|linkclasses=&nbsp;
}}
}}
|
}}
}}
}}
}}
}}
}}
|classes=tile-image
}}
}}
<div class="type-icon mt-auto">{{#switch: {{{18}}}
<div class="type-icon mt-auto">{{#switch: {{{18}}}
|Article=Article
|Article=Article

Revision as of 00:17, 1 February 2019