Template:PersonCard: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div class="position-relative border bg | <includeonly><div class="position-relative border border-carnelian offwhite-bg rounded-xl d-flex justify-content-start align-items-center mb-3 p-2">{{#widget:PersonPageRoundImage | ||
|filepath={{#if:{{#show:{{{ 1 | }}}|?FirstImage}} | |filepath={{#if:{{#show:{{{ 1 | }}}|?FirstImage}} | ||
|{{filepath:{{PAGENAME:{{#show:{{{ 1 | }}}|?FirstImage#}} }}|200}} | |{{filepath:{{PAGENAME:{{#show:{{{ 1 | }}}|?FirstImage#}} }}|200}} | ||
| Line 6: | Line 6: | ||
|width=50px | |width=50px | ||
|height=50px | |height=50px | ||
|pt=0 | |||
}} | }} | ||
<div class="text-article">{{#show:{{{ 1 | }}}|?MainNamePhon}}</div>{{#widget:OverlayLink | <div class="text-article ml-3 text-140 clipped-1-lines">{{#if:{{#show:{{{ 1 | }}}|?MainNamePhon}} | ||
|{{#show:{{{ 1 | }}}|?MainNamePhon}} | |||
|{{#if:{{#show:{{{ 1 | }}}|?Orgname}} | |||
|{{#show:{{{ 1 | }}}|?Orgname}} | |||
|{{SUBPAGENAME:{{{ 1 | }}}}} | |||
}} | |||
}}</div>{{#widget:OverlayLink | |||
|link=/index.php/{{{ 1 | }}} | |link=/index.php/{{{ 1 | }}} | ||
|target=_self | |target=_self | ||
|title={{SUBPAGENAME:{{{ 1 | }}}}} | |title={{SUBPAGENAME:{{{ 1 | }}}}} | ||
|classes= | |classes=rounded-xl overflow-hidden pop-hover | ||
}} | }} | ||
</div></includeonly> | </div></includeonly> | ||