Template:InlinePersonTag: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
m (Text replacement - "images-commons" to "images") |
||
(10 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"> | <div class="inline-person-tag {{#ifeq: {{{ link | }}} | none | | grey-hoverlay }} position-relative d-inline-block nowrap px-1 rounded">{{#widget:PersonPageRoundImage | ||
|filepath={{#if:{{#show:{{{page}}}|?FirstImage}} | |filepath={{#if:{{#show:{{{page}}}|?FirstImage}} | ||
|{{filepath:{{PAGENAME:{{#show:{{{page}}}|?FirstImage}}}}|100}} | |{{filepath:{{PAGENAME:{{#show:{{{page}}}|?FirstImage}}}}|100}} | ||
| | |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- | |classes=d-inline-block align-bottom mr-2 | ||
|linkclasses=noclasses | |linkclasses=noclasses | ||
}}<noglossary>{{#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: | ||
}} | }} | ||
}} | }} | ||
}}</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 | <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> | }} |