Template:CustomTile: 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="filterable {{{userparam|col-lg-12}}}">
<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="bnw-page-tile rounded pop-hover mt-1 mb-4 position-relative link-no-border">{{#widget:OverlayLink|link=/index.php/{{urlencode:{{{1}}}|WIKI}}|classes=}}
|{{#if: {{{19|}}}  
<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="text-cover-clip {{#switch: {{#show:{{{1}}}|?CoverFileOrient}}
|{{#if: {{{19|}}}  
|portrait (book)=d-inline-block
| <div class="text-cover-clip {{#switch: {{#show:{{{1}}}|?CoverFileOrient}}
|d-flex justify-content-center
|portrait (book)=d-inline-block
}}">[[{{{19|}}}|class=text-cover-tile|]]</div>  
|d-flex justify-content-center
| {{#switch: {{{18}}}  
}}">[[{{{19|}}}|class=text-cover-tile|]]</div>  
| Tibetan Text
| {{#switch: {{{18}}}  
| Sanskrit Text=<div class="text-cover-clip">[[File:Text-tile.png|x130px|class=opac-30|]]</div>
| Tibetan Text
| {{#if: {{{11|}}}{{{2|}}}{{{4|}}}{{{5|}}}{{{8|}}}{{{12|}}}{{{17|}}}{{#show:{{{1}}}|?FirstImageURL#}}  
| Sanskrit Text=<div class="text-cover-clip">[[File:Text-tile.png|x130px|class=opac-30|]]</div>
| {{#widget:PersonPageRoundImage
| {{#if: {{{11|}}}{{{2|}}}{{{4|}}}{{{5|}}}{{{8|}}}{{{12|}}}{{{17|}}}{{#show:{{{1}}}|?FirstImageURL#}}  
|filepath={{#if: {{{11|}}}  
| {{#widget:PersonPageRoundImage
| {{{11}}}  
|filepath={{#if: {{{11|}}}  
| {{#if: {{{2|}}}  
| {{{11}}}  
| {{#show:{{FirstValueOfArray|{{{2}}}|;}}|?FirstImageURL#}}
| {{#if: {{{2|}}}  
| {{#if: {{{4|}}}  
| {{#show:{{FirstValueOfArray|{{{2}}}|;}}|?FirstImageURL#}}
| {{#show:{{FirstValueOfArray|{{{4}}}|;}}|?FirstImageURL#}}
| {{#if: {{{4|}}}  
| {{#if: {{{5|}}}  
| {{#show:{{FirstValueOfArray|{{{4}}}|;}}|?FirstImageURL#}}
| {{#show:{{FirstValueOfArray|{{{5}}}|;}}|?FirstImageURL#}}
| {{#if: {{{5|}}}  
| {{#if: {{{8|}}}  
| {{#show:{{FirstValueOfArray|{{{5}}}|;}}|?FirstImageURL#}}
| {{#show:{{FirstValueOfArray|{{{8}}}|;}}|?FirstImageURL#}}
| {{#if: {{{8|}}}  
| {{#if: {{{12|}}}  
| {{#show:{{FirstValueOfArray|{{{8}}}|;}}|?FirstImageURL#}}
| {{#show:{{FirstValueOfArray|{{{12}}}|;}}|?FirstImageURL#}}
| {{#if: {{{12|}}}  
| {{#if: {{{17|}}}  
| {{#show:{{FirstValueOfArray|{{{12}}}|;}}|?FirstImageURL#}}
| {{{17}}}  
| {{#if: {{{17|}}}  
| {{filepath:Teaching_Mudra_2_reduced_opacity.png}}  
| {{{17}}}  
| {{filepath:Teaching_Mudra_2_reduced_opacity.png}}
}}
}}
}}
}}
}}
}}
}}  
}}  
}}  
}}  
}}
}}
}}
|size=100px
|depth=1
|link={{{1}}}
|linkclasses=&nbsp;
}}
}}
|size=100px
|
|depth=1
|link={{{1}}}
|linkclasses=&nbsp;
}}
}}
|
}}
}}
}}
}}
}}
}}
}}
<div class="type-icon mt-auto">{{#switch: {{{18}}}
<div class="type-icon mt-auto">{{#switch: {{{18}}}
|Article=Article
|Article=Article
|Book=Book
|Book=Book
|Audio=Audio
|Audio=Audio
|Video=Video
|Video=Video
|Tibetan Text
|Tibetan Text
|Sanskrit Text=Text
|Sanskrit Text=Text
|Person=Person
|Person=Person
|Interview=Interview
|Interview=Interview
|Dissertation={{#switch:{{#show:{{{1}}}|?subclass}}
|Dissertation={{#switch:{{#show:{{{1}}}|?subclass}}
|PhD diss.=PhD Diss
|PhD diss.=PhD Diss
|MA These=MA Thesis
|MA These=MA Thesis
}}
}}
}}
}}
</div>
</div>
</div>
</div>
<div class="tile-content"><span class="font-weight-bold">{{#if: {{#show:{{{1}}}|?namelast}}  
<div class="tile-content"><span class="font-weight-bold">{{#if: {{#show:{{{1}}}|?namelast}}  
| {{#show:{{{1}}}|?namefirst}} {{#show:{{{1}}}|?namelast}}  
| {{#show:{{{1}}}|?namefirst}} {{#show:{{{1}}}|?namelast}}  
| {{#if: {{{9|}}}  
| {{#if: {{{9|}}}  
| {{{9}}}  
| {{{9}}}  
| {{#if: {{{13|}}}  
| {{#if: {{{13|}}}  
| {{{13}}}  
| {{{13}}}  
| {{SUBPAGENAME: {{{1}}} }}
| {{SUBPAGENAME: {{{1}}} }}  
}}  
}}  
}}  
}}
}}</span>{{#if: {{{3|}}}
}}</span>{{#if: {{{3|}}}
| <div class="font-italic">{{{3}}}</div>
| <div class="font-italic">{{{3}}}</div>
| {{#if: {{{6|}}}
| {{#if: {{{6|}}}
| <br>{{{6}}}
| <br>{{{6}}}
| {{#if: {{{7|}}}
| {{#if: {{{7|}}}
| <br>{{{7}}}
| <br>{{{7}}}
| {{#if: {{{14|}}}
| {{#if: {{{14|}}}
| <br>{{{14}}}
| <br>{{{14}}}
| {{#if: {{{15|}}}
| {{#if: {{{15|}}}
|<br>{{{15}}}
|<br>{{{15}}}
| {{#if: {{{16|}}}
| {{#if: {{{16|}}}
|<br>{{{16}}}
|<br>{{{16}}}
|
|
}}
}}
}}
}}
}}
Line 86: Line 88:
}}
}}
}}
}}
}}
<div class="bottom-fade"></div>
<div class="bottom-fade"></div>
</div>
</div>
</div>
</div></noglossary></includeonly><noinclude>{{TemplateTag}}</noinclude>
</div></noglossary></includeonly><noinclude>{{TemplateTag}}</noinclude>

Revision as of 13:42, 28 September 2018