Difference between revisions of "Template:InlinePersonTag"

From Buddha-Nature
((by SublimeText.Mediawiker))
m (Text replacement - "images-commons" to "images")
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="grey-hoverlay position-relative d-inline-block nowrap px-1 rounded">{{#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:{{#show:{{{1}}}|?FirstImage}}
 
|{{filepath:{{PAGENAME:{{#show:{{{1}}}|?FirstImage}}}}|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-sub mr-2
+
|classes=d-inline-block align-bottom mr-2
 
|linkclasses=noclasses
 
|linkclasses=noclasses
}}<noglossary>{{#if:{{#show:{{{1}}}|?MainNamePhon }}
+
}}<noglossary><span class="inline-person-tag-text" {{#ifexist: {{{page}}} | | style="color: rgb(146, 27, 38);" }}>{{#if:{{{text|}}}
| {{#show:{{{1}}}|?MainNamePhon }}
+
|{{{text}}}
| {{#if: {{#show:{{{1}}}|?MainNameSkt }}  
+
|{{#if:{{#show:{{{page}}}|?MainNamePhon }}
| {{#show:{{{1}}}|?MainNameSkt }}  
+
| {{#show:{{{page}}}|?MainNamePhon }}
| {{#if: {{#show:{{{1}}}|?MainNameWylie }}  
+
| {{#if: {{#show:{{{page}}}|?MainNameSkt }}  
| {{#show:{{{1}}}|?MainNameWylie }}  
+
| {{#show:{{{page}}}|?MainNameSkt }}  
| {{#if: {{#show:{{{1}}}|?namelast }}  
+
| {{#if: {{#show:{{{page}}}|?MainNameWylie }}  
| {{#show:{{{1}}}|?namefirst }} {{#show:{{{1}}}|?namelast }}
+
| {{#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>{{#if: {{{2|}}} |
+
|link=/index.php/{{{page}}}
<div class="position-absolute bnw-panel text-80 depth-1 pt-3 pb-3 col-md-6">{{{2}}}</div> | }}
+
|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