Template:MiniTile: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
m (Text replacement - "images-commons" to "images")
 
(15 intermediate revisions by the same user not shown)
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">
<div class="float-left mr-2 position-relative text-center h-100" style="width: 50px;">
<div class="float-left mr-2 position-relative text-center h-100" style="width: 50px;">{{#widget:PersonPageRoundImage
{{#widget:DivWithBackImg
|filepath={{#if: {{{20|}}}
|src={{#if: {{{10|}}}  
| https://commons.tsadra.org/images/a/a1/Sort-alpha-down-light.png
| {{filepath:{{#titleparts:{{PAGENAME:{{{10}}}}}}}}}  
| {{#if: {{{10|}}}  
| {{#if: {{{19|}}}  
| {{filepath:{{#titleparts:{{PAGENAME:{{{10}}}}}}}}}  
| {{filepath:{{#titleparts:{{PAGENAME:{{{19}}}}}}}|1000}}  
| {{#if: {{{19|}}}  
| {{#switch: {{{18}}}  
| {{filepath:{{#titleparts:{{PAGENAME:{{{19}}}}}}}|1000}}  
| Tibetan Text
| {{#switch: {{{18}}}  
| Sanskrit Text=<div class="text-cover-clip">[[File:Text-tile.png|x50px|class=opac-30|]]</div>
| Tibetan Text={{filepath:Text-tile.png}}
| {{#if: {{{11|}}}{{{2|}}}{{{4|}}}{{{5|}}}{{{8|}}}{{{12|}}}{{{17|}}}{{#show:{{{1}}}|?FirstImageURL#}}  
| Sanskrit Text={{filepath:Sutra.jpg}}
| {{#widget:PersonPageRoundImage
| {{#if: {{{11|}}}{{{2|}}}{{{4|}}}{{{5|}}}{{{8|}}}{{{12|}}}{{{17|}}}{{#show:{{{1}}}|?FirstImageURL#}}  
|filepath={{#if: {{{11|}}}  
| {{#if: {{{11|}}}  
| {{{11}}}  
| {{{11}}}  
| {{#if: {{{2|}}}  
| {{#if: {{{2|}}}  
Line 25: Line 25:
| {{#if: {{{17|}}}  
| {{#if: {{{17|}}}  
| {{{17}}}  
| {{{17}}}  
| {{filepath:Teaching_Mudra_2_reduced_opacity.png}}  
| {{filepath:Teaching_Mudra_2_reduced_opacity.png}}
}}
}}
}}
}}
Line 33: Line 33:
}}
}}
}}
}}
|size=40px
|depth=1
|link={{{1}}}
|linkclasses=&nbsp;
}}
| {{#widget:DivWithBackImgMiniTile
|src=/skins/BuNay/resources/fontawesome/svgs/light/sort-alpha-down.svg
|imageposition=center
|classes=tile-image h-100
}}
}}
}}
}}
Line 47: Line 38:
}}
}}
}}
}}
|size=40px
|depth=1
|link={{{1|}}}
|classes=none
|linkclasses=tile-image
}}
}}
</div>
</div>
<div class="tile-content d-flex align-items-center"><p class="m-0">{{{ userparam | }}}</p></div>
<div class="tile-content d-flex align-items-center"><p class="m-0">{{{ #userparam | }}}</p></div>{{#widget:OverlayLink
|link=/index.php/{{urlencode:{{{1}}}|WIKI}}
|classes=grey-hoverlay
|target=_self
|title={{{1}}}
}}
</div></noglossary>
</div></noglossary>
</includeonly><noinclude>{{TemplateTag}}</noinclude>
</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 14:21, 1 February 2023