Difference between revisions of "Template:InlinePersonTag"

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