Difference between revisions of "Template:InlinePersonTag"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
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">{{#ifeq: {{{ link | }}} | none | | {{#widget:OverlayLink | ||
− | |link=/index.php/{{{ | + | |link=/index.php/{{{page}}} |
|target=_self | |target=_self | ||
− | |title={{{ | + | |title={{{page}}} |
|classes=none | |classes=none | ||
}} }}{{#widget:PersonPageRoundImage | }} }}{{#widget:PersonPageRoundImage | ||
− | |filepath={{#if:{{#show:{{{ | + | |filepath={{#if:{{#show:{{{page}}}|?FirstImage}} |
− | |{{filepath:{{PAGENAME:{{#show:{{{ | + | |{{filepath:{{PAGENAME:{{#show:{{{page}}}|?FirstImage}}}}|100}} |
|http://commons.tsadra.org/images-commons/d/db/Teaching_Mudra_2_reduced_opacity.png | |http://commons.tsadra.org/images-commons/d/db/Teaching_Mudra_2_reduced_opacity.png | ||
}} | }} | ||
|size=25px | |size=25px | ||
|depth=1 | |depth=1 | ||
− | |link={{{ | + | |link={{{page}}} |
|classes=d-inline-block align-sub mr-2 | |classes=d-inline-block align-sub mr-2 | ||
|linkclasses=noclasses | |linkclasses=noclasses | ||
− | }}<noglossary>{{#if: {{{ | + | }}<noglossary>{{#if: {{{text|}}}| |
− | |{{{ | + | |{{{text}}} |
− | |{{#if:{{#show:{{{ | + | |{{#if:{{#show:{{{page}}}|?MainNamePhon }} |
− | | {{#show:{{{ | + | | {{#show:{{{page}}}|?MainNamePhon }} |
− | | {{#if: {{#show:{{{ | + | | {{#if: {{#show:{{{page}}}|?MainNameSkt }} |
− | | {{#show:{{{ | + | | {{#show:{{{page}}}|?MainNameSkt }} |
− | | {{#if: {{#show:{{{ | + | | {{#if: {{#show:{{{page}}}|?MainNameWylie }} |
− | | {{#show:{{{ | + | | {{#show:{{{page}}}|?MainNameWylie }} |
− | | {{#if: {{#show:{{{ | + | | {{#if: {{#show:{{{page}}}|?namelast }} |
− | | {{#show:{{{ | + | | {{#show:{{{page}}}|?namefirst }} {{#show:{{{page}}}|?namelast }} |
− | | {{SUBPAGENAME:{{{ | + | | {{SUBPAGENAME:{{{page}}}}} |
}} | }} | ||
}} | }} | ||
Line 30: | Line 30: | ||
}} | }} | ||
}}</noglossary> | }}</noglossary> | ||
− | </div>{{#if: {{{ | + | </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 col-md-6 d-none" style="z-index: 1090;">{{{2}}}</div> | }} |