Difference between revisions of "Template:MiniTile"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
 
<includeonly><noglossary><div class="bnw-mini-tile position-relative link-no-border">{{#widget:OverlayLink|link=/index.php/{{urlencode:{{{1}}}|WIKI}}|classes=grey-hoverlay}}
 
<includeonly><noglossary><div class="bnw-mini-tile position-relative link-no-border">{{#widget:OverlayLink|link=/index.php/{{urlencode:{{{1}}}|WIKI}}|classes=grey-hoverlay}}
 
<div class="float-left mr-2 position-relative text-center h-100" style="width: 50px;">{{#widget:PersonPageRoundImage
 
<div class="float-left mr-2 position-relative text-center h-100" style="width: 50px;">{{#widget:PersonPageRoundImage
|filepath={{#if: {{{10|}}}  
+
|filepath={{#if: {{{20|}}}
| {{filepath:{{#titleparts:{{PAGENAME:{{{10}}}}}}}}}  
+
| http://commons.tsadra.org/images-commons/a/a1/Sort-alpha-down-light.png
| {{#if: {{{19|}}}  
+
| {{#if: {{{10|}}}  
| {{filepath:{{#titleparts:{{PAGENAME:{{{19}}}}}}}|1000}}  
+
| {{filepath:{{#titleparts:{{PAGENAME:{{{10}}}}}}}}}  
| {{#switch: {{{18}}}  
+
| {{#if: {{{19|}}}  
| Tibetan Text={{filepath:Text-tile.png}}
+
| {{filepath:{{#titleparts:{{PAGENAME:{{{19}}}}}}}|1000}}  
| Sanskrit Text={{filepath:Sutra.jpg}}
+
| {{#switch: {{{18}}}  
| {{#if: {{{11|}}}{{{2|}}}{{{4|}}}{{{5|}}}{{{8|}}}{{{12|}}}{{{17|}}}{{#show:{{{1}}}|?FirstImageURL#}}  
+
| Tibetan Text={{filepath:Text-tile.png}}
| {{#if: {{{11|}}}  
+
| Sanskrit Text={{filepath:Sutra.jpg}}
| {{{11}}}  
+
| {{#if: {{{11|}}}{{{2|}}}{{{4|}}}{{{5|}}}{{{8|}}}{{{12|}}}{{{17|}}}{{#show:{{{1}}}|?FirstImageURL#}}  
| {{#if: {{{2|}}}  
+
| {{#if: {{{11|}}}  
| {{#show:{{FirstValueOfArray|{{{2}}}|;}}|?FirstImageURL#}}
+
| {{{11}}}  
| {{#if: {{{4|}}}  
+
| {{#if: {{{2|}}}  
| {{#show:{{FirstValueOfArray|{{{4}}}|;}}|?FirstImageURL#}}
+
| {{#show:{{FirstValueOfArray|{{{2}}}|;}}|?FirstImageURL#}}
| {{#if: {{{5|}}}  
+
| {{#if: {{{4|}}}  
| {{#show:{{FirstValueOfArray|{{{5}}}|;}}|?FirstImageURL#}}
+
| {{#show:{{FirstValueOfArray|{{{4}}}|;}}|?FirstImageURL#}}
| {{#if: {{{8|}}}  
+
| {{#if: {{{5|}}}  
| {{#show:{{FirstValueOfArray|{{{8}}}|;}}|?FirstImageURL#}}
+
| {{#show:{{FirstValueOfArray|{{{5}}}|;}}|?FirstImageURL#}}
| {{#if: {{{12|}}}  
+
| {{#if: {{{8|}}}  
| {{#show:{{FirstValueOfArray|{{{12}}}|;}}|?FirstImageURL#}}
+
| {{#show:{{FirstValueOfArray|{{{8}}}|;}}|?FirstImageURL#}}
| {{#if: {{{17|}}}  
+
| {{#if: {{{12|}}}  
| {{{17}}}  
+
| {{#show:{{FirstValueOfArray|{{{12}}}|;}}|?FirstImageURL#}}
| {{#if: {{{20|}}}
+
| {{#if: {{{17|}}}  
| http://commons.tsadra.org/images-commons/a/a1/Sort-alpha-down-light.png
+
| {{{17}}}  
| {{filepath:Teaching_Mudra_2_reduced_opacity.png}}  
+
| {{filepath:Teaching_Mudra_2_reduced_opacity.png}}
 
}}
 
}}
 
}}
 
}}
 
}}
 
}}
}}
+
}}  
 
}}  
 
}}  
}}  
+
}}
 
}}
 
}}
 
}}
 
}}

Revision as of 15:22, 10 May 2019