Template:PageTile: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 11: Line 11:
</div>
</div>
<div class="float-left mr-3">{{#if: {{{10|}}} | [[{{{10}}}|100px|class=depth-0|link=]]
<div class="float-left mr-3">{{#if: {{{10|}}} | [[{{{10}}}|100px|class=depth-0|link=]]
|{{#if: {{{11|}}}{{{2|}}}{{{4|}}}{{{5|}}}{{{8|}}}{{{12|}}}{{#show:{{{1}}}|?FirstImageURL#}}  
|{{#if: {{{11|}}}{{{2|}}}{{{4|}}}{{{5|}}}{{{8|}}}{{{12|}}}{{#show:{{{1}}}|?FirstImageURL#}}  
| {{#widget:PersonPageRoundImage
| {{#widget:PersonPageRoundImage
|filepath={{#if: {{{11|}}}  
|filepath={{#if: {{{11|}}}  
| {{{11}}}  
| {{{11}}}  
| {{#if: {{{2|}}}  
| {{#if: {{{2|}}}  
| {{#show:{{FirstValueOfArray|{{{2}}}|;}}|?FirstImageURL#}}
| {{#show:{{FirstValueOfArray|{{{2}}}|;}}|?FirstImageURL#}}
| {{#if: {{{4|}}}  
| {{#if: {{{4|}}}  
| {{#show:{{FirstValueOfArray|{{{4}}}|;}}|?FirstImageURL#}}
| {{#show:{{FirstValueOfArray|{{{4}}}|;}}|?FirstImageURL#}}
| {{#if: {{{5|}}}  
| {{#if: {{{5|}}}  
| {{#show:{{FirstValueOfArray|{{{5}}}|;}}|?FirstImageURL#}}
| {{#show:{{FirstValueOfArray|{{{5}}}|;}}|?FirstImageURL#}}
| {{#if: {{{8|}}}  
| {{#if: {{{8|}}}  
| {{#show:{{FirstValueOfArray|{{{8}}}|;}}|?FirstImageURL#}}
| {{#show:{{FirstValueOfArray|{{{8}}}|;}}|?FirstImageURL#}}
| {{#if: {{{12|}}}  
| {{#if: {{{12|}}}  
| {{#show:{{FirstValueOfArray|{{{12}}}|;}}|?FirstImageURL#}}
| {{#show:{{FirstValueOfArray|{{{12}}}|;}}|?FirstImageURL#}}
| {{#if: {{{17|}}}  
| {{#if: {{{17|}}}  
| {{{17}}}  
| {{{17}}}  
| {{filepath:Teaching_Mudra_2_reduced_opacity.png}}  
| {{filepath:Teaching_Mudra_2_reduced_opacity.png}}
}}
}}
}}
}}
}}
}}
}}  
}}  
}}  
}}  
}}
}}
}}
|size=100px
|depth=1
|link={{{1}}}
|linkclasses=&nbsp;
}}
|{{#switch: {{{18}}}
|Tibetan Text
|Sanskrit Text=[[File:Text-tile.png|100px|class=depth-0|link=|]]
|#default=
}}
}}
|size=100px
|depth=1
|link={{{1}}}
|linkclasses=&nbsp;
}}
|{{#switch: {{{18}}}
|Tibetan Text
|Sanskrit Text=[[File:Text-tile.png|100px|class=depth-0|link=|]]
|#default=
}}
}}
}}
}}
}}
<div class="type-icon">{{#switch: {{{18}}}
|Article=Article
|Book=Book
|Audio=Audio
|Video=Video
|Tibetan Text
|Sanskrit Text=Text
|Person=Person
}}
</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 13:37, 4 September 2018