Difference between revisions of "Template:InlinePersonTag"

From Buddha-Nature
((by SublimeText.Mediawiker))
m (Text replacement - "images-commons" to "images")
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="grey-hoverlay link-no-border position-relative d-inline-block {{{userparam|}}} nowrap">{{#widget:OverlayLink
+
<div class="inline-person-tag {{#ifeq: {{{ link | }}} | none | | grey-hoverlay }} position-relative d-inline-block nowrap px-1 rounded">{{#widget:PersonPageRoundImage
|link=/index.php/{{{1}}}
+
|filepath={{#if:{{#show:{{{page}}}|?FirstImage}}
|target=_self
+
|{{filepath:{{PAGENAME:{{#show:{{{page}}}|?FirstImage}}}}|100}}
|title={{{1}}}
+
|https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png
|classes=none
 
}}{{#widget:PersonPageRoundImage
 
|filepath={{#if:{{{5}}}
 
|{{filepath:{{PAGENAME:{{{5}}}}}|100}}
 
|http://commons.tsadra.org/images-commons/d/db/Teaching_Mudra_2_reduced_opacity.png
 
 
}}
 
}}
 
|size=25px
 
|size=25px
 
|depth=1
 
|depth=1
|link={{{1}}}
+
|link={{{page}}}
|classes=d-inline-block align-middle pr-1
+
|classes=d-inline-block align-bottom mr-2
 
|linkclasses=noclasses
 
|linkclasses=noclasses
}}<noglossary>{{#if:{{{2}}}
+
}}<noglossary><span class="inline-person-tag-text" {{#ifexist: {{{page}}} | | style="color: rgb(146, 27, 38);" }}>{{#if:{{{text|}}}
| {{{2}}}
+
|{{{text}}}
| {{#if: {{{3}}}  
+
|{{#if:{{#show:{{{page}}}|?MainNamePhon }}
| {{{3}}}  
+
| {{#show:{{{page}}}|?MainNamePhon }}
| {{#if: {{{4}}}  
+
| {{#if: {{#show:{{{page}}}|?MainNameSkt }}  
| {{{4}}}  
+
| {{#show:{{{page}}}|?MainNameSkt }}  
| {{#if: {{{6}}}  
+
| {{#if: {{#show:{{{page}}}|?MainNameWylie }}
| {{{7}}} {{{6}}}
+
| {{#show:{{{page}}}|?MainNameWylie }}  
| {{SUBPAGENAME:{{{1}}}}}
+
| {{#if: {{#show:{{{page}}}|?namelast }}  
 +
| {{#show:{{{page}}}|?namefirst }} {{#show:{{{page}}}|?namelast }}
 +
| {{SUBPAGENAME:{{{page}}}}}
 +
}}
 
}}
 
}}
 
}}
 
}}
 
}}
 
}}
}}</noglossary>
+
}}</span></noglossary>{{#ifeq: {{{ link | }}} | none | | {{#widget:OverlayLink
</div>
+
|link=/index.php/{{{page}}}
 +
|target=_self
 +
|title={{SUBPAGENAME:{{{page}}}}}
 +
|classes=none
 +
}} }}
 +
</div>{{#if: {{{minibio|}}} |
 +
<div class="inline-person-popup position-absolute bnw-panel text-80 depth-1 pt-3 pb-3 d-none" style="z-index: 1090;">{{{2}}}</div> | }}

Latest revision as of 14:21, 1 February 2023