Difference between revisions of "Template:InlinePersonTag"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
m (Text replacement - "images-commons" to "images") |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="inline-person-tag 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:{{PAGENAME:{{#show:{{{page}}}|?FirstImage}}}}|100}} | |
− | + | |https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | |
− | |||
− | |||
− | |filepath={{#if:{{#show:{{{ | ||
− | |{{filepath:{{PAGENAME:{{#show:{{{ | ||
− | | | ||
}} | }} | ||
|size=25px | |size=25px | ||
|depth=1 | |depth=1 | ||
− | |link={{{ | + | |link={{{page}}} |
− | |classes=d-inline-block align- | + | |classes=d-inline-block align-bottom mr-2 |
|linkclasses=noclasses | |linkclasses=noclasses | ||
− | }}<noglossary>{{#if:{{#show:{{{ | + | }}<noglossary><span class="inline-person-tag-text" {{#ifexist: {{{page}}} | | style="color: rgb(146, 27, 38);" }}>{{#if:{{{text|}}} |
− | + | |{{{text}}} | |
− | + | |{{#if:{{#show:{{{page}}}|?MainNamePhon }} | |
− | + | | {{#show:{{{page}}}|?MainNamePhon }} | |
− | + | | {{#if: {{#show:{{{page}}}|?MainNameSkt }} | |
− | + | | {{#show:{{{page}}}|?MainNameSkt }} | |
− | + | | {{#if: {{#show:{{{page}}}|?MainNameWylie }} | |
− | + | | {{#show:{{{page}}}|?MainNameWylie }} | |
− | + | | {{#if: {{#show:{{{page}}}|?namelast }} | |
+ | | {{#show:{{{page}}}|?namefirst }} {{#show:{{{page}}}|?namelast }} | ||
+ | | {{SUBPAGENAME:{{{page}}}}} | ||
+ | }} | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
− | }}</noglossary> | + | }}</span></noglossary>{{#ifeq: {{{ link | }}} | none | | {{#widget:OverlayLink |
− | </div>{{#if: {{{ | + | |link=/index.php/{{{page}}} |
− | <div class="inline-person-popup position-absolute bnw-panel text-80 depth-1 pt-3 pb-3 | + | |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> | }} |