Template:CustomTile: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 4: Line 4:
|content=
|content=
|wrapperClasses=
|wrapperClasses=
|link=
|watermark=
}}
}}


Line 9: Line 11:


<includeonly><noglossary><div class="filterable {{{ wrapperClasses | }}}">
<includeonly><noglossary><div class="filterable {{{ wrapperClasses | }}}">
<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="bnw-page-tile rounded pop-hover mt-1 mb-4 position-relative link-no-border">{{#if: {{{ link | }}} | {{#widget:OverlayLink|link={{{ link | }}}|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;">{{#if: {{{ rectImage | }}}  
|{{#if: {{{ rectImage | }}}
| [[{{{ rectImage | }}}|100px|class=depth-0|link=]]
| <div class="text-cover-clip d-inline-block">[[{{{ rectImage | }}} |class=text-cover-tile|]]</div>
| {{#if: {{{ roundImage | }}}
| {{#switch: {{{18}}}
| {{#widget:PersonPageRoundImage
| Tibetan Text
|filepath={{filepath:{{PAGENAME:{{{ roundImage | }}}}}}}
| Sanskrit Text=<div class="text-cover-clip">[[File:Text-tile.png|x130px|class=opac-30|]]</div>
|size=100px
| {{#if: {{{11|}}}{{{2|}}}{{{4|}}}{{{5|}}}{{{8|}}}{{{12|}}}{{{17|}}}{{#show:{{{1}}}|?FirstImageURL#}}
|depth=1
| {{#widget:PersonPageRoundImage
|link={{{1}}}
|filepath={{#if: {{{11|}}}
|linkclasses=&nbsp;
| {{{11}}}
| {{#if: {{{2|}}}  
| {{#show:{{FirstValueOfArray|{{{2}}}|;}}|?FirstImageURL#}}
| {{#if: {{{4|}}}
| {{#show:{{FirstValueOfArray|{{{4}}}|;}}|?FirstImageURL#}}
| {{#if: {{{5|}}}
| {{#show:{{FirstValueOfArray|{{{5}}}|;}}|?FirstImageURL#}}
| {{#if: {{{8|}}}
| {{#show:{{FirstValueOfArray|{{{8}}}|;}}|?FirstImageURL#}}
| {{#if: {{{12|}}}
| {{#show:{{FirstValueOfArray|{{{12}}}|;}}|?FirstImageURL#}}
| {{#if: {{{17|}}}
| {{{17}}}
| {{filepath:Teaching_Mudra_2_reduced_opacity.png}}
}}
}}
}}
}}
}}
}}
}}
|size=100px
|depth=1
|link={{{1}}}
|linkclasses=&nbsp;
}}
|
}}
}}
}}
|
}}
}}
}}
}}
<div class="type-icon mt-auto">{{#switch: {{{18}}}
<div class="type-icon mt-auto">{{{ watermark | }}}</div>
|Article=Article
|Book=Book
|Audio=Audio
|Video=Video
|Tibetan Text
|Sanskrit Text=Text
|Person=Person
|Interview=Interview
|Dissertation={{#switch:{{#show:{{{1}}}|?subclass}}
|PhD diss.=PhD Diss
|MA These=MA Thesis
}}
}}
</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}}  

Revision as of 14:45, 28 September 2018

Template loop detected: Template:CustomTile